| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE=1 |
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_CXXFLAGS_MAINT_APPEND = -std=c++14 |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --without autoreconf |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- \ |
| 11 |
--prefix=/usr \ |
| 12 |
--datadir=\$${prefix}/share/games \ |
| 13 |
--bindir=\$${prefix}/games \ |
| 14 |
--mandir=\$${prefix}/share/man \ |
| 15 |
--infodir=\$${prefix}/share/info |
| 16 |
|
| 17 |
override_dh_auto_install: |
| 18 |
mkdir -p $(CURDIR)/debian/tmp/usr/share/games/applications |
| 19 |
dh_auto_install |
| 20 |
find $(CURDIR)/debian/tmp/ -name "*.ttf" -type d -empty -delete |
| 21 |
|
| 22 |
override_dh_link: |
| 23 |
dh_link -pbriquolo-data \ |
| 24 |
usr/share/fonts/truetype/dejavu/DejaVuSans.ttf \ |
| 25 |
usr/share/games/briquolo/data/DejaVuSans.ttf |
| 26 |
|
| 27 |
override_dh_missing: |
| 28 |
dh_missing --list-missing |