| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE=1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --no-parallel |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- --prefix=/usr --datadir=/usr/share --bindir=/usr/games --localstatedir=/var/games --libdir=/usr/lib --libexecdir=/usr/lib --without-esd |
| 12 |
|
| 13 |
execute_before_dh_autoreconf: |
| 14 |
cp -f $(shell automake --print-libdir)/mkinstalldirs . |
| 15 |
|
| 16 |
execute_before_dh_autoreconf_clean: |
| 17 |
rm -f mkinstalldirs |
| 18 |
|
| 19 |
execute_after_dh_install: |
| 20 |
rm -f $(CURDIR)/debian/dopewars-data/usr/share/doc/dopewars/html/LICENCE |
| 21 |
rm -rf $(CURDIR)/debian/dopewars/var |
| 22 |
rm -f $(CURDIR)/debian/tmp/var/games/dopewars.sco |
| 23 |
|
| 24 |
override_dh_makeshlibs: |
| 25 |
dh_makeshlibs -Xusr/lib/dopewars |