]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - debian/rules
feedfile: Thanks, Joey, indeed *not* using usedirs was what I meant.
[git.ikiwiki.info.git] / debian / rules
index da8249920a4daa0208c3e9cf7098ba7b1b5a00fa..0a7ce7a267e43c0999d6e468f7e6844abbc8d660 100755 (executable)
@@ -1,13 +1,18 @@
 #!/usr/bin/make -f
+%:
+       dh $@
+
+override_dh_auto_configure:
+       # keeps it out of /usr/local
+       dh_auto_configure -- PREFIX=/usr
 
-binary: binary-indep
-binary-indep:
-       dh $@ --before dh_compress
+override_dh_compress:
+       # avoid compressing files in the doc wiki
        dh_compress -Xhtml
-       dh $@ --after dh_compress
 
-%:
-       dh $@
+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: