From: Matthew Dillon Date: Sat, 19 Nov 2011 22:40:46 +0000 (-0800) Subject: fastbulk - Minor corrections & docs X-Git-Tag: v3.0.0~603 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/3c86cbff768c92673d2b6b84d706c7436ae56a75 fastbulk - Minor corrections & docs * Minor correction to the setup script * Document more targets --- diff --git a/test/fastbulk/Makefile b/test/fastbulk/Makefile index fbf004e0d7..a4fe2d9a90 100644 --- a/test/fastbulk/Makefile +++ b/test/fastbulk/Makefile @@ -13,10 +13,23 @@ NPARALLEL?= 8 all: @echo "fastbulk build options" - @echo " make setup - setup/mount the build environment" - @echo " make cleanup - unmount the build environment" - @echo " make changes - deinstall modified packages" + @echo " make scratch - cleanup, setup, cpdup /etc, bootstrap" @echo " make build - iterate all dirs / build package" + @echo " make setup - setup/mount the build environment" + @echo " make cleanup - unmount the build environment" + @echo " make realclean - rm -rf the build env except for" + @echo " packages and distfiles" + @echo " make changes - deinstall modified packages" + @echo "make variables (defaults shown):" + @echo "" + @echo " BUILDBASE=/build/fastbulk all fastbulk-generated files" + @echo " SYSPKGSRC=/usr/pkgsrc where to get pkgsrc from" + @echo " SYSROOT=/ rootenv to replicate" + @echo " NPARALLEL=8 maximum concurrency" + @echo "" + @echo "NOTE: ${BUILDBASE}/{distfiles,packages} are normally retained" + @echo " to avoid having to re-pull and for incremental operation" + @echo "" scratch: cleanup rm -rf ${BUILDBASE}/var.db @@ -53,6 +66,8 @@ setup: cleanup mkdir -p ${BUILDBASE}/usr.pkg mkdir -p ${BUILDBASE}/usr.obj mkdir -p ${BUILDBASE}/var.db + mkdir -p ${BUILDBASE}/var.db/pkg + mkdir -p ${BUILDBASE}/var.db/pkg.refcount mkdir -p ${BUILDBASE}/var.db.pkg mkdir -p ${BUILDBASE}/var.db.pkg.refcount mkdir -p ${BUILDBASE}/track