From 8a4cf265b6b725d9c9f0fb7d096114ea54ce6db3 Mon Sep 17 00:00:00 2001 From: kstailey Date: Mon, 21 Apr 1997 17:42:33 +0000 Subject: [PATCH] respect NOMAN --- gnu/usr.bin/groff/Makefile.bsd-wrapper | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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} -- 2.20.1