debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | PACKAGE = $(shell dh_listpackages) |
| 4 | TMP = $(CURDIR)/debian/$(PACKAGE) |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_auto_build: |
| 10 | dh_auto_build |
| 11 | |
| 12 | # Manify again with --utf8 due to E<AElig> |
| 13 | pod2man --utf8 --section 3pm blib/lib/Bot/Training.pm > blib/man3/Bot::Training.3pm |
| 14 | pod2man --utf8 --section 1p blib/script/bot-training > blib/man1/bot-training.1p |
| 15 | |
| 16 | override_dh_install: |
| 17 | dh_install |
| 18 | sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/bot-training |