[pybind11] 05/08: Simplify the rules file
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Mar 25 13:50:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch experimental
in repository pybind11.
commit 9bc95f43082f2e842ce9bcfa92a73945b2c569ca
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Mar 24 21:38:53 2017 +0000
Simplify the rules file
---
debian/rules | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9885471..0ad6b45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,12 +3,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
- BUILD_OPTIONS = -DPYBIND11_TEST=ON
-else
- BUILD_OPTIONS = -DPYBIND11_TEST=OFF
-endif
-
export PYBUILD_NAME = pybind11
%:
@@ -19,7 +13,11 @@ override_dh_auto_clean:
dh_auto_clean --buildsystem=pybuild
override_dh_auto_configure:
- dh_auto_configure -- $(BUILD_OPTIONS)
+ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+ dh_auto_configure -- -DPYBIND11_TEST=ON
+else
+ dh_auto_configure -- -DPYBIND11_TEST=OFF
+endif
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybind11.git
More information about the debian-science-commits
mailing list