summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/disklabel/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile
index 3f1a95054c1..b97df1ec00b 100644
--- a/sbin/disklabel/Makefile
+++ b/sbin/disklabel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 1999/07/14 23:16:26 deraadt Exp $
+# $OpenBSD: Makefile,v 1.22 2001/01/17 04:23:45 d Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
@@ -7,9 +7,9 @@ LDADD= -lutil
MAN= disklabel.8 disklabel.5
CLEANFILES+=manual.c
-manual.c: disklabel.8
+manual.c: disklabel.cat8
(echo 'char manpage[] = "\\'; \
- nroff -mandoc ${.CURDIR}/disklabel.8 | sed -e 's/$$/\\n\\/' ; \
+ sed -e 's/[\\"]/\\&/g' -e 's/$$/\\n\\/' disklabel.cat8; \
echo '";' ) > manual.c
.if (${MACHINE} == "amiga")