File: rules

package info (click to toggle)
exempi 2.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,780 kB
  • sloc: cpp: 79,791; sh: 4,606; ansic: 538; makefile: 383
file content (25 lines) | stat: -rwxr-xr-x 511 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/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-unittest=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),no,yes)

override_dh_installdocs:
	dh_installdocs --all AUTHORS NEWS README.md README-Adobe.md

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

override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
	dh_auto_test || true
else
	dh_auto_test
endif