#!/usr/bin/make -f # Copyright 2012,2019 Marcin Owsiany export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_install: dh_auto_install -- DESTDIR=`pwd`/debian/potool BINDIR='$$(DESTDIR)/usr/bin' BININSTALL=install # filename conflict with the poedit package, handled via alternatives mv debian/potool/usr/bin/poedit debian/potool/usr/bin/potooledit # low quality, Polish-specific rm debian/potool/usr/bin/poupdate override_dh_installman: dh_installman # filename conflict with the poedit package, handled via alternatives rename 's,poedit[.]1,potooledit.1,' debian/potool/usr/share/man/*/man1/poedit.1 debian/potool/usr/share/man/man1/poedit.1