Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # Copyright 2012,2019 Marcin Owsiany <[email protected]>
3
4 export DH_VERBOSE=1
5 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
6 %:
7 dh $@
8
9 override_dh_auto_install:
10 dh_auto_install -- DESTDIR=`pwd`/debian/potool BINDIR='$$(DESTDIR)/usr/bin' BININSTALL=install
11 # filename conflict with the poedit package, handled via alternatives
12 mv debian/potool/usr/bin/poedit debian/potool/usr/bin/potooledit
13 # low quality, Polish-specific
14 rm debian/potool/usr/bin/poupdate
15
16 override_dh_installman:
17 dh_installman
18 # filename conflict with the poedit package, handled via alternatives
19 rename 's,poedit[.]1,potooledit.1,' debian/potool/usr/share/man/*/man1/poedit.1 debian/potool/usr/share/man/man1/poedit.1