File: rules

package info (click to toggle)
msitools 0.106%2Brepack-2%2Bexp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,336 kB
  • sloc: ansic: 18,006; yacc: 862; sh: 416; perl: 217; makefile: 18
file content (30 lines) | stat: -rwxr-xr-x 714 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))

%:
	dh $@ --with gir

override_dh_auto_configure:
ifneq ($(filter nogir,$(DEB_BUILD_PROFILES)),)
	dh_auto_configure -- -Dintrospection=false
else
	dh_auto_configure
endif

override_dh_installchangelogs:
	dh_installchangelogs NEWS

# The license is reproduced verbatim in debian/copyright
execute_after_dh_auto_install:
	rm -f debian/tmp/usr/share/wixl-*/ext/ui/LICENSE.txt

# The tests assume wixl is available, but it isn't built if introspection
# is disabled
ifneq ($(filter nogir,$(DEB_BUILD_PROFILES)),)
override_dh_auto_test:
endif