Source-Changes-HG archive

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

[src/trunk]: src/distrib/common cosmetic tweaks: sort some variable lists, im...



details:   https://anonhg.NetBSD.org/src/rev/3bb3c97ea115
branches:  trunk
changeset: 523686:3bb3c97ea115
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Mar 14 01:07:27 2002 +0000

description:
cosmetic tweaks: sort some variable lists, improve descriptions, [...]

diffstat:

 distrib/common/Makefile.image |  7 ++++---
 distrib/common/parselist.awk  |  8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r 5cf4802f2c7f -r 3bb3c97ea115 distrib/common/Makefile.image
--- a/distrib/common/Makefile.image     Wed Mar 13 23:59:58 2002 +0000
+++ b/distrib/common/Makefile.image     Thu Mar 14 01:07:27 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.image,v 1.4 2002/02/08 02:18:53 lukem Exp $
+#      $NetBSD: Makefile.image,v 1.5 2002/03/14 01:07:27 lukem Exp $
 #
 # Makefile snippet to build a tree from the provided lists,
 # and make an ffs file system image from that tree
@@ -16,6 +16,7 @@
 #      MTREECONF       mtree specfiles to use to build a master specfile
 #
 # Optional variables:
+#      DESTDIR         destination directory
 #      MAKEFS_FLAGS    extra options to ${MAKEFS}
 #      POPULATEENV     environment variables to pass to the output of
 #                      parselist.awk -v mode=populate
@@ -28,10 +29,10 @@
 
 POPULATEENV+=  _SRC_TOP_=${_SRC_TOP_:Q} \
                DESTDIR=${DESTDIR:Q} \
+               CRUNCHBIN=${CRUNCHBIN:Q} \
                CURDIR=${.CURDIR:Q} \
                OBJDIR=${.OBJDIR:Q} \
-               TARGDIR=${.OBJDIR}/${WORKDIR:Q} \
-               CRUNCHBIN=${CRUNCHBIN:Q}
+               TARGDIR=${.OBJDIR}/${WORKDIR:Q}
 
 _PARSELIST=    ${_SRC_TOP_}/distrib/common/parselist.awk
 
diff -r 5cf4802f2c7f -r 3bb3c97ea115 distrib/common/parselist.awk
--- a/distrib/common/parselist.awk      Wed Mar 13 23:59:58 2002 +0000
+++ b/distrib/common/parselist.awk      Thu Mar 14 01:07:27 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: parselist.awk,v 1.6 2002/03/07 01:36:34 lukem Exp $
+#      $NetBSD: parselist.awk,v 1.7 2002/03/14 01:07:27 lukem Exp $
 #
 # Copyright (c) 2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -39,7 +39,7 @@
 # awk -f parselist.awk -v mode=MODE [var=val ...] file1 [...]
 #
 #      Parse list files file1 [...], generating different output,
-#      depending upon the setting of MODE:
+#      depending upon the value of MODE:
 #          crunch      crunchgen(1) config
 #          mtree       mtree(8) specfile
 #          populate    sh(1) commands to populate ${TARGDIR} from ${CURDIR}
@@ -117,10 +117,10 @@
                print " fi";
                print "}";
                print;
+               print "checkvarisset CRUNCHBIN";
                print "checkvarisset CURDIR";
+               print "checkvarisset OBJDIR";
                print "checkvarisset TARGDIR";
-               print "checkvarisset OBJDIR";
-               print "checkvarisset CRUNCHBIN";
                print "cd ${CURDIR}";
                print;
        } else if (mode == "mtree") {



Home | Main Index | Thread Index | Old Index