Source-Changes archive

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

CVS commit: src/distrib/sets



Module Name:    src
Committed By:   apb
Date:           Thu Apr 23 09:37:03 UTC 2009

Modified Files:
        src/distrib/sets: Makefile

Log Message:
Clean up the handling of METALOG.sanitised:

* Don't change METALOG in place while creating METALOG.sanitised in the
  sanitise_METALOG target.  This makes it easier to manually inspect
  METALOG to find the order in which lines were added during a build.

* Add a clean_METALOG target, to be invoked from src/Makefile early in
  the build, to prevent unbounded growth of METALOG during multiple
  MKUPDATE builds.

* Remove the old hack of incorporating etc/mtree/NetBSD.dist into
  METALOG.sanitised.  It was needed only during a short transition
  period when people might have done MKUPDATE builds starting from
  existing DESTDIR and OBJDIR trees that had been created before
  revision 1.317 of src/etc/Makefile.

* Since etc/mtree/NetBSD.dist is no longer added, there's will not
  be any "optional" lines, so there's no need to filter them from
  METALOG.sanitised.

* There's no need for two different METALOG.unpriv and
  METALOG.sanitised.unpriv variables; combine them into a single
  METALOG.unpriv variable whose value is "-M ${METALOG}.sanitised".

* Reorder some lines in the Makefile, to bring related targets,
  variables and comments together.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/distrib/sets/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index