X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/25b1f60aeb26f8d14d7619b304f8aca0735c850f..8363107a9e3dd3aa4221f6f3185eeed2687c0c79:/debian/rules?ds=sidebyside

diff --git a/debian/rules b/debian/rules
index 0a6571521..0a7ce7a26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,17 +2,17 @@
 %:
 	dh $@
 
-# keeps it out if /usr/local
 override_dh_auto_configure:
+	# keeps it out of /usr/local
 	dh_auto_configure -- PREFIX=/usr
 
-# avoid compressing files in the doc wiki
 override_dh_compress:
+	# avoid compressing files in the doc wiki
 	dh_compress -Xhtml
 
-# distclean moans about MANIFEST, this is quieter
 override_dh_auto_clean:
-	$(MAKE) realclean
+	# distclean moans about MANIFEST, this is quieter
+	if [ -e Makefile ]; then $(MAKE) realclean; fi
 
 # Not intended for use by anyone except the author.
 announcedir: