summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-07-26 22:37:43 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-07-26 22:42:46 +0200
commite941cc69cf3e90ab799dec24587bb339db07038f (patch)
tree3c059a70f3328c4f3202326cdbc285d08cc7e7e0
parent0cedc6b3fe775ccb814ee3393d4695909bcc7ece (diff)
exclude config.{sub,guess} from source package
Lintian complains about these links in the source package as they leave the source directory and as they are autogenerated there isn't that much sense in shipping them, we can just recreate them before calling configure.
-rwxr-xr-xdebian/rules7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 4686f569d..fc44d5a68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,7 +77,7 @@ build/environment.mak: build/configure-stamp
@true
configure: configure.ac
-build/configure-stamp: configure
+build/configure-stamp: configure buildlib/config.sub buildlib/config.guess
dh_testdir
-mkdir build
cp COPYING debian/copyright
@@ -116,6 +116,8 @@ clean:
rm -rf build
rm -f debian/$(LIBAPT_PKG).install debian/$(LIBAPT_INST).install \
debian/libapt-pkg-dev.install
+ test ! -L buildlib/config.guess || rm -f buildlib/config.guess
+ test ! -L buildlib/config.sub || rm -f buildlib/config.sub
debian/%.install: debian/%.install.in
sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' $< > $@
@@ -328,6 +330,9 @@ apt-transport-https: build-binary libapt-pkg-dev
dh_md5sums -p$@
dh_builddeb -p$@
+buildlib/config.guess buildlib/config.sub:
+ $(MAKE) "$@"
+
configure:
$(MAKE) configure