From: Wichert Akkerman Date: Thu, 23 Nov 2000 16:12:50 +0000 (+0000) Subject: Use proper name for .changes file when building source-only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c22b210aae3122095e2b6f7460796dc3d69b685;p=dpkg Use proper name for .changes file when building source-only --- diff --git a/ChangeLog b/ChangeLog index bed5281f..1aa7d94e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 23 15:48:53 CET 2000 Wichert Akkerman + + * scripts/dpkg-buildpackage.sh: Name .changes file properly if + we are doing a source-only build + Thu Nov 9 13:53:21 CET 2000 Wichert Akkerman * doc/Makefile.in: use internals.html/index.html as dependency target diff --git a/scripts/dpkg-buildpackage.sh b/scripts/dpkg-buildpackage.sh index fb5d3fef..d1f16115 100755 --- a/scripts/dpkg-buildpackage.sh +++ b/scripts/dpkg-buildpackage.sh @@ -7,9 +7,11 @@ version="1.3.0"; # This line modified by Makefile progname="`basename \"$0\"`" usageversion () { cat >&2 < @@ -131,8 +133,11 @@ if [ -n "$maint" ]; then maintainer="$maint"; else mustsetvar maintainer "`dpkg-parsechangelog | sed -n 's/^Maintainer: //p'`" "source maintainer"; fi eval `dpkg-architecture -a${arch} -t${targetgnusystem} -s` archlist=`dpkg-architecture -a${targetarch} -t${targetgnusystem} -f 2> /dev/null` -mustsetvar arch "`dpkg-architecture -a${targetarch} -t${targetgnusystem} -qDEB_HOST_ARCH`" "build architecture" - +if [ x$sourceonly = x ]; then + mustsetvar arch "`dpkg-architecture -a${targetarch} -t${targetgnusystem} -qDEB_HOST_ARCH`" "build architecture" +else + arch=source +fi sversion=`echo "$version" | perl -pe 's/^\d+://'` pv="${package}_${sversion}" pva="${package}_${sversion}${arch:+_${arch}}"