From 339ee7a89b7f9e0755090a1c764e41a4c5b172ad Mon Sep 17 00:00:00 2001 From: dancer Date: Mon, 10 Mar 2003 11:01:01 +0000 Subject: + * debian/rules: add check target for build. + + * Makefile (check): add check target to makefile, to see if there is + any syntax error. + + * pbuilder-updatebuildenv: support --preserve-buildplace + apply things from + Daniel Schepler + + * pbuilder-satisfydepends: support --preserve-buildplace + support Format: field. + + * pbuilder-modules (pbuilder-options): support --preserve-buildplace + + * pbuilder-buildpackage (PACKAGENAME): support --preserve-buildplace + + * pbuilder-buildpackage-funcs: support --preserve-buildplace + + * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): support --preserve-buildplace + + * pbuilder-checkparams (PRESERVE_BUILDPLACE): add PRESERVE_BUILDPLACE + + * pbuilder.8: update docs to add --preserve-buildplace + --- pbuilder-checkparams | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pbuilder-checkparams') diff --git a/pbuilder-checkparams b/pbuilder-checkparams index dc6ac86..2e37d67 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -27,6 +27,7 @@ OVERRIDE_APTLINES="no" BINARY_ARCH="no" PBUILDER_BUILD_LOGFILE= USE_PKGNAME_LOGFILE="" +PRESERVE_BUILDPLACE="no" while [ -n "$1" ]; do case "$1" in @@ -116,6 +117,10 @@ while [ -n "$1" ]; do DEBBUILDOPTS="${DEBBUILDOPTS} -B" shift; ;; + --preserve-buildplace) + PRESERVE_BUILDPLACE="yes" + shift; + ;; ## pdebuild option --auto-debsign) AUTO_DEBSIGN="yes" @@ -160,7 +165,7 @@ BUILDPLACE=${BUILDPLACE?"Build root directory is not defined"} # the default is to add a PID in the buildplace specified in the config file. BASEBUILDPLACE="$BUILDPLACE" -if [ ! "${INTERNAL_BUILD_UML}" = "yes" ]; then +if [ "${INTERNAL_BUILD_UML}" != "yes" -a "${PRESERVE_BUILDPLACE}" != "yes" ]; then BUILDPLACE="$BUILDPLACE/$$" fi if [ -z "${CHROOTEXEC}" ]; then -- cgit v1.2.3