summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: e224148fa8649d7f28c9e896709d1f557e397b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "Upstream does not provide test suite"
endif

execute_before_dh_auto_configure:
	cp debian/pod2rst-fix src/

override_dh_install:
	dh_install
	for pl in `grep -Rl '#!/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
	    sed -i '1s?^#!/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' $${pl} ; \
	done
	find debian -name env_parallel.pdksh -delete
	find debian -name env_parallel.ash -delete