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 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
DH_VERBOSE := 1
DEBVERS := $(shell dpkg-parsechangelog --show-field=Version)
%:
dh $@ --parallel
override_dh_auto_clean:
cd ./sample_data && for script in ./*/cleanme.pl; do $$($$script); done
override_dh_auto_build:
override_dh_auto_test:
dh_auto_test
cd ./sample_data && for script in ./*/cleanme.pl; do $$($$script); done
override_dh_install:
dh_install
find debian/transdecoder -name '*.p?' | xargs sed -i \
's=^#!/usr/local/bin/perl=#!/usr/bin/perl='
find debian/*/usr/lib/transdecoder -type d -empty -delete
override_dh_installman:
pod2man --section=1 --center="Transcriptome Protein Prediction" \
--release="$(DEBVERS)" TransDecoder.LongOrfs > \
debian/TransDecoder.LongOrfs.1
pod2man --section=1 --center="Transcriptome Protein Prediction" \
--release="$(DEBVERS)" TransDecoder.Predict > \
debian/TransDecoder.Predict.1
dh_installman
override_dh_fixperms:
dh_fixperms
chmod -x debian/transdecoder/usr/lib/transdecoder/PerlLib/Fasta_retriever.pm
override_dh_clean:
# generated man pages
dh_clean debian/TransDecoder.LongOrfs.1 debian/TransDecoder.Predict.1
|