From 07864c34b7654149177a6c0deab15bf75bf4b0aa Mon Sep 17 00:00:00 2001 From: dancer Date: Tue, 16 Nov 2004 23:54:46 +0000 Subject: + * Add example script from Jamin W Collins for short-cut way of specifying distribution. (closes: #255165) + * Warn if build-depends is not satisfied when invoking dpkg-buildpackage -S (closes: #266349) --- pdebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pdebuild') diff --git a/pdebuild b/pdebuild index 2256033..191e6c1 100644 --- a/pdebuild +++ b/pdebuild @@ -1,6 +1,6 @@ #! /bin/bash # pbuilder -- personal Debian package builder -# Copyright (C) 2001-2003 Junichi Uekawa +# Copyright (C) 2001-2004 Junichi Uekawa # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,6 +36,9 @@ ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then ${PBUILDERROOTCMD} pbuilder execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" else + if [ ! dpkg-checkbuilddeps -B ]; then + echo "W: Unmet build-dependency in source" + fi dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS ${PBUILDERROOTCMD} pbuilder build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc fi -- cgit v1.2.3