| 1 |
|
| 2 |
|
| 3 |
PKG:=$(shell dh_listpackages) |
| 4 |
TMP:=$(CURDIR)/debian/$(PKG) |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_clean: |
| 10 |
dh_auto_clean |
| 11 |
set -e; for component in ep r sc; do \ |
| 12 |
dh_auto_clean --sourcedirectory=$(CURDIR)/$$component ; \ |
| 13 |
done |
| 14 |
|
| 15 |
override_dh_auto_configure: |
| 16 |
dh_auto_configure |
| 17 |
set -e; for component in ep r sc; do \ |
| 18 |
dh_auto_configure --sourcedirectory=$(CURDIR)/$$component ; \ |
| 19 |
done |
| 20 |
|
| 21 |
override_dh_auto_build: |
| 22 |
dh_auto_build |
| 23 |
set -e; for component in ep r sc; do \ |
| 24 |
dh_auto_build --sourcedirectory=$(CURDIR)/$$component ; \ |
| 25 |
done |
| 26 |
|
| 27 |
override_dh_auto_test: |
| 28 |
LC_ALL=C.UTF-8 dh_auto_test |
| 29 |
set -e; for component in ep r sc; do \ |
| 30 |
PERL5LIB=$(CURDIR)/blib/lib LC_ALL=C.UTF-8 dh_auto_test --sourcedirectory=$(CURDIR)/$$component ; \ |
| 31 |
done |
| 32 |
|
| 33 |
override_dh_auto_install: |
| 34 |
dh_auto_install |
| 35 |
set -e; for component in ep r sc; do \ |
| 36 |
dh_auto_install --sourcedirectory=$(CURDIR)/$$component ; \ |
| 37 |
done |
| 38 |
|
| 39 |
override_dh_installexamples: |
| 40 |
dh_installexamples |
| 41 |
chmod a+x $(TMP)/usr/share/doc/$(PKG)/examples/Mailform/*.cgi |
| 42 |
|
| 43 |
override_dh_installchangelogs: |
| 44 |
dh_installchangelogs |
| 45 |
set -e; for component in ep r sc; do \ |
| 46 |
mkdir $(TMP)/usr/share/doc/$(PKG)/$$component/ ; \ |
| 47 |
cp $(CURDIR)/$$component/Changes $(TMP)/usr/share/doc/$(PKG)/$$component/ ; \ |
| 48 |
done |