Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 12/23/2002 08:52:52
Module Name:	src
Committed By:	lukem
Date:		Mon Dec 23 06:52:51 UTC 2002

Modified Files:
	src/distrib/sets: maketars
	src/etc: Makefile
	src/gnu/usr.bin/texinfo/install-info: Makefile
	src/share/man: Makefile
	src/share/mk: bsd.own.mk
	src/share/zoneinfo: Makefile

Log Message:
Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/distrib/sets/maketars
cvs rdiff -r1.238 -r1.239 src/etc/Makefile
cvs rdiff -r1.6 -r1.7 src/gnu/usr.bin/texinfo/install-info/Makefile
cvs rdiff -r1.23 -r1.24 src/share/man/Makefile
cvs rdiff -r1.323 -r1.324 src/share/mk/bsd.own.mk
cvs rdiff -r1.31 -r1.32 src/share/zoneinfo/Makefile

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