1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
%:
dh ${@} --with autotools_dev
override_dh_auto_install:
dh_auto_install
# Removing useless files
rm -f debian/tmp/usr/lib/*/*.la
override_dh_install:
dh_install --fail-missing
sed -e "s;-D_FORTIFY_SOURCE=2;;" \
-i $(CURDIR)/debian/libdoodle-dev/usr/lib/*/pkgconfig/doodle.pc
override_dh_installinit:
dh_installinit --update-rcd-params='defaults 22'
override_dh_strip:
dh_strip --dbg-package=doodle-dbg
|