changeset 5944:9a893025d734

* src/gnuplot.mk: install term/js files (Bug #61429)
author John Donoghue <john.donoghue@ieee.org>
date Thu, 11 Nov 2021 09:49:07 -0500
parents ccea92e01188
children 540abbedeb37
files src/gnuplot.mk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gnuplot.mk	Wed Nov 10 19:00:21 2021 +0100
+++ b/src/gnuplot.mk	Thu Nov 11 09:49:07 2021 -0500
@@ -76,6 +76,12 @@
     $(INSTALL) -d '$(3)$(HOST_PREFIX)/share/texmf/tex/generic/gnuplot/'
     $(INSTALL) -m644 "$(1)/share/LaTeX/gnuplot-lua-tikz-common.tex" '$(3)$(HOST_PREFIX)/share/texmf/tex/generic/gnuplot/';
 
+    # js files
+    $(INSTALL) -d '$(3)$(HOST_PREFIX)/share/js'
+    for f in $(1)/term/js/*.*; do \
+      $(INSTALL) -m644 "$$f" '$(3)$(HOST_PREFIX)/share/js/'; \
+    done
+
     ## MG: not sure what to do with these and how to integrate with DESTDIR
     $(INSTALL) -d '$(TOP_DIR)/gnuplot/bin'
     $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(TOP_DIR)/gnuplot/bin/'