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
|