| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export IKIWIKI_TEST_ASSUME_MODERN_DISCOUNT=1 |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | export TZ=UTC |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_configure: |
| 11 | # keeps it out of /usr/local |
| 12 | dh_auto_configure -- PREFIX=/usr |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 16 | env -u LD_PRELOAD dh_auto_test |
| 17 | endif |
| 18 | |
| 19 | override_dh_compress: |
| 20 | # avoid compressing files in the doc wiki |
| 21 | dh_compress -Xhtml |
| 22 | |
| 23 | override_dh_auto_clean: |
| 24 | # distclean moans about MANIFEST, this is quieter |
| 25 | if [ -e Makefile ]; then $(MAKE) realclean; fi |