[asymptote] 11/16: Provide ASYMPTOTE_HOME, avoiding lots of warning when HOME is unset.
This is an automated email from the git hooks/post-receive script.
preining pushed a commit to branch master
in repository asymptote.
commit 322b558f8af3cb7ffa2a3c9546d66f94c52d8d66
Author: Nicolas Boulenguez <nicolas@debian.org>
Date: Tue Oct 31 11:21:37 2017 +0100
Provide ASYMPTOTE_HOME, avoiding lots of warning when HOME is unset.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 268a724..4b71f73 100644
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,11 @@ override_dh_auto_configure:
--with-context=/usr/share/texmf/tex/context/third \
$(foreach v,CFLAGS CPPFLAGS CXXFLAGS LDFLAGS,'$(v)=$($(v))')
+# Avoid a warning every time asy is run if HOME is unset.
+export ASYMPTOTE_HOME := $(CURDIR)/debian/tmp_asymptote_home
+override_dh_auto_configure: | $(ASYMPTOTE_HOME)
+$(ASYMPTOTE_HOME):
+ mkdir $(ASYMPTOTE_HOME)
override_dh_auto_build:
make asy man
@@ -38,6 +43,7 @@ override_dh_clean:
rm --force doc/latexusage.pdf doc/latexusage.dvi doc/TeXShopAndAsymptote.dvi doc/CAD.dvi
rm --force doc/*.aux doc/*.cp doc/*.cps doc/*.idx doc/*.ins doc/*.log doc/*.toc doc/asymptote.fn doc/asymptote.ky doc/asymptote.pg doc/asymptote.tp doc/asymptote.vr asy.list
rm --force doc/asyRefCard.pdf doc/asyRefCard.dvi
+ rm -fr $(ASYMPTOTE_HOME)
#
# download current release based on the changelog entry from sf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git
Reply to: