| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- \ |
| 11 |
--bindir=games \ |
| 12 |
-Dtheme_kde=false \ |
| 13 |
-Dtheme_pysol_path=/usr/share/games/pysol |
| 14 |
|
| 15 |
override_dh_fixperms: |
| 16 |
dh_fixperms -X/usr/games/sol |
| 17 |
|
| 18 |
override_dh_makeshlibs: |
| 19 |
dh_makeshlibs -p aisleriot --no-act |
| 20 |
dh_makeshlibs --remaining-packages |
| 21 |
|
| 22 |
# Installed by the aisleriot package instead |
| 23 |
execute_after_dh_install: |
| 24 |
rm -f debian/gnome-cards-data/usr/share/aisleriot/cards/anglo.svgz |
| 25 |
|
| 26 |
# Build fails if it tries to strip the .go files |
| 27 |
# https://bugs.debian.org/907061 |
| 28 |
override_dh_strip: |
| 29 |
dh_strip -X.go |
| 30 |
|
| 31 |
# Skip similar build failure |
| 32 |
override_dh_dwz: |
| 33 |
dh_dwz -X.go |