mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
all: does not need to depend on ${MAN5}, remove special case clean:
and cleandir: targets, simple use a CLEANFILES+= to handle this very
simple special case.
Add ${COPY} knob to install commands so that files don't disappear out
of the obj tree after a make install.
This commit is contained in:
parent
c0f2e210a8
commit
3161b790c6
1 changed files with 5 additions and 9 deletions
|
|
@ -6,7 +6,9 @@
|
|||
#
|
||||
MAN5= termcap.0
|
||||
|
||||
all: termcap termcap.db ${MAN5}
|
||||
CLEANFILES+= termcap termcap.db
|
||||
|
||||
all: termcap termcap.db
|
||||
|
||||
termcap: reorder termcap.src
|
||||
ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder > /dev/null
|
||||
|
|
@ -14,16 +16,10 @@ termcap: reorder termcap.src
|
|||
termcap.db: termcap
|
||||
cap_mkdb termcap
|
||||
|
||||
clean:
|
||||
rm -f termcap termcap.db
|
||||
|
||||
cleandir: clean
|
||||
rm -f ${MAN5}
|
||||
|
||||
beforeinstall:
|
||||
install -o ${BINOWN} -g ${BINGRP} -m 444 termcap \
|
||||
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap \
|
||||
${DESTDIR}${BINDIR}/misc
|
||||
install -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
|
||||
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
|
||||
${DESTDIR}${BINDIR}/misc
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
|
||||
${DESTDIR}${BINDIR}/misc
|
||||
|
|
|
|||
Loading…
Reference in a new issue