File: rules

package info (click to toggle)
ibus-table 1.16.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,804 kB
  • sloc: python: 24,905; xml: 985; makefile: 320; sh: 68
file content (26 lines) | stat: -rwxr-xr-x 661 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND =

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-static \
		--enable-additional \
		--libdir=/usr/lib

override_dh_install:
	rm -rf debian/ibus-table/usr/share/ibus-table/engine/__pycache__
	rm -rf debian/ibus-table/usr/share/ibus-table/setup/__pycache__

override_dh_auto_test:
	# Not running vendored tests since they are searching for
	# installed files, which does not exist in build environment
	# yet