File: rules

package info (click to toggle)
libbot-training-perl 0.07-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 144 kB
  • sloc: perl: 176; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build

	# Manify again with --utf8 due to E<AElig>
	pod2man --utf8 --section 3pm blib/lib/Bot/Training.pm > blib/man3/Bot::Training.3pm
	pod2man --utf8 --section 1p blib/script/bot-training > blib/man1/bot-training.1p

override_dh_install:
	dh_install
	sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/bot-training