aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-01-29 11:32:38 -0500
committerMicah Anderson <micah@riseup.net>2010-01-29 11:32:38 -0500
commit1f09f6917a90ea82407f164dc4242e81b540c0cd (patch)
tree1e4f99affe649e499fd06f9eb2c8255b62e5b041 /debian/rules
parent36e9e5b0512e16e56619ab7630a28cd076a3887b (diff)
downloadbackupninja-1f09f6917a90ea82407f164dc4242e81b540c0cd.tar.gz
backupninja-1f09f6917a90ea82407f164dc4242e81b540c0cd.tar.bz2
also fix the clean target to cleanup after itself
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index bb038e0..0fc7164 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,11 @@ build-stamp: configure-stamp
touch build-stamp
clean:
+ # set config.sub and config.guess back to how they are in orig tarball
+ # so dpkg-source will work (diff.gz considers a change to a symlink an
+ # "unrepresentable change to source", so we need to undo what is done
+ # in the configure-stamp target
+ rm -f config.sub config.guess
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp