Debian Codegraph @

debian/rules

raw
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 -Dgjs=false \
16 -Dgtk_doc=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \
17 -Dlua51=false \
18 -Dvapi=true
19
20 override_dh_makeshlibs:
21 dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/libpeas-2/
22
23 override_dh_auto_test:
24 dh_auto_test -- --timeout-multiplier=6
25
26 # We only use dh_gnome to automatically run dh_translations in Ubuntu
27 override_dh_gnome: