diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-11-20 16:07:59 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-11-20 16:07:59 +0000 |
| commit | ba119b4fb0afa45fc030d48a78d4617b0202bf90 (patch) | |
| tree | 05861639b8d9b6d93053e570f50cdb19079c970b /etc | |
| parent | 4004df64a008f3a07d1340e5b2ccb4cbd62655aa (diff) | |
Split the "distribution" target into "distribution" and "install-etc-files",
the latter being called by the "distribution" target. This allows the
various /etc/... files to be installed manually in a convenient way, if
desired.
NOTE: It is INTENTIONAL that this target is not named "install".
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index 72062d3b60e..b97fd12c2b8 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.192 2001/11/19 05:05:06 perry Exp $ +# $NetBSD: Makefile,v 1.193 2001/11/20 16:07:59 thorpej Exp $ # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: @@ -158,6 +158,9 @@ distribution: distrib-dirs (cd ..; ${MAKE} _DISTRIB= includes) (cd ..; ${MAKE} _DISTRIB= install) .endif + ${MAKE} install-etc-files + +install-etc-files: ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} \ |
