| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
# This has to be exported to make some magic below work. |
| 6 |
export DH_OPTIONS |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
# Using '--bindir=/usr/games' by Debian policy |
| 13 |
# (e.g. not the case for Fedora) |
| 14 |
# Using '--disable-desktopfiles' to avoid installing FreeDesktop files |
| 15 |
# on the builder (rather than on the end-user computer) |
| 16 |
dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games \ |
| 17 |
--disable-desktopfiles --disable-silent-rules |
| 18 |
|
| 19 |
override_dh_auto_install: |
| 20 |
# There's only one real package, let's not bother with |
| 21 |
# debian/tmp + move files in dh_install - install straight in |
| 22 |
# the appropriate directory |
| 23 |
dh_auto_install --destdir=debian/freedink-dfarc |
| 24 |
|
| 25 |
override_dh_installdocs: |
| 26 |
dh_installdocs --link-doc=freedink-dfarc |
| 27 |
|
| 28 |
override_dh_installchangelogs: |
| 29 |
dh_installchangelogs ChangeLog |