| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE = 1 |
| 4 |
|
| 5 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 6 |
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 9 |
# package maintainers to append CFLAGS |
| 10 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 11 |
# package maintainers to append LDFLAGS |
| 12 |
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 13 |
|
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
# Using '--bindir=/usr/games' by Debian policy |
| 20 |
# (e.g. not the case for Fedora) |
| 21 |
dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games \ |
| 22 |
--disable-silent-rules --disable-tests |
| 23 |
|
| 24 |
override_dh_auto_install: |
| 25 |
# There's only one real package, let's not bother with |
| 26 |
# debian/tmp + move files in dh_install - install straight in |
| 27 |
# the appropriate directory |
| 28 |
dh_auto_install --destdir=debian/freedink-engine |
| 29 |
# Lintian complains with 'duplicate-font-file', let's have |
| 30 |
# FreeDink rely on libfontconfig + depend on ttf-liberation |
| 31 |
rm debian/freedink-engine/usr/share/games/freedink/LiberationSans-Regular.ttf |