1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include debian/debian-autotools.mk
override_dh_auto_configure:
$(config-save)
$(config-patch)
dh_auto_configure -- --disable-rpath
# Still leaves -Wl,--rpath, so fix manually
sed --in-place "s,^\(hardcode_libdir_flag_spec\),#\1," libtool
override_dh_installchangelogs:
$(config-restore)
dh_installchangelogs ChangeLog
%:
dh $@
# End of file
|