[med-svn] [Git][med-team/kallisto][master] 2 commits: Try BUILD_TESTING=ON but this would require...

Andreas Tille gitlab at salsa.debian.org
Thu Mar 21 20:53:01 GMT 2019


Andreas Tille pushed to branch master at Debian Med / kallisto


Commits:
09f6d510 by Andreas Tille at 2019-03-21T17:25:52Z
Try BUILD_TESTING=ON but this would require https://github.com/philsquared/Catch which is not packaged yet

- - - - -
b49b09fe by Andreas Tille at 2019-03-21T17:27:11Z
Cleanup d/rules + hardening

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -1,27 +1,20 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
 
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1 \
+                     -DLINK=shared
+
+# Build time test requires https://github.com/philsquared/Catch
+#                     -DBUILD_TESTING=ON \
 
 %:
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DDEBIAN_BUILD=1
+	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
 
 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:



View it on GitLab: https://salsa.debian.org/med-team/kallisto/compare/663dd0bb6d300661c9d9ddd4972198f35440e10d...b49b09fe55f9aa6356baaf2f020611a4fdff0df5

-- 
View it on GitLab: https://salsa.debian.org/med-team/kallisto/compare/663dd0bb6d300661c9d9ddd4972198f35440e10d...b49b09fe55f9aa6356baaf2f020611a4fdff0df5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190321/ae7ff782/attachment-0001.html>


More information about the debian-med-commit mailing list