summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-04-21 17:42:34 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-04-21 17:42:34 +0000
commit10bc7aa80f74af83c542d9a6bb8470130dc17542 (patch)
tree3a64871ccda2a325845ee2f381bb19efcf6a637a /gnu/usr.bin/groff/Makefile.bsd-wrapper
parenta0b7c4e7ec9914a61c43401c7d30bc7d4ac3b288 (diff)
respect NOMAN
Diffstat (limited to 'gnu/usr.bin/groff/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/groff/Makefile.bsd-wrapper16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/Makefile.bsd-wrapper b/gnu/usr.bin/groff/Makefile.bsd-wrapper
index bbbe71453ba..1d9fd35baef 100644
--- a/gnu/usr.bin/groff/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/groff/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1997/04/07 13:30:24 downsj Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.6 1997/04/21 17:42:33 kstailey Exp $
#
# groff config
@@ -63,6 +63,7 @@ gnu_build:
indexdir=${INDEXDIR} \
common_words_file=${COMMON_WORDS}
+.if !defined(NOMAN)
install: ${MAN_BUILD1} ${MAN_BUILD5} ${MAN_BUILD7} maninstall
${MAKE} ${GNUCFLAGS} ${GNUCXXFLAGS} LDFLAGS=${LDSTATIC} \
prefix=${DESTDIR}${PREFIX} \
@@ -74,6 +75,19 @@ install: ${MAN_BUILD1} ${MAN_BUILD5} ${MAN_BUILD7} maninstall
install
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac/tmac.an \
${DESTDIR}${DATASUBDIR}/tmac/tmac.an.old
+.else
+install:
+ ${MAKE} ${GNUCFLAGS} ${GNUCXXFLAGS} LDFLAGS=${LDSTATIC} \
+ prefix=${DESTDIR}${PREFIX} \
+ datasubdir=${DESTDIR}${DATASUBDIR} \
+ fontdir=${DESTDIR}${FONTDIR} \
+ indexdir=${DESTDIR}${INDEXDIR} \
+ common_words_file=${DESTDIR}${COMMON_WORDS} \
+ INSTALL_MAN= TMAC_AN= TMAC_ANDOC= MDOCFILES= tmac_an= \
+ install
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac/tmac.an \
+ ${DESTDIR}${DATASUBDIR}/tmac/tmac.an.old
+.endif
clean cleandir:
rm -f ${CLEANFILES}