aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authordancer <dancer>2004-11-16 23:54:46 +0000
committerdancer <dancer>2004-11-16 23:54:46 +0000
commit07864c34b7654149177a6c0deab15bf75bf4b0aa (patch)
tree523a86b3a4f0371eaa9254b8e0d9089ad2e53ee5 /pdebuild
parentaf1a897961ea3b514d4e08065cbdafe3100011d5 (diff)
downloadpbuilder-07864c34b7654149177a6c0deab15bf75bf4b0aa.tar
pbuilder-07864c34b7654149177a6c0deab15bf75bf4b0aa.tar.gz
+ * 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)
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild5
1 files changed, 4 insertions, 1 deletions
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