1From 1128a98fd1676981e536d8773f363cb832cfa6bb Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Tue, 6 Mar 2018 22:28:56 +0100
4Subject: [PATCH] Use native tools to build docs
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
10MIME-Version: 1.0
11Content-Type: text/plain; charset=UTF-8
12Content-Transfer-Encoding: 8bit
13
14Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
15
16---
17 docs/Makefile.am | 22 +++++++++++-----------
18 1 file changed, 11 insertions(+), 11 deletions(-)
19
20diff --git a/docs/Makefile.am b/docs/Makefile.am
21index b20918a..47406eb 100644
22--- a/docs/Makefile.am
23+++ b/docs/Makefile.am
24@@ -156,7 +156,7 @@ gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
25
26 ### doc2xxx dependencies
27 gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
28-	$(AM_V_GEN) ./doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms"
29+	$(AM_V_GEN) doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms"
30
31 doc2ms_SOURCES = doc2ms.c termdoc.c
32 doc2ms_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS)
33@@ -177,10 +177,10 @@ pdf_figures: $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu
34 	$(AM_V_GEN)touch $@
35
36 figures.tex: allterm.h doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc
37-	$(AM_V_GEN)./doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@
38+	$(AM_V_GEN) doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@
39
40 nofigures.tex: allterm.h doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc
41-	$(AM_V_GEN)./doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc $@
42+	$(AM_V_GEN) doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc $@
43
44 pdf: gnuplot.pdf
45 pdf_nofig: nofigures.pdf
46@@ -260,7 +260,7 @@ gnuplot.ps: gnuplot.dvi
47 hlp: gnuplot.hlp
48
49 gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc
50-	$(AM_V_GEN)./doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.hlp
51+	$(AM_V_GEN)doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.hlp
52
53 doc2hlp_SOURCES = doc2hlp.c termdoc.c
54
55@@ -268,14 +268,14 @@ doc2hlp_SOURCES = doc2hlp.c termdoc.c
56 gih: gnuplot.gih
57
58 gnuplot.gih: doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc
59-	$(AM_V_GEN)./doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih
60+	$(AM_V_GEN)doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih
61
62 doc2gih_SOURCES = doc2gih.c termdoc.c
63
64 # To include all terminals in the .gih file
65 allgih: alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc
66 	@echo "generate gnuplot.gih with all terminals"
67-	$(AM_V_at)./alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih
68+	$(AM_V_at)alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih
69
70 alldoc2gih_SOURCES = doc2gih.c termdoc.c
71 alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS)
72@@ -290,7 +290,7 @@ $(srcdir)/windows/wgnuplot.hhk
73 wxhelp/wgnuplot.hhc wxhelp/wgnuplot.hhk wxhelp/*.html windows/*.png
74
75 wxhelp/wgnuplot.html: doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc
76-	$(AM_V_GEN) ./doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc wxhelp/
77+	$(AM_V_GEN) doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc wxhelp/
78
79 doc2wxhtml_SOURCES = windows/doc2html.c termdoc.c xref.c allterm.h
80 doc2wxhtml_CPPFLAGS = -DALL_TERM_DOC -DWXHELP -I../src $(AM_CPPFLAGS)
81@@ -340,7 +340,7 @@ install-info: gnuplot.info
82 ipf: gnuplot.ipf
83
84 gnuplot.ipf: doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc
85-	$(AM_V_GEN) ./doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ipf
86+	$(AM_V_GEN) doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ipf
87
88 doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c
89
90@@ -348,7 +348,7 @@ doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c
91 rtf: gnuplot.rtf
92
93 gnuplot.rtf: doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc
94-	$(AM_V_GEN) ./doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rtf
95+	$(AM_V_GEN) doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rtf
96
97 doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c
98
99@@ -356,13 +356,13 @@ doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c
100 rnh: gnuplot.rnh
101
102 gnuplot.rnh: doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc
103-	$(AM_V_GEN) ./doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rnh
104+	$(AM_V_GEN) doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rnh
105
106 doc2rnh_SOURCES = doc2rnh.c termdoc.c
107
108 # this is how to check the gnuplot.doc file
109 check-local: checkdoc$(EXEEXT)
110-	$(AM_V_at)./checkdoc$(EXEEXT) < $(srcdir)/gnuplot.doc; \
111+	$(AM_V_at)checkdoc$(EXEEXT) < $(srcdir)/gnuplot.doc; \
112 	if test $$? -eq 0; then \
113 	  echo "PASS: gnuplot.doc"; \
114 	else \
115--
1162.14.3
117
118