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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
.PHONY: bam2hints homGeneMapping checkTargetSortedness joingenes
%:
dh $@ --parallel
bin:
mkdir -p bin
bam2hints: bin
$(MAKE) -C auxprogs/bam2hints
homGeneMapping: bin
$(MAKE) -C auxprogs/homGeneMapping/src
checkTargetSortedness: bin
$(MAKE) -C auxprogs/checkTargetSortedness
joingenes: bin
$(MAKE) -C auxprogs/joingenes
override_dh_auto_clean:
$(MAKE) -C auxprogs/bam2hints clean
$(MAKE) -C auxprogs/homGeneMapping/src clean
$(MAKE) -C auxprogs/joingenes clean
rm -rf bin
override_dh_auto_build: bam2hints homGeneMapping checkTargetSortedness joingenes bin
dh_auto_build
asciidoctor -a docdate='' -b manpage debian/mansrc/*adoc
override_dh_installchangelogs:
dh_installchangelogs -k HISTORY.TXT
override_dh_auto_install:
mkdir -p debian/augustus/usr/bin
install bin/* debian/augustus/usr/bin
install auxprogs/checkTargetSortedness/checkTargetSortedness \
debian/augustus/usr/bin
install auxprogs/homGeneMapping/src/homGeneMapping \
debian/augustus/usr/bin
install auxprogs/joingenes/joingenes \
debian/augustus/usr/bin
mkdir -p debian/augustus/usr/share/augustus
cp -r scripts debian/augustus/usr/share/augustus
chmod -R -x debian/augustus/usr/share/augustus/scripts/*
chmod +x debian/augustus/usr/share/augustus/scripts/checkUTR \
debian/augustus/usr/share/augustus/scripts/*.pl
mkdir -p debian/augustus-doc/usr/share/doc/augustus
cp README* debian/augustus-doc/usr/share/doc/augustus
cp docs/*.txt debian/augustus-doc/usr/share/doc/augustus
cp -r docs/tutorial \
debian/augustus-doc/usr/share/doc/augustus
mkdir -p debian/augustus-data/usr/share/augustus
cp -r config debian/augustus-data/usr/share/augustus
find debian/augustus-data/usr/share/augustus \
-type f -exec chmod -x {} \;
override_dh_compress:
dh_compress -Xtutorial
|