diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-25 07:04:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-25 07:04:46 +0000 |
commit | 7491b9062930a432eca63b60230c81ddee520ce1 (patch) | |
tree | 43a65211c35c225aa9fc1b10aa4f5605ab0d7df0 | |
parent | 4f7f60a904c4694c4e25009b3aeb07e8471c07f9 (diff) |
build if NOMAN= is globally set; problem spotted by rahnds
-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> |