diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-09-23 08:28:25 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-09-23 08:28:25 +0000 |
commit | 0202c140bbe1c4deb6f1b2a1921d12734e3e5a76 (patch) | |
tree | de5ce491785731403b93bd6ca5c70862ccf43ff8 /release/Makefile | |
parent | 3e9ab531caffebbb90fdf826c85b455940c0ede6 (diff) | |
download | src-test2-0202c140bbe1c4deb6f1b2a1921d12734e3e5a76.tar.gz src-test2-0202c140bbe1c4deb6f1b2a1921d12734e3e5a76.zip |
Notes
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile new file mode 100644 index 000000000000..fdf5f3b3576c --- /dev/null +++ b/release/Makefile @@ -0,0 +1,20 @@ +# $Id$ +# + +MTREE_DIR= ${.CURDIR}/../etc/mtree + +hieriarchy: + # If this exits with an error code of 2 your file hieriarchy was + # modified for some reason, please read the mtree output to understand + # what was changed, then run the command again. + # + # XXX This will currently error out if you have a procfs mounted, + # unmount it to get past this problem until procfs is fixed. + # + mtree -deu -f ${MTREE_DIR}/BSD.root.dist -p ${DESTDIR}/ + mtree -deu -f ${MTREE_DIR}/BSD.var.dist -p ${DESTDIR}/var + mtree -deu -f ${MTREE_DIR}/BSD.usr.dist -p ${DESTDIR}/usr +.if defined(MAKE_LOCAL) + mtree -deu -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local +.endif + cd ${DESTDIR}/ && rm -f ${DESTDIR}/sys && ln -s usr/src/sys sys |