X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/862caff2a9d66ec7b79f03cf769a53ba0fdc3539..bb8f76a4a04686def8cc6f21bcca80cb2cc3b2c9:/debian/rules

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