export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
- dh $@
+ dh $@ --with autoreconf
+
+#Place debugging symbols into abook-dbg package
+override_dh_strip:
+ dh_strip --dbg-package=abook-dbg
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/abook
+
+override_dh_installdocs:
+ dh_installdocs --link-doc=abook