NetBSD/distrib/common/mtree.common
lukem 4f6381b784 all:
Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00

40 lines
1014 B
Plaintext

# $NetBSD: mtree.common,v 1.3 2003/02/22 03:20:47 lukem Exp $
/set type=dir uname=root gname=wheel mode=0755
.
./bin
./dev
./etc
./mnt
./mnt2
./kern
./sbin
./tmp mode=01777
./usr
./usr/bin
./usr/mdec
./usr/sbin
./usr/share
./usr/share/misc
./var
./var/db
./var/db/obsolete
./var/db/obsolete/base type=file mode=644 optional
./var/db/obsolete/comp type=file mode=644 optional
./var/db/obsolete/etc type=file mode=644 optional
./var/db/obsolete/games type=file mode=644 optional
./var/db/obsolete/man type=file mode=644 optional
./var/db/obsolete/misc type=file mode=644 optional
./var/db/obsolete/text type=file mode=644 optional
./var/db/obsolete/xbase type=file mode=644 optional
./var/db/obsolete/xcomp type=file mode=644 optional
./var/db/obsolete/xcontrib type=file mode=644 optional
./var/db/obsolete/xfont type=file mode=644 optional
./var/db/obsolete/xserver type=file mode=644 optional
./var/db/obsolete/xmisc type=file mode=644 optional
./var/run
./var/log
./var/spool
./var/spool/lock