File: rules

package info (click to toggle)
at-spi2-core 2.22.0-6+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,688 kB
  • ctags: 3,466
  • sloc: ansic: 16,852; sh: 11,358; xml: 929; makefile: 370
file content (36 lines) | stat: -rwxr-xr-x 1,021 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
33
34
35
36
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
export DEB_CFLAGS_MAINT_APPEND = -no-pie -fno-pie -fno-PIE
export DEB_LDFLAGS_MAINT_APPEND = -no-pie

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	ac_cv_lib_ICE_IceConnectionNumber=no \
	dh_auto_configure -- --libexecdir=\$${prefix}/lib/at-spi2-core \
			--enable-introspection \
			--enable-gtk-doc

override_dh_auto_install:
	dh_auto_install
	for file in $$(find debian/tmp/usr/lib/ -name "*.la"); do \
		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done

override_dh_auto_test:

override_dh_install:
	rm -f debian/tmp/usr/lib/*/*.la
	dh_install --list-missing

override_dh_makeshlibs:
	dh_makeshlibs -a --add-udeb=libatspi0-udeb -V 'libatspi2.0-0 (>= 2.9.90)'
	dh_girepository -pgir1.2-atspi-2.0

override_dh_strip:
	dh_strip -plibatspi2.0-0 --ddeb-migration='libatspi2.0-0-dbg (<< 2.18.3-4~)'
	dh_strip -plibatspi0-udeb
	dh_strip -pat-spi2-core --ddeb-migration='at-spi2-core-dbg (<< 2.18.3-4~)'
	dh_strip -pat-spi2-core-udeb