[qrouter] 03/06: Making sure that it is possible to build multiple times from the same directory
Ruben Undheim
rubund-guest at moszumanska.debian.org
Fri Feb 20 19:36:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository qrouter.
commit adbb7369eb9381b0c6a600c46161c6fd947576f7
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Fri Feb 20 20:05:19 2015 +0100
Making sure that it is possible to build multiple times from the same directory
---
debian/changelog | 2 ++
debian/rules | 7 +++++++
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d3cb77c..a278a3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ qrouter (1.3.7-1) experimental; urgency=low
* Added d/qrouter.lintian-overrides in order to ignore shlib-calls-exit
for qrouter.so
* Enabled full hardening (d/rules)
+ * Added override_dh_auto_clean to make sure that it rebuilds cleanly even
+ without manually cleaning the environment first.
-- Ruben Undheim <ruben.undheim at gmail.com> Fri, 20 Feb 2015 18:37:06 +0100
diff --git a/debian/rules b/debian/rules
index ef1140e..682bd08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,10 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now -Wl,--as-needed
override_dh_auto_configure:
dh_auto_configure -- --with-libdir=/usr/lib/qrouter
+override_dh_auto_clean:
+ $(RM) -f Makefile config.log config.status
+ $(RM) -f *.o
+ $(RM) -f *.so qrouterexec
+ $(RM) -f qrouter.sh qrouter.tcl
+ dh_auto_clean
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qrouter.git
More information about the debian-science-commits
mailing list