diff options
-rw-r--r-- | sbin/disklabel/Makefile | 4 | ||||
-rw-r--r-- | sbin/fdisk/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile index a431285cd8b..99214573863 100644 --- a/sbin/disklabel/Makefile +++ b/sbin/disklabel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 1997/10/24 02:44:07 millert Exp $ +# $OpenBSD: Makefile,v 1.17 1998/04/25 07:04:45 deraadt Exp $ PROG= disklabel SRCS= disklabel.c dkcksum.c editor.c manual.c @@ -9,7 +9,7 @@ MAN= disklabel.8 disklabel.5 CLEANFILES+=manual.c manual.c: disklabel.cat8 (echo 'char manpage[] = "\\'; \ - sed -e 's/$$/\\n\\/' ${.OBJDIR}/disklabel.cat8; \ + nroff -mandoc ${.CURDIR}/disklabel.8 | sed -e 's/$$/\\n\\/' ; \ echo '";' ) > manual.c .if (${MACHINE} == "amiga") diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile index 56c69a0a68c..04b7af6df3e 100644 --- a/sbin/fdisk/Makefile +++ b/sbin/fdisk/Makefile @@ -1,5 +1,5 @@ # -# $OpenBSD: Makefile,v 1.9 1997/10/16 10:54:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.10 1998/04/25 07:04:44 deraadt Exp $ # # Copyright (c) 1997 Tobias Weingartner # All rights reserved. @@ -39,7 +39,7 @@ MAN= fdisk.8 CLEANFILES+=manual.c manual.c: fdisk.cat8 (echo 'char manpage[] = "\\'; \ - sed -e 's/$$/\\n\\/' ${.OBJDIR}/fdisk.cat8; \ + nroff -mandoc ${.CURDIR}/fdisk.8 | sed -e 's/$$/\\n\\/'; \ echo '";' ) > manual.c .include <bsd.prog.mk> |