summaryrefslogtreecommitdiff
path: root/graphics/asymptote/Makefile.in
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-09 03:01:25 +0000
committerNorbert Preining <norbert@preining.info>2019-10-09 03:01:25 +0000
commit8d5625f5e48587e6ca4304739304ed11b17cb26c (patch)
treef2c8b0e5f20681e9a35e6c3d33d2ec6a81d05e22 /graphics/asymptote/Makefile.in
parente5ffc42ed260285f76383ae18dd0f4a603c07fa8 (diff)
CTAN sync 201910090301
Diffstat (limited to 'graphics/asymptote/Makefile.in')
-rw-r--r--graphics/asymptote/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/asymptote/Makefile.in b/graphics/asymptote/Makefile.in
index 4255146c89..97ec5419d6 100644
--- a/graphics/asymptote/Makefile.in
+++ b/graphics/asymptote/Makefile.in
@@ -3,6 +3,7 @@
ARCH = unix
POLL = poll
+ASYGLVERSION = @ASYGLVERSION@
GCVERSION = @GCVERSION@
GC = gc-$(GCVERSION)
LIBATOMIC = libatomic_ops-@ATOMICVERSION@
@@ -125,6 +126,10 @@ asy: version glew.o
version: $(GCLIB) $(FILES:=.o) $(notdir $(UIFILES:.ui=.py)) GUI/icons_rc.py
if test ! -s revision.cc -o "$(revision)" != "$(last)"; then \
echo $(REVISION)\"$(revision)\"\; > revision.cc; \
+ echo const char *AsyGLVersion=\"$(ASYGLVERSION)\"\; >> revision.cc; \
+ if test ! -e base/webgl/asygl.js; then \
+ cp base/webgl/asygl-$(ASYGLVERSION).js base/webgl/asygl.js; \
+ fi \
fi
$(CXX) $(OPTS) -o revision.o -c revision.cc;
@@ -255,7 +260,8 @@ install-asy: asy sty
asy-keywords.el $(asydir)
${INSTALL} -p -m 755 GUI/*.py $(GUIdir)
${INSTALL} -p -m 755 base/shaders/*.glsl $(shaderdir)
- ${INSTALL} -p -m 644 base/webgl/*.html base/webgl/*.js $(webgldir)
+ ${INSTALL} -p -m 644 base/webgl/WebGL*.html base/webgl/asygl.js \
+ $(webgldir)
-${INSTALL} -p -m 644 GUI/pyUIClass/*.py $(GUIdir)/pyUIClass
${INSTALL} -p -m 644 GUI/configs/*.cson $(GUIdir)/configs
${INSTALL} -p -m 644 GUI/res/icons.qrc $(GUIdir)/res