| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | # Sample debian/rules that uses debhelper. |
| 4 | # This file was originally written by Joey Hess and Craig Small. |
| 5 | # As a special exception, when this file is copied by dh-make into a |
| 6 | # dh-make output file, you may use that output file without restriction. |
| 7 | # This special exception was added by Craig Small in version 0.37 of dh-make. |
| 8 | |
| 9 | # Uncomment this to turn on verbose mode. |
| 10 | #export DH_VERBOSE=1 |
| 11 | |
| 12 | # Hardening flags |
| 13 | export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow |
| 14 | |
| 15 | %: |
| 16 | dh $@ |
| 17 | |
| 18 | override_dh_autoreconf: |
| 19 | rm m4/*.m4 |
| 20 | dh_autoreconf |
| 21 | |
| 22 | override_dh_auto_configure: |
| 23 | dh_auto_configure -- \ |
| 24 | --with-tinyxml \ |
| 25 | --enable-ttf-font-dir=/usr/share/fonts/truetype/freefont \ |
| 26 | $(shell dpkg-buildflags --export=configure) |
| 27 | |
| 28 | override_dh_install: |
| 29 | rm -rf $(CURDIR)/debian/gource/usr/share/gource/fonts/ |