1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_auto_install:
dh_auto_install
$(RM) -v $(TMP)/usr/share/man/man3/Net::Twitter::Lite.3pm \
$(TMP)/usr/share/man/man3/Net::Twitter::Lite::WithAPIv1_1.3pm
pod2man \
--section 3pm --name Net::Twitter::Lite \
$(TMP)/usr/share/perl5/Net/Twitter/Lite.pod > $(TMP)/usr/share/man/man3/Net::Twitter::Lite.3pm
pod2man \
--section 3pm --name Net::Twitter::Lite::WithAPIv1_1 \
$(TMP)/usr/share/perl5/Net/Twitter/Lite/WithAPIv1_1.pod > $(TMP)/usr/share/man/man3/Net::Twitter::Lite::WithAPIv1_1.3pm
|