[metview] 85/97: Set METVIEW_BIN during build

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Sep 1 09:18:57 UTC 2015


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

mckinstry pushed a commit to branch master
in repository metview.

commit fd2ed2e019698a973418f80024b92119d7ed576c
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jul 24 07:48:01 2015 +0100

    Set METVIEW_BIN during build
---
 debian/CONFIG.site.in | 2 +-
 debian/rules          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/CONFIG.site.in b/debian/CONFIG.site.in
index 775ffbb..8b7a513 100644
--- a/debian/CONFIG.site.in
+++ b/debian/CONFIG.site.in
@@ -11,7 +11,7 @@ PATH=::${PATH}
 INSTALLDIR=/usr
 METVIEW_SCRIPT=metview
 MV_MARS_ACCESS=MARS_webapi
-METVIEW_BIN=/usr/lib/@ARCH@/metview
+METVIEW_BIN=${METVIEW_BIN-/usr/lib/@ARCH@/metview}
 MARS_HOME=
 # Remove METVIEW_DIR_DEV on installation; inherit from environment during build
 # METVIEW_DIR_DEV=UNDEFINED
diff --git a/debian/rules b/debian/rules
index fb8d9a6..3d4b8b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@ PATH:=$(PATH):$(CURDIR)/scripts
 AUTOGENERATED:= libmetview-dev.install  metview.install
 MV_DIR:=/usr/lib/$(DEB_HOST_MULTIARCH)/metview
 export METVIEW_DIR_DEV:=$(CURDIR)/debian/build
+export METVIEW_BIN:=$(METVIEW_DIR_DEV)/bin
 
 # magic debhelper rule
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git



More information about the debian-science-commits mailing list