| 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 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 6 |
|
| 7 |
# needed with the Ubuntu toolchain to avoid issues |
| 8 |
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
dh_auto_configure -- \ |
| 15 |
-Dgtk_doc=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \ |
| 16 |
-Dlua51=false \ |
| 17 |
-Dpython2=false \ |
| 18 |
-Dpython3=true |
| 19 |
|
| 20 |
override_dh_makeshlibs: |
| 21 |
dh_makeshlibs -p libpeas-1.0-1 \ |
| 22 |
-X/usr/lib/$(DEB_HOST_MULTIARCH)/libpeas-1.0/ |
| 23 |
dh_makeshlibs --remaining-packages |
| 24 |
|
| 25 |
override_dh_auto_test: |
| 26 |
debian/tests/run-with-display x11 \ |
| 27 |
dh_auto_test -- --timeout-multiplier=6 |
| 28 |
|
| 29 |
# We only use dh_gnome to automatically run dh_translations in Ubuntu |
| 30 |
override_dh_gnome: |