summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 07:04:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 07:04:46 +0000
commit7491b9062930a432eca63b60230c81ddee520ce1 (patch)
tree43a65211c35c225aa9fc1b10aa4f5605ab0d7df0 /sbin/disklabel
parent4f7f60a904c4694c4e25009b3aeb07e8471c07f9 (diff)
build if NOMAN= is globally set; problem spotted by rahnds
Diffstat (limited to 'sbin/disklabel')
-rw-r--r--sbin/disklabel/Makefile4
1 files changed, 2 insertions, 2 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")