]> sipb.mit.edu Git - ikiwiki.git/blobdiff - debian/rules
* Smarter behavior when creating a page and a page of the same name (but
[ikiwiki.git] / debian / rules
index 7a0f8868fee3ca56307098d0473563fa34992abe..ac3b328a69f63488bc95a48a8974caeaaecbc01f 100755 (executable)
@@ -23,10 +23,11 @@ binary-indep: build
        dh_clean -k
        $(MAKE) pure_install INSTALLDIRS=vendor \
                PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
+       dh_install debian/wikilist etc/ikiwiki
        dh_installdocs html
-       dh_installexamples
+       dh_link usr/share/common-licenses/GPL usr/share/doc/ikiwiki/html/GPL
        dh_installchangelogs
-       dh_compress
+       dh_compress -X html
        dh_fixperms
        dh_perl
        dh_installdeb
@@ -34,5 +35,9 @@ binary-indep: build
        dh_md5sums
        dh_builddeb
 
+# Not intended for use by anyone except the author.
+announcedir:
+       @echo ${HOME}/src/ikiwiki/doc/news
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary