Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYTHON=/usr/bin/python3
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
7 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
8
9 %:
10 dh $@
11
12 override_dh_auto_configure:
13 dh_auto_configure -- --libexecdir=/usr/lib/caribou \
14 --disable-gtk2-module
15
16 override_dh_autoreconf:
17 dh_autoreconf --as-needed
18
19 execute_before_dh_install:
20 find debian/tmp -name '*.a' -print -delete
21 find debian/tmp -name '*.la' -print -delete
22 find debian/tmp -name '__pycache__' -print | xargs -r rm -rf
23
24 override_dh_makeshlibs:
25 dh_makeshlibs -plibcaribou-gtk3-module --no-act
26 dh_makeshlibs --remaining-packages