1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
ifneq (,$(DEB_MAINTAINER_MODE))
NETWORK = --network
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(NETWORK)
override_dh_clean:
dh_clean build-stamp install-stamp bioperl.conf biodatabases.pod \
biodesign.pod bioperl.pod bioscripts.pod
override_dh_installchangelogs:
dh_installchangelogs Changes
override_dh_installexamples:
dh_installexamples examples/*
for pl in `grep -Rl '#![[:space:]]*/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
sed -i '1s?^#![[:space:]]*/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' $${pl} ; \
done
for pl in `grep -Rl '#![[:space:]]*/usr/local/bin/perl' debian/*/usr/*` ; do \
sed -i '1s?^#![[:space:]]*/usr/local/bin/[[:space:]]*perl?#!/usr/bin/perl?' $${pl} ; \
done
|