Mercurial > octave-nkf
annotate doc/module.mk @ 20358:820c5a4dd0ab
use $(abs_top_srcdir) in TEXINPUTS for processing refcard sources
* doc/module.mk ($(refcard_DVI), $(refcard_PDF)): use
$(abs_top_srcdir) instead of $(srcdir) to set TEXINPUTS.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 08 Jul 2015 12:48:35 -0400 |
parents | 9e361ecea878 |
children | 2d84d27dc9f0 |
rev | line source |
---|---|
20342
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 TEXINFO_TEX = doc/texinfo.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 TEXINPUTS := $(PATH_SEPARATOR)$(top_srcdir)/doc/interpreter$(PATH_SEPARATOR)$(PATH_SEPARATOR)$(top_builddir)/doc/interpreter$(PATH_SEPARATOR)$(TEXINPUTS)$(PATH_SEPARATOR) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 export TEXINPUTS |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 TEXMFCNF := $(PATH_SEPARATOR)$(top_srcdir)/doc$(PATH_SEPARATOR)$(top_builddir)/doc$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 export TEXMFCNF |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 DVIPS = dvips |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 TEX = tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 PDFTEX = pdftex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 AM_V_TEX = $(am__v_TEX_$(V)) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 am__v_TEX_ = $(am__v_TEX_$(AM_DEFAULT_VERBOSITY)) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 am__v_TEX_0 = @echo " TEX " $@; |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 am__v_TEX_1 = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 AM_V_PDFTEX = $(am__v_PDFTEX_$(V)) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 am__v_PDFTEX_ = $(am__v_PDFTEX_$(AM_DEFAULT_VERBOSITY)) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 am__v_PDFTEX_0 = @echo " PDFTEX " $@; |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 am__v_PDFTEX_1 = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 if AMCOND_BUILD_DOCS |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 ## Listing "dvi" explicitly here seems to cause two simultaneous |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 ## builds of the DVI files, presumably because the PS version |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 ## also depends on the DVI file and somehow the rules are invoked |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 ## twice. Is that a bug in automake or make or what? |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 DOC_TARGETS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 doc/interpreter/doc-cache |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 EXTRA_DIST += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 doc/texinfo.tex \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 doc/texmf.cnf |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 EXTRA_DIST += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 doc/doxyhtml/Doxyfile.in \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 doc/doxyhtml/README |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
40 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 doxyhtml: doxyhtml/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 doxygen doxyhtml/Doxyfile |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
43 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 doxyhtml-maintainer-clean: |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 rm -rf `ls doc/doxyhtml | $(GREP) -v Doxyfile` |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 DIRSTAMP_FILES += doxyhtml/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
49 GRAPH_PROP_TEXI_SRC = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 doc/interpreter/plot-axesproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
51 doc/interpreter/plot-figureproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 doc/interpreter/plot-imageproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 doc/interpreter/plot-lineproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 doc/interpreter/plot-patchproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 doc/interpreter/plot-rootproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 doc/interpreter/plot-surfaceproperties.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 doc/interpreter/plot-textproperties.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 define gen-propdoc-texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 $(top_builddir)/run-octave -f -q -H -p $(srcdir)/doc/interpreter --eval "genpropdoc ('$(1)');" > $@-t && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 endef |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 doc/interpreter/plot-axesproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 $(AM_V_GEN)$(call gen-propdoc-texi,axes) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 doc/interpreter/plot-figureproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 $(AM_V_GEN)$(call gen-propdoc-texi,figure) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 doc/interpreter/plot-imageproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 $(AM_V_GEN)$(call gen-propdoc-texi,image) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 doc/interpreter/plot-lineproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 $(AM_V_GEN)$(call gen-propdoc-texi,line) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
77 doc/interpreter/plot-patchproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 $(AM_V_GEN)$(call gen-propdoc-texi,patch) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 doc/interpreter/plot-rootproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 $(AM_V_GEN)$(call gen-propdoc-texi,root) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 doc/interpreter/plot-surfaceproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 $(AM_V_GEN)$(call gen-propdoc-texi,surface) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
86 doc/interpreter/plot-textproperties.texi: doc/interpreter/genpropdoc.m |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
87 $(AM_V_GEN)$(call gen-propdoc-texi,text) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
88 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
89 dist_man_MANS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
90 doc/interpreter/mkoctfile.1 \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
91 doc/interpreter/octave-cli.1 \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
92 doc/interpreter/octave-config.1 \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
93 doc/interpreter/octave.1 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
94 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 JAVA_IMAGES = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 doc/interpreter/java-images/image001.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
97 doc/interpreter/java-images/image002.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
98 doc/interpreter/java-images/image003.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
99 doc/interpreter/java-images/image004.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 doc/interpreter/java-images/image005.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 doc/interpreter/java-images/image006.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
102 doc/interpreter/java-images/image007.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
103 doc/interpreter/java-images/image008.png \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 doc/interpreter/java-images/image009.png |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
105 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
106 BUILT_IMAGES = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
107 $(IMAGES_EPS) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
108 $(IMAGES_PDF) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 $(IMAGES_PNG) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
110 $(IMAGES_TXT) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
111 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 IMAGES = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
113 $(BUILT_IMAGES) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
114 $(JAVA_IMAGES) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
116 ## FIXME: JAVA_IMAGES will eventually need to be added to the HTML build. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
117 ## It will require a different Makefile rule later because |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
118 ## JAVA_IMAGES live in a subdir rather than in the current directory. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
119 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
120 HTMLDIR_IMAGES = $(patsubst doc/interpreter/%.png, doc/interpreter/octave.html/%.png, $(IMAGES_PNG)) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
122 LOGOS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
123 doc/interpreter/octave_logo.eps \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 doc/interpreter/octave_logo.pdf |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
126 IMAGES_EPS += doc/interpreter/octave_logo.eps |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
127 IMAGES_PDF += doc/interpreter/octave_logo.pdf |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
128 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
129 MUNGED_TEXI_SRC = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
130 doc/interpreter/arith.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
131 doc/interpreter/audio.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 doc/interpreter/basics.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 doc/interpreter/bugs.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
134 doc/interpreter/container.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
135 doc/interpreter/contrib.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
136 doc/interpreter/cp-idx.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 doc/interpreter/data.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
138 doc/interpreter/debug.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
139 doc/interpreter/diffeq.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
140 doc/interpreter/diagperm.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 doc/interpreter/external.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
142 doc/interpreter/emacs.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
143 doc/interpreter/errors.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
144 doc/interpreter/eval.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 doc/interpreter/expr.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 doc/interpreter/fn-idx.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 doc/interpreter/func.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 doc/interpreter/geometry.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 doc/interpreter/gui.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
150 doc/interpreter/gpl.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
151 doc/interpreter/grammar.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
152 doc/interpreter/image.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
153 doc/interpreter/install.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
154 doc/interpreter/interp.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 doc/interpreter/intro.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
156 doc/interpreter/io.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
157 doc/interpreter/java.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
158 doc/interpreter/linalg.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
159 doc/interpreter/matrix.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
160 doc/interpreter/nonlin.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
161 doc/interpreter/numbers.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
162 doc/interpreter/obsolete.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
163 doc/interpreter/oop.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
164 doc/interpreter/op-idx.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 doc/interpreter/optim.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
166 doc/interpreter/package.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 doc/interpreter/plot.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
168 doc/interpreter/poly.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 doc/interpreter/preface.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
170 doc/interpreter/quad.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
171 doc/interpreter/set.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 doc/interpreter/signal.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 doc/interpreter/sparse.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
174 doc/interpreter/stats.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 doc/interpreter/stmt.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 doc/interpreter/strings.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 doc/interpreter/system.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
178 doc/interpreter/testfun.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
179 doc/interpreter/tips.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 doc/interpreter/var.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
181 doc/interpreter/vectorize.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 TXI_SRC = $(MUNGED_TEXI_SRC:.texi=.txi) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
184 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
185 BUILT_OCTAVE_TEXI_SRC = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
186 doc/interpreter/contributors.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 $(GRAPH_PROP_TEXI_SRC) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 $(MUNGED_TEXI_SRC) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
189 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
190 info_TEXINFOS += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
191 doc/interpreter/octave.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
192 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
193 ## The $(examples_code_SRC) files are included here because |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
194 ## they are included in the manual via the @EXAMPLEFILE macro, |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
195 ## so they are dependencies for the documentation. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
196 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
197 octave_TEXINFOS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
198 $(BUILT_OCTAVE_TEXI_SRC) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
199 $(examples_code_SRC) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
200 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
201 ## As of version 1.14.1, automake does not seem to generate |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
202 ## rules for DVI, PDF, or HTML output that work for us when |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
203 ## there are additional dependencies, so we include our own |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 ## versions of the rules here. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 $(srcdir)/doc/interpreter/octave.info: $(IMAGES_TXT) $(octave_TEXINFOS) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 doc/interpreter/octave.dvi: $(IMAGES_EPS) $(octave_TEXINFOS) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
208 doc/interpreter/octave.pdf: $(IMAGES_PDF) $(octave_TEXINFOS) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
209 doc/interpreter/octave.html: $(IMAGES_PNG) $(octave_TEXINFOS) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
211 $(srcdir)/doc/interpreter/octave.info: doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
212 $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 am__cwd=`pwd` && $(am__cd) $(srcdir) && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
214 rm -rf $$backupdir && mkdir $$backupdir && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
215 if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
216 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
217 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
218 done; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
219 else :; fi && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
220 cd "$$am__cwd"; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
221 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
222 -o $@ $(srcdir)/doc/interpreter/octave.texi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
223 then \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
224 rc=0; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 $(am__cd) $(srcdir); \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
226 else \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
227 rc=$$?; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
228 $(am__cd) $(srcdir) && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
229 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
230 fi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
231 rm -rf $$backupdir; exit $$rc |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
232 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
233 doc/interpreter/octave.dvi: doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi doc/interpreter/$(am__dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
234 $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
235 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter' \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
236 $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
237 `test -f 'doc/interpreter/octave.texi' || echo '$(srcdir)/'`doc/interpreter/octave.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
238 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
239 doc/interpreter/octave.pdf: doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi doc/interpreter/$(am__dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
240 $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
241 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter' \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
242 $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
243 `test -f 'doc/interpreter/octave.texi' || echo '$(srcdir)/'`doc/interpreter/octave.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
244 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
245 OCTAVE_HTML_DIR = doc/interpreter/octave.html |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
246 OCTAVE_HTML_TMP_DIR = $(OCTAVE_HTML_DIR:.html=.htp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
247 OCTAVE_HTML_STAMP = $(OCTAVE_HTML_DIR)/.html-stamp |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
248 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
249 $(OCTAVE_HTML_STAMP): doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi doc/interpreter/$(am__dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
250 $(AM_V_MAKEINFO)rm -rf $(OCTAVE_HTML_DIR) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
251 $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
252 -o $(OCTAVE_HTML_TMP_DIR) `test -f 'doc/interpreter/octave.texi' || echo '$(srcdir)/'`doc/interpreter/octave.texi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
253 then \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
254 rm -rf $(OCTAVE_HTML_DIR)@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
255 mv $(OCTAVE_HTML_TMP_DIR) $(OCTAVE_HTML_DIR) && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
256 touch $@; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
257 else \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
258 rm -rf $(OCTAVE_HTML_TMP_DIR); exit 1; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
259 fi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
260 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
261 $(HTMLDIR_IMAGES) : doc/interpreter/octave.html/%.png: doc/interpreter/%.png $(OCTAVE_HTML_STAMP) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
262 $(AM_V_GEN)cp $< $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
263 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
264 DOC_TARGETS += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
265 $(srcdir)/doc/interpreter/octave.info \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
266 doc/interpreter/octave.ps \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
267 doc/interpreter/octave.pdf \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
268 $(OCTAVE_HTML_STAMP) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
269 $(HTMLDIR_IMAGES) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
270 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
271 ## The texi2dvi script (used to create both PDF and DVI output formats) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
272 ## uses some fixed temporary file names. In order to avoid a race condition |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
273 ## the DVI and PDF builds are forced to run serially through a Makefile rule. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
274 #doc/interpreter/octave.pdf: doc/interpreter/octave.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
275 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
276 # Prevent packaging of distribution unless all libraries |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
277 # necessary to create documentation are present |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
278 doc-interpreter-dist-hook: |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
279 @$(GREP) '#define HAVE_COLAMD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing COLAMD library. Cannot package distribution!" ; exit 1; } |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
280 @$(GREP) '#define HAVE_CHOLMOD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing CHOLMOD library. Cannot package distribution!" ; exit 1; } |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
281 @$(GREP) '#define HAVE_UMFPACK 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing UMFPACK library. Cannot package distribution!" ; exit 1; } |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
282 @$(GREP) '#define HAVE_QHULL 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing QHULL library. Cannot package distribution!" ; exit 1; } |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
283 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
284 octetc_DATA += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
285 doc/interpreter/doc-cache \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
286 doc/interpreter/macros.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
287 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
288 DOCSTRING_FILES = $(shell $(srcdir)/doc/interpreter/find-docstring-files.sh "$(top_srcdir)") |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
289 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
290 doc/interpreter/doc-cache: $(DOCSTRING_FILES) doc/interpreter/mk_doc_cache.m doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
291 $(AM_V_GEN)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
292 $(top_builddir)/run-octave -f -q -H $(srcdir)/doc/interpreter/mk_doc_cache.m - $(srcdir)/doc/interpreter/macros.texi $(DOCSTRING_FILES) >$@-t && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
293 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
294 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
295 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) $(munge_texi_SOURCES) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
296 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
297 %.texi : %.txi doc/interpreter/munge-texi.pl doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
298 $(AM_V_GEN)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
299 $(PERL) $(srcdir)/doc/interpreter/munge-texi.pl $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
300 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
301 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
302 doc/interpreter/contributors.texi: doc/interpreter/contributors.in doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
303 $(AM_V_GEN)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
304 $(AWK) -f $(srcdir)/doc/interpreter/mkcontrib.awk $(srcdir)/doc/interpreter/contributors.in > $@-t && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
305 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
306 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
307 AUTHORS: doc/interpreter/preface.texi doc/interpreter/contributors.texi doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
308 $(AM_V_MAKEINFO)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
309 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/doc/interpreter/contributors.texi ] && [ ! -f doc/interpreter/contributors.texi ]; then \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
310 cp $(srcdir)/doc/interpreter/contributors.texi doc/interpreter/contributors.texi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
311 touch -r $(srcdir)/doc/interpreter/contributors.texi doc/interpreter/contributors.texi; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
312 fi && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
313 $(MAKEINFO) -D AUTHORSONLY -I $(srcdir)/doc/interpreter/ \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
314 --no-validate --no-headers --no-split --output $@-t $< && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
315 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
316 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
317 BUGS: doc/interpreter/bugs.texi doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
318 $(AM_V_MAKEINFO)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
319 $(MAKEINFO) -D BUGSONLY -I $(srcdir)/doc/interpreter \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
320 --no-validate --no-headers --no-split --output doc/interpreter/BUGS $< && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
321 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
322 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
323 INSTALL.OCTAVE: doc/interpreter/install.texi doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
324 $(AM_V_MAKEINFO)rm -f $@-t $@ && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
325 $(MAKEINFO) -D INSTALLONLY -I $(srcdir)/doc/interpreter \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
326 --no-validate --no-headers --no-split --output doc/interpreter/INSTALL $< && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
327 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
328 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
329 EXTRA_DIST += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
330 doc/interpreter/config-images.sh \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
331 doc/interpreter/contributors.in \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
332 doc/interpreter/doc-cache \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
333 doc/interpreter/find-docstring-files.sh \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
334 doc/interpreter/genpropdoc.m \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
335 doc/interpreter/graphics_properties.mk \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
336 doc/interpreter/images \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
337 doc/interpreter/images.awk \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
338 doc/interpreter/images.mk \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
339 doc/interpreter/macros.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
340 doc/interpreter/mk_doc_cache.m \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
341 doc/interpreter/mkcontrib.awk \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
342 doc/interpreter/munge-texi.pl \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
343 $(IMAGES) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
344 $(IMAGES_SRC) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
345 $(LOGOS) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
346 $(TXI_SRC) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
347 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
348 interpreter-clean: |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
349 rm -rf t2d_cache |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
350 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
351 DISTCLEANFILES += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
352 $(BUILT_TEXINFOS) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
353 $(OCTAVE_HTML_STAMP) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
354 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
355 MAINTAINERCLEANFILES += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
356 $(BUILT_IMAGES) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
357 doc/interpreter/doc-cache |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
358 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
359 DIRSTAMP_FILES += doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
360 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
361 liboctave_TEXINFOS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
362 doc/liboctave/array.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
363 doc/liboctave/bugs.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
364 doc/liboctave/cp-idx.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
365 doc/liboctave/dae.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
366 doc/liboctave/diffeq.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
367 doc/liboctave/error.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
368 doc/liboctave/factor.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
369 doc/liboctave/fn-idx.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
370 doc/liboctave/gpl.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
371 doc/liboctave/install.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
372 doc/liboctave/intro.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
373 doc/liboctave/matvec.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
374 doc/liboctave/nleqn.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
375 doc/liboctave/nlfunc.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
376 doc/liboctave/ode.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
377 doc/liboctave/optim.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
378 doc/liboctave/preface.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
379 doc/liboctave/quad.texi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
380 doc/liboctave/range.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
381 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
382 info_TEXINFOS += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
383 doc/liboctave/liboctave.texi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
384 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
385 DOC_TARGETS += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
386 $(srcdir)/doc/liboctave/liboctave.info \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
387 doc/liboctave/liboctave.ps \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
388 doc/liboctave/liboctave.pdf \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
389 doc/liboctave/liboctave.html |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
390 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
391 ## The texi2dvi script (used to create both PDF and DVI output formats) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
392 ## uses some fixed temporary file names. In order to avoid a race condition |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
393 ## the DVI and PDF builds are forced to run serially through a Makefile rule. |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
394 #doc/liboctave/liboctave.pdf: doc/liboctave/liboctave.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
395 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
396 liboctave-clean: |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
397 rm -rf doc/liboctave/t2d_cache |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
398 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
399 DIRSTAMP_FILES += doc/liboctave/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
400 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
401 refcard_TEX_SRC = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
402 doc/refcard/refcard.tex \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
403 doc/refcard/refcard-a4.tex \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
404 doc/refcard/refcard-legal.tex \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
405 doc/refcard/refcard-letter.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
406 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
407 refcard_DVI = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
408 doc/refcard/refcard-a4.dvi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
409 doc/refcard/refcard-legal.dvi \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
410 doc/refcard/refcard-letter.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
411 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
412 refcard_PDF = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
413 doc/refcard/refcard-a4.pdf \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
414 doc/refcard/refcard-legal.pdf \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
415 doc/refcard/refcard-letter.pdf |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
416 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
417 refcard_PS = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
418 doc/refcard/refcard-letter.ps \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
419 doc/refcard/refcard-a4.ps \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
420 doc/refcard/refcard-legal.ps |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
421 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
422 refcard_FORMATTED = \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
423 $(refcard_DVI) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
424 $(refcard_PDF) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
425 $(refcard_PS) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
426 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
427 DOC_TARGETS += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
428 $(refcard_FORMATTED) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
429 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
430 doc/refcard/refcard-a4.pdf: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
431 doc/refcard/refcard-a4.dvi: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
432 doc/refcard/refcard-a4.ps: doc/refcard/refcard-a4.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
433 -$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 297mm,210mm -o $@ $< |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
434 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
435 doc/refcard/refcard-legal.pdf: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
436 doc/refcard/refcard-legal.dvi: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
437 doc/refcard/refcard-legal.ps: doc/refcard/refcard-legal.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
438 -$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 14in,8.5in -o $@ $< |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
439 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
440 doc/refcard/refcard-letter.pdf: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
441 doc/refcard/refcard-letter.dvi: doc/refcard/refcard.tex |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
442 doc/refcard/refcard-letter.ps: doc/refcard/refcard-letter.dvi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
443 -$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 11in,8.5in -o $@ $< |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
444 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
445 EXTRA_DIST += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
446 $(refcard_TEX_SRC) \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
447 $(refcard_FORMATTED) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
448 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
449 CLEANFILES += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
450 doc/refcard/refcard-a4.log \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
451 doc/refcard/refcard-legal.log \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
452 doc/refcard/refcard-letter.log |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
453 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
454 MAINTAINERCLEANFILES += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
455 $(refcard_FORMATTED) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
456 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
457 DIRSTAMP_FILES += doc/refcard/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
458 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
459 clean-local: interpreter-clean |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
460 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
461 maintainer-clean-local: doxyhtml-maintainer-clean |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
462 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
463 $(srcdir)/doc/interpreter/images.mk: $(srcdir)/doc/interpreter/config-images.sh $(srcdir)/doc/interpreter/images.awk $(srcdir)/doc/interpreter/images |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
464 $(srcdir)/doc/interpreter/config-images.sh $(top_srcdir) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
465 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
466 $(refcard_DVI) : %.dvi : %.tex doc/refcard/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
467 -$(AM_V_TEX)cd $(@D) && \ |
20358
820c5a4dd0ab
use $(abs_top_srcdir) in TEXINPUTS for processing refcard sources
John W. Eaton <jwe@octave.org>
parents:
20348
diff
changeset
|
468 TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \ |
20348
9e361ecea878
use base filenames when processing refcard sources
John W. Eaton <jwe@octave.org>
parents:
20342
diff
changeset
|
469 $(TEX) $(<F) $(AM_V_texidevnull) |
20342
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
470 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
471 $(refcard_PDF) : %.pdf : %.tex doc/refcard/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
472 -$(AM_V_PDFTEX)cd $(@D) && \ |
20358
820c5a4dd0ab
use $(abs_top_srcdir) in TEXINPUTS for processing refcard sources
John W. Eaton <jwe@octave.org>
parents:
20348
diff
changeset
|
473 TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \ |
20348
9e361ecea878
use base filenames when processing refcard sources
John W. Eaton <jwe@octave.org>
parents:
20342
diff
changeset
|
474 $(PDFTEX) $(<F) $(AM_V_texidevnull) |
20342
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
475 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
476 endif |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
477 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
478 doc/interpreter/undocumented_list: |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
479 rm -f $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
480 -$(PERL) $(srcdir)/doccheck/mk_undocumented_list > $@-t |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
481 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
482 .PHONY: doc/interpreter/undocumented_list |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
483 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
484 SPELLCHECK_FILES = $(MUNGED_TEXI_SRC:.texi=.scheck) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
485 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
486 %.scheck: %.texi doc/interpreter/$(octave_dirstamp) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
487 $(srcdir)/doc/interpreter/doccheck/spellcheck $< > $@-t |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
488 mv $@-t $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
489 [ -s $@ ] || rm -f $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
490 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
491 spellcheck: $(SPELLCHECK_FILES) |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
492 @if ls *.scheck >/dev/null 2>&1 ; then \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
493 echo "Spellcheck failed"; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
494 echo "Review the following files:"; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
495 ls *.scheck ; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
496 exit 1 ; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
497 else \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
498 echo "Spellcheck passed"; \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
499 fi |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
500 .PHONY: spellcheck |