]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - debian/rules
f68df72a54713e2ae778a3a14bce7e46c61ec417
[git.ikiwiki.info.git] / debian / rules
1 #!/usr/bin/make -f
2 %:
3         LC_ALL=C.UTF-8 TZ=UTC dh $@
5 override_dh_auto_configure:
6         # keeps it out of /usr/local
7         dh_auto_configure -- PREFIX=/usr
9 override_dh_auto_install:
10         dh_auto_install
11         sed -i -e '1s,^#!.*/python$$,#!/usr/bin/python3,' \
12                 debian/tmp/usr/lib/ikiwiki/plugins/*
14 override_dh_compress:
15         # avoid compressing files in the doc wiki
16         dh_compress -Xhtml
18 override_dh_auto_clean:
19         # distclean moans about MANIFEST, this is quieter
20         if [ -e Makefile ]; then $(MAKE) realclean; fi