Don't install etc/printcap in the NO_LPR case; ports like 'cups'

make their own etc/printcap if they need it.
This commit is contained in:
Mark Murray 2003-09-27 17:33:03 +00:00
parent dcd2766979
commit 6db574266b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120521

View File

@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf \
mac.conf motd netconfig network.subr networks newsyslog.conf \
phones printcap profile protocols \
phones profile protocols \
rc rc.firewall rc.firewall6 rc.sendmail rc.shutdown \
rc.subr remote rpc services \
shells sysctl.conf syslog.conf usbd.conf \
@ -79,6 +79,11 @@ distribution:
.if !defined(NO_I4B)
cd ${.CURDIR}/isdn; ${MAKE} install
.endif
.if !defined(NO_LPR)
cd ${.CURDIR}; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
printcap ${DESTDIR}/etc
.endif
.if !defined(NO_SENDMAIL)
cd ${.CURDIR}/sendmail; ${MAKE} distribution
.endif