Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Split the "distribution" target into "distribution" and ...



details:   https://anonhg.NetBSD.org/src/rev/3326878d0712
branches:  trunk
changeset: 517860:3326878d0712
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Nov 20 16:07:59 2001 +0000

description:
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:

 etc/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8c48d4587494 -r 3326878d0712 etc/Makefile
--- a/etc/Makefile      Tue Nov 20 15:53:22 2001 +0000
+++ b/etc/Makefile      Tue Nov 20 16:07:59 2001 +0000
@@ -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 @@
        (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} \



Home | Main Index | Thread Index | Old Index