Source-Changes-HG archive

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

[src/netbsd-1-6]: src/distrib/sets Pull up revision 1.16 (requested by lukem):



details:   https://anonhg.NetBSD.org/src/rev/a8b4a894affe
branches:  netbsd-1-6
changeset: 528382:a8b4a894affe
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jul 09 16:20:07 2002 +0000

description:
Pull up revision 1.16 (requested by lukem):
checkflist:
        - add "-M metalog".  if metalog starts with "${DESTDIR}/", it
          will be skipped in the flist check, to prevent unnecessary
          warnings about extraneous ./METALOG
        - if the diff returned a non-zero exit code, print a warning message,
          and for the default diff output, print a blurb describing the
          meaning of the output.
Makefile:
        - call checkflist with "-M ${METALOG}" if UNPRIVED
        - run "${MAKE} checkflist" if ${DESTDIR} != ""
 NOTE:  this change will prevent maketars from running if the
        sets lists are out of date.  This is intentional.
        Better to fail than to build tar files with missing files.

diffstat:

 distrib/sets/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c6c084e38bb4 -r a8b4a894affe distrib/sets/Makefile
--- a/distrib/sets/Makefile     Tue Jul 09 15:06:58 2002 +0000
+++ b/distrib/sets/Makefile     Tue Jul 09 16:20:07 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2002/05/02 18:02:51 lukem Exp $
+#      $NetBSD: Makefile,v 1.15.2.1 2002/07/09 16:20:07 lukem Exp $
 
 # The `all' target must appear before bsd.own.mk is pulled in.
 all:
@@ -44,7 +44,7 @@
 
 .PRECIOUS: checkflist
 checkflist: check_DESTDIR
-       ${SETSENV} sh ${.CURDIR}/checkflist
+       ${SETSENV} sh ${.CURDIR}/checkflist ${UNPRIVED:D-M ${METALOG}}
 
 .PRECIOUS: checkflist-x11
 checkflist-x11: check_DESTDIR
@@ -52,6 +52,9 @@
 
 .PRECIOUS: maketars
 maketars: check_DESTDIR check_RELEASEDIR
+.if (${DESTDIR} != "")
+       ${MAKE} checkflist
+.endif
        ${SETSENV} sh ${.CURDIR}/maketars ${UNPRIVED:D-M ${METALOG}} \
                -d ${DESTDIR} -t ${RELEASEDIR}/binary/sets ${MAKETARSETS}
 



Home | Main Index | Thread Index | Old Index