summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <debian@abeckmann.de>2012-10-01 20:35:18 +0200
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 20:35:18 +0200
commitd211443f26bde7267a014ff0eaf2c1049d15fd1b (patch)
treecc068ba5f39a99a1cdd1c973524cd6c46c524107
parent623cb0184499eaff3999f7b16c595b50594a6e92 (diff)
downloadsendmail-d211443f26bde7267a014ff0eaf2c1049d15fd1b.tar.gz
debian/rules clean: run maintainer-clean
* stop shipping a lot of generated files in debian/ in the source package * do not preserve debian/build/autoconf.mk, it's regenerated as well
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules8
2 files changed, 6 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 270b3e6..428853a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,11 @@ sendmail (8.14.4-2.2) UNRELEASED; urgency=low
* Non-maintainer upload.
+ [ Andreas Beckmann ]
+ * debian/rules clean: Run maintainer-clean and stop shipping a lot of
+ generated files in debian/ in the source package. Do not preserve
+ debian/build/autoconf.mk, it's regenerated as well.
+
-- Andreas Beckmann <debian@abeckmann.de> Mon, 01 Oct 2012 20:19:07 +0200
sendmail (8.14.4-2.1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 67204f6..c17740a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -305,12 +305,9 @@ clean::
#--------------------------------------------------------------------
# clean:
#
- # Need to save this
- /bin/mv debian/build/autoconf.mk \
- debian/build/autoconf.mk.save;
# Local stuff
-if [ -f debian/Makefile ]; then \
- (cd debian && $(MAKE) -f Makefile clean;) \
+ (cd debian && $(MAKE) -f Makefile clean maintainer-clean;) \
fi;
# Debian stuff
$(RM) -r ${_cdbs_tarball_dir};
@@ -324,9 +321,6 @@ clean::
for file in tmp ${DEB_PACKAGES};do \
$(RM) -r debian/$$file; \
done;
- # Need to save this
- /bin/mv debian/build/autoconf.mk.save \
- debian/build/autoconf.mk;
#--------------------------------------------------------------------