Install files via FILES.

This commit is contained in:
Ruslan Ermilov 2001-12-17 16:21:59 +00:00
parent 2bdd8946cb
commit dbee1004f9
3 changed files with 9 additions and 21 deletions

View File

@ -16,9 +16,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/bind/bin/nslookup
LDADD+= -ll -ledit -ltermcap LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
beforeinstall: FILES= nslookup.help
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ FILESDIR= ${DESTHELP}
${BIND_DIR}/bin/nslookup/nslookup.help \
${DESTDIR}${DESTHELP}/nslookup.help
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,9 +2,9 @@
MAINTAINER= sheldonh MAINTAINER= sheldonh
DOCSDIR= /usr/share/doc/ntp FILESDIR= ${SHAREDIR}/doc/ntp
HTMLS= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \ FILES= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \
clockopt.htm \ clockopt.htm \
config.htm confopt.htm copyright.htm debug.htm driver1.htm \ config.htm confopt.htm copyright.htm debug.htm driver1.htm \
driver10.htm driver11.htm driver12.htm driver16.htm driver18.htm \ driver10.htm driver11.htm driver12.htm driver16.htm driver18.htm \
@ -24,11 +24,6 @@ HTMLS= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \
MAN= ntp.conf.5 ntp.keys.5 MAN= ntp.conf.5 ntp.keys.5
MAN+= ntp-genkeys.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 ntptrace.8 MAN+= ntp-genkeys.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 ntptrace.8
beforeinstall: .PATH: ${.CURDIR}/../../../contrib/ntp/html
.for file in ${HTMLS}
cd ${.CURDIR}/../../../contrib/ntp/html ; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
${DESTDIR}${DOCSDIR}
.endfor
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -5,15 +5,10 @@
rm -f ${.TARGET} rm -f ${.TARGET}
uudecode ${.IMPSRC} uudecode ${.IMPSRC}
FONTS= vt220h.808 vt220h.810 vt220h.814 vt220h.816 \ FILES= vt220h.808 vt220h.810 vt220h.814 vt220h.816 \
vt220l.808 vt220l.810 vt220l.814 vt220l.816 vt220l.808 vt220l.810 vt220l.814 vt220l.816
#FONTS+= vt100pc.814 vt100sg.814 #FILES+= vt100pc.814 vt100sg.814
CLEANFILES= ${FONTS} FILESDIR= ${FONTDIR}
CLEANFILES= ${FILES}
all: ${FONTS}
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${FONTS} ${DESTDIR}${FONTDIR}
.include <bsd.prog.mk> .include <bsd.prog.mk>