[Debian-astro-commits] [iraf] 01/05: Add iraf and host envvars to d/rules
Ole Streicher
olebole at moszumanska.debian.org
Thu Nov 23 08:13:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository iraf.
commit fa2306b9b2436459d30824019f0080e6abd6567a
Author: Ole Streicher <olebole at debian.org>
Date: Wed Nov 22 17:19:12 2017 +0100
Add iraf and host envvars to d/rules
---
debian/rules | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index bfb7440..42505b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@
%:
dh $@
-BUILD_TMP=$(CURDIR)/irafbuild
+export iraf=$(CURDIR)/
+export host=$(iraf)unix/
+BUILD_TMP=$(iraf)/irafbuild
export HOME=$(BUILD_TMP)
export IRAFARCH=$(shell ./unix/hlib/irafarch.sh)
@@ -16,7 +18,7 @@ override_dh_auto_configure:
--bindir $(BUILD_TMP)/bin \
--cache $(BUILD_TMP)/cache \
--imdir $(BUILD_TMP)/imdir \
- --root $(CURDIR) < /dev/null || true
+ --root $(iraf) < /dev/null || true
$(MAKE) $(IRAFARCH)
override_dh_auto_build-arch:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/iraf.git
More information about the Debian-astro-commits
mailing list