]> git.saurik.com Git - apt.git/blobdiff - prepare-release
prepare-release: declare the packages needed as source build deps.
[apt.git] / prepare-release
index 2d8502d7f4734fe6fd4a7f69df82823521965286..a9cc49cfda4e93be7c3a0cf674d58988aff5bc0a 100755 (executable)
@@ -1,11 +1,15 @@
 #!/bin/sh
 
+set -e
+
 VERSION=$(dpkg-parsechangelog | sed -n -e '/^Version:/s/^Version: //p')
 DISTRIBUTION=$(dpkg-parsechangelog | sed -n -e '/^Distribution:/s/^Distribution: //p')
 
 LIBAPTPKGVERSION="$(awk -v ORS='.' '/^\#define APT_PKG_M/ {print $3}' apt-pkg/init.h | sed 's/\.$//')"
 LIBAPTINSTVERSION="$(egrep '^MAJOR=' apt-inst/makefile |cut -d '=' -f 2)"
 
+dpkg-checkbuilddeps -d 'libxml2-utils'
+
 if [ "$1" = 'pre-export' ]; then
        libraryversioncheck() {
                local LIBRARY="$1"