summaryrefslogtreecommitdiff
path: root/graphics/asymptote/build-scripts/build-asymptote
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/build-scripts/build-asymptote
parente5ffc42ed260285f76383ae18dd0f4a603c07fa8 (diff)
CTAN sync 201910090301
Diffstat (limited to 'graphics/asymptote/build-scripts/build-asymptote')
-rwxr-xr-xgraphics/asymptote/build-scripts/build-asymptote9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/asymptote/build-scripts/build-asymptote b/graphics/asymptote/build-scripts/build-asymptote
index fdbb28ee69..9bbc66b36c 100755
--- a/graphics/asymptote/build-scripts/build-asymptote
+++ b/graphics/asymptote/build-scripts/build-asymptote
@@ -42,7 +42,16 @@ rm -rf .gitignore .vscode
./configure
make $MAKEFLAGS check || exit
make uninstall
+build-scripts/build-asygl
+GLMATRIX=`/bin/ls -d gl-matrix-*-pruned`
+mkdir temp
+mv $GLMATRIX temp
+mkdir -p $GLMATRIX/dist
+cp temp/$GLMATRIX/LICENSE.js $GLMATRIX/
+cp temp/$GLMATRIX/dist/gl-matrix.js $GLMATRIX/dist/
+rm -rf temp
make $MAKEFLAGS asy
+rm base/webgl/asygl-*.js
make -j1 all
make -j1 install
#rm asy