[med-svn] [jellyfish1] 02/02: Take over some enhancements from jellyfish 2 package
Andreas Tille
tille at debian.org
Tue Aug 8 15:11:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository jellyfish1.
commit 588c6eefcbadc15f6b16bc5da72401933be32b44
Author: Andreas Tille <tille at debian.org>
Date: Tue Aug 8 17:11:23 2017 +0200
Take over some enhancements from jellyfish 2 package
---
debian/rules | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 415ed0f..35470bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,15 +2,28 @@
export DH_OPTIONS
-include /usr/share/dpkg/default.mk
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+include /usr/share/dpkg/default.mk
%:
dh $@
+override_dh_clean:
+ dh_clean
+ if [ -d debian/tmp_save_tests ] ; then \
+ mv debian/tmp_save_tests/* tests ; \
+ rmdir debian/tmp_save_tests ; \
+ fi
+
override_dh_auto_configure:
dh_auto_configure
+override_dh_auto_build:
+ mkdir -p debian/tmp_save_tests
+ cp -a tests/* debian/tmp_save_tests
+ dh_auto_build -- all bin/generate_sequence bin/test_all
+
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
@@ -30,4 +43,10 @@ override_dh_installman:
# FIXME
override_dh_auto_test:
# dh_auto_test && true
- echo "****************************************************** do not test for the moment ******************************************************"
\ No newline at end of file
+ echo "****************************************************** do not test for the moment ******************************************************"
+
+# jellyfish contains a *really* big test which should *not* run on autobuilders
+# if you have a *really* large machine you can try to activate this test by
+# uncommenting the following.
+#override_dh_auto_test:
+# BIG=1 dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/jellyfish1.git
More information about the debian-med-commit
mailing list