# HG changeset patch # User John Donoghue # Date 1395276858 14400 # Node ID 1ab2022ff6c72c976c66cd843a23c901102b10cd # Parent f46a7bbfc4915f9e2f377feff73abfa3dfc23957 gnuplot: In mingw, install required auxillary files * src/gnuplot.mk: intsall share/gnuplotrc, share/*.gp, term/PostScript/*.ps, term/PostScript/*.txt diff -r f46a7bbfc491 -r 1ab2022ff6c7 src/gnuplot.mk --- 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/'