#!/usr/bin/make -f dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS="hardening=+pie,+bindnow" dpkg-buildflags %: dh $@ --parallel --with autoreconf override_dh_autoreconf: glib-gettextize --copy --force intltoolize --copy --force --automake dh_autoreconf override_dh_auto_configure: dh_auto_configure -- \ $(shell $(dpkg_buildflags) --export=configure) \ --with-unique \ --with-gtk3 \ --disable-scrollkeeper override_dh_auto_install: dh_auto_install # upstream does not ship the XPM yet and won't install it by default # anyway as it's pretty much specific to Debian mkdir -p "$(CURDIR)/debian/gobby/usr/share/pixmaps" cp "$(CURDIR)/debian/gobby.xpm" \ "$(CURDIR)/debian/gobby/usr/share/pixmaps" # Fix up the wrongly installed icon. mkdir -p "$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/64x64/actions" mv "$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/48x48/actions/chat.png" \ "$(CURDIR)/debian/gobby/usr/share/gobby-0.5/icons/hicolor/64x64/actions" override_dh_strip: dh_strip -a --dbgsym-migration='gobby-dbg (<< 0.5.0-8~)' override_dh_builddeb: dh_builddeb -- -Zxz override_dh_auto_clean: -make distclean rm -f gnome-doc-utils.make po/Makefile.in.in config.log config.status rm -f help/Makefile help/gobby-C.omf po/missing rm -f po/*.gmo rm -f Makefile