summaryrefslogtreecommitdiff
path: root/math/gnuplot/files/patch-docs-Makefile.in
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2012-11-18 04:26:33 +0000
committerGreg Lewis <glewis@FreeBSD.org>2012-11-18 04:26:33 +0000
commitdbfc86e0170d481604a99740812d2a6d1b67b925 (patch)
tree4d86fca587940bd8a3f3cce70b99c57fe98a6cfc /math/gnuplot/files/patch-docs-Makefile.in
parent- Fix index build as mod_jk-apache2 was removed in (diff)
. Update to 4.6.1
Feature safe: yes
Notes
Notes: svn path=/head/; revision=307526
Diffstat (limited to 'math/gnuplot/files/patch-docs-Makefile.in')
-rw-r--r--math/gnuplot/files/patch-docs-Makefile.in59
1 files changed, 47 insertions, 12 deletions
diff --git a/math/gnuplot/files/patch-docs-Makefile.in b/math/gnuplot/files/patch-docs-Makefile.in
index 75fbf7ecb089..242dc97b0328 100644
--- a/math/gnuplot/files/patch-docs-Makefile.in
+++ b/math/gnuplot/files/patch-docs-Makefile.in
@@ -1,23 +1,58 @@
-$FreeBSD$
-
---- docs/Makefile.in.orig Sun Oct 28 18:24:49 2007
-+++ docs/Makefile.in Sun Oct 28 18:25:14 2007
-@@ -351,12 +351,12 @@
+--- docs/Makefile.in.orig 2012-11-02 13:21:14.000000000 -0700
++++ docs/Makefile.in 2012-11-02 13:21:48.000000000 -0700
+@@ -395,15 +395,15 @@
# Thanks to Bruce Ravel for doc2texi.el!
- $(srcdir)/gnuplot.texi: $(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
- @echo "Creating texinfo"
+ gnuplot.texi $(srcdir)/gnuplot-eldoc.el $(srcdir)/gnuplot-eldoc.elc: $(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
+ @echo "Creating texinfo and eldoc strings file"
- @if test "$(EMACS)" != no; then \
-- cd $(srcdir) ; \
-- $(EMACS) -batch -l doc2texi.el -f d2t-doc-to-texi ; \
+- @test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING GNUPLOT.DOC" ; \
+- @test "$(top_srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.doc . ; \
+- $(EMACS) -batch -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \
+- echo "Compiling gnuplot-eldoc.el" ; \
+- $(EMACS) -batch --eval='(byte-compile-file "gnuplot-eldoc.el")' ; \
- else \
- echo "No emacs found - cannot create texinfo file" ; \
- fi
+# @if test "$(EMACS)" != no; then \
-+# cd $(srcdir) ; \
-+# $(EMACS) -batch -l doc2texi.el -f d2t-doc-to-texi ; \
++# @test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING GNUPLOT.DOC" ; \
++# @test "$(top_srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.doc . ; \
++# $(EMACS) -batch -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \
++# echo "Compiling gnuplot-eldoc.el" ; \
++# $(EMACS) -batch --eval='(byte-compile-file "gnuplot-eldoc.el")' ; \
+# else \
+# echo "No emacs found - cannot create texinfo file" ; \
+# fi
+
# this is how to make OS/2 ipfc documentation
- ipf: gnuplot.ipf
+@@ -461,18 +461,18 @@
+ $(INSTALL_DATA) gnuplot.pdf $(DESTDIR)$(GIHDIR)/gnuplot.pdf; \
+ fi
+
+-install-info: gnuplot.info gnuplot-eldoc.el gnuplot-eldoc.elc
+- @if test "$(EMACS)" != no; then \
+- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) $(DESTDIR)$(lispdir); \
+- $(INSTALL_DATA) gnuplot.info $(DESTDIR)$(infodir)/gnuplot.info; \
+- $(INSTALL_DATA) gnuplot-eldoc.el $(DESTDIR)$(lispdir)/gnuplot-eldoc.el; \
+- $(INSTALL_DATA) gnuplot-eldoc.elc $(DESTDIR)$(lispdir)/gnuplot-eldoc.elc; \
+- else : ; fi
+- @if (test "$(EMACS)" != no && install-info --version && \
+- install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
+- echo "install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info || :;\
+- else : ; fi
++install-info:
++# @if test "$(EMACS)" != no; then \
++# $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) $(DESTDIR)$(lispdir); \
++# $(INSTALL_DATA) gnuplot.info $(DESTDIR)$(infodir)/gnuplot.info; \
++# $(INSTALL_DATA) gnuplot-eldoc.el $(DESTDIR)$(lispdir)/gnuplot-eldoc.el; \
++# $(INSTALL_DATA) gnuplot-eldoc.elc $(DESTDIR)$(lispdir)/gnuplot-eldoc.elc; \
++# else : ; fi
++# @if (test "$(EMACS)" != no && install-info --version && \
++# install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
++# echo "install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info";\
++# install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gnuplot.info || :;\
++# else : ; fi
+
+ installcheck:
+