File: rules

package info (click to toggle)
ibus-m17n 1.4.38-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,088 kB
  • sloc: ansic: 2,268; xml: 497; makefile: 272; sh: 31
file content (32 lines) | stat: -rwxr-xr-x 698 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
25
26
27
28
29
30
31
32
#!/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 -- \
		--with-gtk=4.0

override_dh_auto_test:
	# run test but disable failing
	-dh_auto_test

execute_before_dh_auto_build:
	# prevent unnecessary updates of PO files
	touch po/*.po
	# preserve it for possible second build
	cp src/m17n.xml.in src/m17n.xml.in.bak

execute_after_dh_auto_clean:
	rm -f po/*.gmo po/stamp-po
	if [ -f src/m17n.xml.in.bak ]; then \
		mv -f src/m17n.xml.in.bak src/m17n.xml.in; \
	fi