aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2003-09-27 17:33:03 +0000
committerMark Murray <markm@FreeBSD.org>2003-09-27 17:33:03 +0000
commit6db574266b483ef5c391a794dadfa0c05181c4d7 (patch)
tree0034591a81879673b8fbec937377b1847ae7a1c8 /etc/Makefile
parentdcd276697960417ce290ff1a280e1214cd2cad76 (diff)
downloadsrc-6db574266b483ef5c391a794dadfa0c05181c4d7.tar.gz
src-6db574266b483ef5c391a794dadfa0c05181c4d7.zip
Don't install etc/printcap in the NO_LPR case; ports like 'cups'
make their own etc/printcap if they need it.
Notes
Notes: svn path=/head/; revision=120521
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 8cc4d9e71fe8..e048b0aa1ccc 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -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