summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile
index 99904ece833..25fa2cbb680 100644
--- a/sbin/fdisk/Makefile
+++ b/sbin/fdisk/Makefile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: Makefile,v 1.13 2001/01/17 04:53:33 d Exp $
+# $OpenBSD: Makefile,v 1.14 2001/01/18 15:07:24 art Exp $
#
# Copyright (c) 1997 Tobias Weingartner
# All rights reserved.
@@ -37,10 +37,15 @@ DPADD= ${LIBUTIL}
LDADD= -lutil
CLEANFILES+=manual.c
+.if defined(NOMAN)
+manual.c:
+ echo 'char manpage[] = "Sorry. No man page.";' > manual.c
+.else
manual.c: fdisk.cat8
(echo 'char manpage[] = "\\'; \
sed -e 's/[\\"]/\\&/g' -e 's/$$/\\n\\/' fdisk.cat8; \
echo '";' ) > manual.c
+.endif
.else
NOPROG=yes
.endif