File: rules

package info (click to toggle)
libnet-twitter-perl 4.01005-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 760 kB
  • ctags: 107
  • sloc: perl: 6,441; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_test:
	http_proxy= dh_auto_test

override_dh_auto_install:
	dh_auto_install

	# remove empty manpage and install .pod as manpage
	# cf. #712006
	$(RM) -v $(TMP)/usr/share/man/man3/Net::Twitter.3pm
	pod2man \
		--section 3pm --name Net::Twitter \
		$(TMP)/usr/share/perl5/Net/Twitter.pod > $(TMP)/usr/share/man/man3/Net::Twitter.3pm

	sed -i '1,2 d' $(TMP)/usr/share/perl5/Net/Twitter.pod