File: rules

package info (click to toggle)
pango1.0 1.40.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,144 kB
  • ctags: 7,023
  • sloc: ansic: 41,765; sh: 4,324; makefile: 1,094; python: 203; perl: 56; cpp: 20
file content (25 lines) | stat: -rwxr-xr-x 649 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
#!/usr/bin/make -f

include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

GNOME_MODULE := pango

# Ensure the build aborts when there are still references to undefined symbols
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with gnome,gir

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=\$${prefix}/lib/pango1.0 \
		--with-html-dir=\$${prefix}/share/doc/libpango1.0-doc \
		--enable-installed-tests \
		--enable-static

override_dh_install:
	dh_install -X.la --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -V --add-udeb=libpango1.0-udeb -- -c4