Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8 export DEB_LDFLAGS_MAINT_APPEND =
9
10
11 %:
12 dh $@
13
14 override_dh_auto_configure:
15 dh_auto_configure -- \
16 --with-gtk=4.0
17
18 override_dh_auto_test:
19 # run test but disable failing
20 -dh_auto_test
21
22 execute_before_dh_auto_build:
23 # prevent unnecessary updates of PO files
24 touch po/*.po
25 # preserve it for possible second build
26 cp src/m17n.xml.in src/m17n.xml.in.bak
27
28 execute_after_dh_auto_clean:
29 rm -f po/*.gmo po/stamp-po
30 if [ -f src/m17n.xml.in.bak ]; then \
31 mv -f src/m17n.xml.in.bak src/m17n.xml.in; \
32 fi