File: rules

package info (click to toggle)
gucharmap 1:12.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 10,048 kB
  • sloc: ansic: 8,549; sh: 4,765; perl: 788; makefile: 438; xml: 126
file content (33 lines) | stat: -rwxr-xr-x 784 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
27
28
29
30
31
32
33
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed

export PROG_UNZIP = bunzip2

%:
	dh $@ --with gir,gnome

override_dh_autoreconf:
	./autogen.sh --with-unicode-data=/usr/share/unicode/
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-gtk-doc \
		--enable-vala \
		--enable-introspection \
		--with-unicode-data=/usr/share/unicode/

override_dh_gnome:
	dh_gnome --no-gnome-versions

override_dh_gencontrol:
	dh_gencontrol -- -VBuilt-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W unicode-data)"

override_dh_install:
	find debian/tmp -name '*.la' -print -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing