]> git.pld-linux.org Git - packages/gnuplot.git/commitdiff
- patcha which allow "make install DESTDIR=</install/prefix>".
authorkloczek <kloczek@pld-linux.org>
Tue, 29 Jun 1999 08:28:04 +0000 (08:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnuplot-DESTDIR.patch -> 1.1

gnuplot-DESTDIR.patch [new file with mode: 0644]

diff --git a/gnuplot-DESTDIR.patch b/gnuplot-DESTDIR.patch
new file mode 100644 (file)
index 0000000..31aca68
--- /dev/null
@@ -0,0 +1,39 @@
+diff -Nru gnuplot-3.7.0.8/docs/Makefile.in gnuplot-3.7.0.8.new/docs/Makefile.in
+--- gnuplot-3.7.0.8/docs/Makefile.in   Fri Jun 11 20:50:51 1999
++++ gnuplot-3.7.0.8.new/docs/Makefile.in       Tue Jun 29 10:28:14 1999
+@@ -333,15 +333,15 @@
+ # For Unix and MSDOS only
+ install: gnuplot.gih
+-      $(top_srcdir)/mkinstalldirs $(datadir)
+-      $(INSTALL_DATA) gnuplot.gih $(datadir)/gnuplot.gih
++      $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)
++      $(INSTALL_DATA) gnuplot.gih $(DESTDIR)$(datadir)/gnuplot.gih
+ uninstall:
+       rm -f $(datadir)/gnuplot.gih
+ # for VMS only
+ install-vms: gnuplot.hlp
+-      $(INSTALL_DATA) gnuplot.hlp $(datadir)/gnuplot.hlp
++      $(INSTALL_DATA) gnuplot.hlp $(DESTDIR)$$(datadir)/gnuplot.hlp
+ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+diff -Nru gnuplot-3.7.0.8/lisp/Makefile.in gnuplot-3.7.0.8.new/lisp/Makefile.in
+--- gnuplot-3.7.0.8/lisp/Makefile.in   Thu May 13 20:54:13 1999
++++ gnuplot-3.7.0.8.new/lisp/Makefile.in       Tue Jun 29 10:33:30 1999
+@@ -109,10 +109,10 @@
+ all: gnuplot.elc info-look.elc gnuplot-gui.elc
+ install:
+-      $(mkinstalldirs) $(lispdir)
++      $(mkinstalldirs) $(DESTDIR)$(lispdir)
+       @for p in *.elc; do \
+-        echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
+-        $(INSTALL_DATA) $$p $(lispdir)/$$p; \
++        echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \
++        $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \
+       done
+ # empty uninstall target; could be filled later
This page took 0.043786 seconds and 4 git commands to generate.