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 dh $@
12
13 override_dh_auto_configure:
14 dh_auto_configure -- \
15 --disable-static \
16 --enable-additional \
17 --libdir=/usr/lib
18
19 override_dh_install:
20 rm -rf debian/ibus-table/usr/share/ibus-table/engine/__pycache__
21 rm -rf debian/ibus-table/usr/share/ibus-table/setup/__pycache__
22
23 override_dh_auto_test:
24 # Not running vendored tests since they are searching for
25 # installed files, which does not exist in build environment
26 # yet
27
28 execute_before_dh_auto_build:
29 # prevent unnecessary updates of PO files
30 touch po/*.po