[slepc] 08/16: export variables used in scripts
Drew Parsons
dparsons at moszumanska.debian.org
Mon Nov 6 06:33:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch experimental
in repository slepc.
commit fdf418c6d6b5361adfd277b37e53e0e694dde5c2
Author: Drew Parsons <dparsons at debian.org>
Date: Mon Nov 6 12:06:27 2017 +0800
export variables used in scripts
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 7206d41..024f221 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ include /usr/share/dpkg/default.mk
# Overriding this with "contrib" attempts to link with parmetis (unimplemented).
DEBIAN_DIST=main
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# On Alpha, override this with debian/rules SLEPC_ARCH=linux_alpha_dec binary
# to build PETSc libs with the Compaq compilers, though that requires at least:
@@ -48,9 +48,9 @@ SLEPC_COMPLEX_BUILD_DIR=$(SLEPC_ARCH)-complex
# SLEPC_VERSION is used for the package names, library sonames, and
# /usr/lib/slepcdir subdirectory names.
-SLEPC_VERSION=3.8.1$(SLEPC_EXT)
+export SLEPC_VERSION=3.8.1$(SLEPC_EXT)
# use only major.minor as general soname (rather than major.minor.patch.build)
-SLEPC_SONAME_VERSION=$(shell echo $(SLEPC_VERSION) | awk 'BEGIN { FS="."}; {print $$1"."$$2 }')
+export SLEPC_SONAME_VERSION=$(shell echo $(SLEPC_VERSION) | awk 'BEGIN { FS="."}; {print $$1"."$$2 }')
# SLEPC_NAME is the install dir under /usr/lib and the base for package names
SLEPC_SONAME=slepc$(SLEPC_SONAME_VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/slepc.git
More information about the debian-science-commits
mailing list