Mercurial > mxe-octave
changeset 3577:1ab2022ff6c7
gnuplot: In mingw, install required auxillary files
* src/gnuplot.mk: intsall share/gnuplotrc, share/*.gp, term/PostScript/*.ps, term/PostScript/*.txt
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 19 Mar 2014 20:54:18 -0400 |
parents | f46a7bbfc491 |
children | 583d3bf548e6 |
files | src/gnuplot.mk |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gnuplot.mk Thu Apr 10 10:35:26 2014 -0400 +++ b/src/gnuplot.mk Wed Mar 19 20:54:18 2014 -0400 @@ -25,6 +25,23 @@ $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(3)$(HOST_BINDIR)' $(INSTALL) -m644 '$(1)/src/win/wgnuplot.mnu' '$(3)$(HOST_BINDIR)' + # config files + $(INSTALL) -d '$(3)$(HOST_PREFIX)/share' + $(INSTALL) -m644 '$(1)/share/gnuplotrc' '$(3)$(HOST_PREFIX)/share/' + + for f in $(1)/share/*.gp; do \ + $(INSTALL) -m644 "$$f" '$(3)$(HOST_PREFIX)/share/'; \ + done + + # terminal support + $(INSTALL) -d '$(3)$(HOST_PREFIX)/share/PostScript' + for f in $(1)/term/PostScript/*.ps; do \ + $(INSTALL) -m644 "$$f" '$(3)$(HOST_PREFIX)/share/PostScript/'; \ + done + for f in $(1)/term/PostScript/*.txt; do \ + $(INSTALL) -m644 "$$f" '$(3)$(HOST_PREFIX)/share/PostScript/'; \ + 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/'