1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# Copyright 2012,2019 Marcin Owsiany <porridge@debian.org>
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
|