#!/usr/bin/make -f # export DH_VERBOSE=1 export LDFLAGS += -Wl,--as-needed export LDFLAGS += -Wl,-z,relro %: dh $@ override_dh_auto_configure: ifeq ($(DEB_HOST_ARCH),mips64el) patch -p1 -R < debian/patches/new-json-hpp.patch endif ./bootstrap dh_auto_configure -- --disable-silent-rules --enable-debug override_dh_auto_install: dh_auto_install mv debian/tmp/usr/bin/poedit debian/tmp/usr/bin/poeditor mv debian/tmp/usr/share/man/man1/poedit.1 debian/tmp/usr/share/man/man1/poeditor.1 override_dh_install-indep: dh_install -ppoedit-common debian/tmp/usr/share/locale usr/share/ dh_install -ppoedit-common debian/tmp/usr/share/poedit usr/share/ find debian/poedit-common/usr/share/locale -type d -empty -delete override_dh_installchangelogs: dh_installchangelogs NEWS