File: rules

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

PERL ?= /usr/bin/perl

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build

	cd $(CURDIR)/lib && \
		(for i in Mail/*.pod; do echo Mail::`basename $$i .pod` ; pod2text $$i | $(PERL) -ne '$$/=""; s/^DESCRIPTION// && print'; done) >> $(CURDIR)/debian/OVERVIEW

	cd examples && \
		$(PERL) forwd_demo.PL; $(PERL) rplyto_demo.PL; $(PERL) send_demo.PL