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
# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Set the user environment variable required by the test suite.
export USER=testuser
# Get vendorarch path
ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
PACKAGE := $(shell dh_listpackages)
override_dh_auto_configure:
dh_auto_configure -- LIBS="-lsasl2" DEFINE="-DSASL2"
override_dh_auto_test:
dh_auto_test
override_dh_fixperms:
chmod 644 debian/$(PACKAGE)$(ARCHLIB)/Authen/SASL/Cyrus.pod
dh_fixperms
%:
dh $@
|