diff options
author | 2001-01-18 15:07:24 +0000 | |
---|---|---|
committer | 2001-01-18 15:07:24 +0000 | |
commit | 6d122f5f3ca68a6750a9fe7ac8a428f47c7b91a2 (patch) | |
tree | e3a2579ec040786f4c9033f026c4d9d3f9842287 | |
parent | Fix NOMAN builds. (diff) | |
download | wireguard-openbsd-6d122f5f3ca68a6750a9fe7ac8a428f47c7b91a2.tar.xz wireguard-openbsd-6d122f5f3ca68a6750a9fe7ac8a428f47c7b91a2.zip |
Fix NOMAN build.
-rw-r--r-- | sbin/fdisk/Makefile | 7 |
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 |