[med-svn] [augustus] 02/02: reorganise auxprogs building
Sascha Steinbiss
sascha at steinbiss.name
Sat Apr 2 22:34:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository augustus.
commit d334e0a0789bf75319da9342a4bae9565d37b67e
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Sat Apr 2 22:34:14 2016 +0000
reorganise auxprogs building
---
debian/rules | 42 +++++++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 19 deletions(-)
diff --git a/debian/rules b/debian/rules
index a237fa1..6c5bf53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,30 +1,34 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+.PHONY: bam2hints homGeneMapping checkTargetSortedness joingenes
%:
- dh $@
+ 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:
- cd auxprogs/bam2hints && $(MAKE) clean
- rm -f bam2hints
- cd $(CURDIR)
- cd auxprogs/homGeneMapping/src && $(MAKE) clean
- cd $(CURDIR)
- cd auxprogs/joingenes && $(MAKE) clean
- cd $(CURDIR)
- dh_auto_clean
-
-override_dh_auto_build:
+ $(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
- cd auxprogs/bam2hints && $(MAKE)
- cd $(CURDIR)
- cd auxprogs/checkTargetSortedness && $(MAKE)
- cd $(CURDIR)
- cd auxprogs/homGeneMapping/src && $(MAKE)
- cd $(CURDIR)
- cd auxprogs/joingenes && $(MAKE)
- cd $(CURDIR)
asciidoctor -a docdate='' -b manpage debian/mansrc/*adoc
override_dh_installchangelogs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/augustus.git
More information about the debian-med-commit
mailing list