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 31
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
include /usr/share/GNUstep/debian/config.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,--as-needed
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
optim := debug=yes
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- CC=gcc OBJC=gcc
override_dh_auto_build:
rm -rf libtool Tests/obj Tests/DBusKitTests.bundle
$(MAKE) $(optim) messages=yes \
$(shell dpkg-buildflags --export=cmdline)
override_dh_clean:
rm -rf Tests/obj Tests/DBusKitTests.bundle
dh_clean libtool
override_dh_compress:
dh_compress -X.m -X.gorm -XCOPYING
override_dh_strip:
dh_strip --dbgsym-migration='libdbuskit0-dbg (<< 0.1.1-3~)'
|