mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
In an attempt to make the new info rules bootstrap themselves, make
the rules conditional on NOINFO not being defined, just like NOMAN.
This commit is contained in:
parent
d5c3a37026
commit
38a1b9404b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user