diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index 2403fc29d36f..2f168ac40bb0 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -21,6 +21,7 @@ INFOSECTION?= Miscellaneous IFILENS= ${INFO:S/$/.info/g} +.if !defined(NOINFO) .if !defined(NOINFOCOMPRESS) IFILES= ${INFO:S/$/.info.gz/g} all: ${IFILES} _SUBDIR @@ -28,6 +29,9 @@ all: ${IFILES} _SUBDIR IFILES= ${IFILENS} all: ${IFILES} _SUBDIR .endif +.else +all: +.endif GZIPCMD?= gzip @@ -68,9 +72,13 @@ depend: _SUBDIR clean: _SUBDIR rm -f ${INFO:S/$/.info*/g} Errs errs mklog ${CLEANFILES} +.if !defined(NOINFO) install: ${INSTALLINFODIRS} _SUBDIR ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${IFILES} ${DESTDIR}${BINDIR} +.else +install: +.endif .if !target(maninstall) maninstall: _SUBDIR