File: rules

package info (click to toggle)
pixman 0.46.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,632 kB
  • sloc: ansic: 56,132; asm: 12,420; perl: 143; python: 121; sh: 74; makefile: 17
file content (32 lines) | stat: -rwxr-xr-x 793 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
#!/usr/bin/make -f

PACKAGE = libpixman-1-0
SHLIBS  = 0.40.0

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Disable Gtk+ autodetection:
override_dh_auto_configure:
	# also avoid loongson2f optimizations on mipsel, see 0.26.0-3
	# changelog entry:
	LS_CFLAGS=" " dh_auto_configure -- \
		-Dgtk=disabled

# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

# Kill *.la files, and forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install

# Shlibs:
override_dh_makeshlibs:
	dh_makeshlibs -p$(PACKAGE) --add-udeb $(PACKAGE)-udeb -V"$(PACKAGE) (>= $(SHLIBS))" -- -c4

override_dh_auto_test:
	dh_auto_test -- --verbose --timeout-multiplier 3

%:
	dh $@ --with quilt --builddirectory=build/