summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2010-12-28 14:47:38 +1100
committerBrendan O'Dea <bod@debian.org>2010-12-28 14:47:38 +1100
commitc243b6f9674b915a5e959b2feadea7468ef4ea5b (patch)
treec33fafbe359189ee075b3d9d15861002122e8148
parentbb0e83514c7a6903166f1dc555d089de2e3e726f (diff)
downloadhelp2man-c243b6f9674b915a5e959b2feadea7468ef4ea5b.tar.gz
don't ignore errors from distclean
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index ef55568..1b79e33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ help2man (1.38.4) unstable; urgency=low
* Use INSTALL_SCRIPT to install Perl script.
* Remove deprecated DH_COMPAT in debian/rules, adding debian/compat.
* Add ${misc:Depends}.
+ * Don't ignore errors from distclean.
-- Brendan O'Dea <bod@debian.org> Tue, 28 Dec 2010 14:09:37 +1100
diff --git a/debian/rules b/debian/rules
index 8e36eef..88980c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ clean:
test README -nt help2man.PL # maintainer sanity check
dh_testdir
dh_testroot
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
rm -f build-stamp install-stamp
dh_clean