File: rules

package info (click to toggle)
libchewing 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 14,528 kB
  • sloc: ansic: 104,292; sh: 4,372; makefile: 333; python: 146
file content (24 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE = 1

include /usr/share/dpkg/default.mk

export V=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --includedir=/usr/include/$(DEB_HOST_MULTIARCH)

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# libchewing does not support parallel test
	make check
endif

override_dh_missing:
	rm -f debian/*/usr/lib/*/*.la
	rm -f debian/*/usr/share/info/*.info
	dh_missing --fail-missing