[med-svn] [fast5] 05/07: Fix installation of examples

Afif Elghraoui afif at moszumanska.debian.org
Sat Oct 7 04:08:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository fast5.

commit b7ed7f7d89f8ad2a982a88aeb72c5e1406c02732
Author: Afif Elghraoui <afif at debian.org>
Date:   Fri Oct 6 23:47:25 2017 -0400

    Fix installation of examples
    
    Since we have a more complete installation of examples, we
    can install the whole src/ folder. However, it needs to be cleaned
    first and we need to prevent the header files from being compressed.
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index de7ae74..d80886f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,13 +21,16 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 override_dh_auto_test:
 	cd src && $(MAKE)
 
-override_dh_auto_clean:
-	cd src && $(MAKE) clean
+override_dh_auto_clean: clean-examples
 	dh_auto_clean
 	rm -rf python/fast5/fast5.cpp
 
-override_dh_compress:
-	dh_compress -X .cpp
+.PHONY: clean-examples
+clean-examples:
+	cd src && $(MAKE) clean
+
+override_dh_compress: clean-examples
+	dh_compress -X .cpp -X .hpp
 
 override_dh_install:
 	dh_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fast5.git



More information about the debian-med-commit mailing list