File: rules

package info (click to toggle)
libgsystem 2015.2%2Bdeb-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 656 kB
  • ctags: 502
  • sloc: ansic: 5,031; sh: 494; makefile: 36
file content (26 lines) | stat: -rwxr-xr-x 611 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
#!/usr/bin/make -f

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

%:
	dh $@ --parallel --with=autoreconf,gir

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure \
		-- \
		--disable-silent-rules \
		--enable-installed-tests \
		--libexecdir=/usr/lib \
		$(NULL)

override_dh_install:
	# installed-tests are not installed yet, that requires a trip
	# through NEW
	rm -fr debian/tmp/usr/lib/installed-tests
	rm -fr debian/tmp/usr/share/installed-tests
	rm -f debian/tmp/usr/lib/*/*.la
	dh_install --fail-missing