annotate doc/module.mk @ 21588:4c61f8313f58

* doc/module.mk: Distribute src and "generated" octave.css files.
author John W. Eaton <jwe@octave.org>
date Mon, 04 Apr 2016 14:50:01 -0400
parents 2f9de06a526e
children b5d9b95d1e1a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
1 doc_EXTRA_DIST =
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
2
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
3 doc_CLEANFILES =
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
4 doc_DISTCLEANFILES =
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
5 doc_MAINTAINERCLEANFILES =
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
6
20419
ea85f96dd0ae build: Use $(abs_top_*) in definitions of TEXINPUTS and TEXMFCNF
Mike Miller <mtmiller@octave.org>
parents: 20418
diff changeset
7 TEXINPUTS := $(PATH_SEPARATOR)$(abs_top_srcdir)/doc/interpreter$(PATH_SEPARATOR)$(PATH_SEPARATOR)$(abs_top_builddir)/doc/interpreter$(PATH_SEPARATOR)$(abs_top_builddir)/doc/.texmf-var//$(PATH_SEPARATOR)$(TEXINPUTS)$(PATH_SEPARATOR)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8
20419
ea85f96dd0ae build: Use $(abs_top_*) in definitions of TEXINPUTS and TEXMFCNF
Mike Miller <mtmiller@octave.org>
parents: 20418
diff changeset
9 TEXMFCNF := $(PATH_SEPARATOR)$(abs_top_srcdir)/doc$(PATH_SEPARATOR)$(abs_top_builddir)/doc$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
10
20418
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
11 TEXMFVAR := $(abs_top_builddir)/doc/.texmf-var
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
12
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
13 export TEXINPUTS
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 export TEXMFCNF
20418
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
15 export TEXMFVAR
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 DVIPS = dvips
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 TEX = tex
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 PDFTEX = pdftex
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 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
22 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
23 am__v_TEX_0 = @echo " TEX " $@;
20768
7655b399abff eliminate trailing whitespace in source files we maintain
John W. Eaton <jwe@octave.org>
parents: 20717
diff changeset
24 am__v_TEX_1 =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 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
27 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
28 am__v_PDFTEX_0 = @echo " PDFTEX " $@;
20768
7655b399abff eliminate trailing whitespace in source files we maintain
John W. Eaton <jwe@octave.org>
parents: 20717
diff changeset
29 am__v_PDFTEX_1 =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
21128
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
31 ## Conditionally define the following variables so that --disable-docs
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
32 ## can work. If we don't define them, Automake will always define them,
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
33 ## even when AMCOND_BUILD_DOCS is false.
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
34
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
35 INFO_DEPS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
36 DVIS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
37 PDFS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
38 PSS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
39 HTMLS =
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
40
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 if AMCOND_BUILD_DOCS
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 ## 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
44 ## 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
45 ## 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
46 ## 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
47
20382
3e9bfbf6ae08 Reapply changes lost from changeset 45d7be391982
Mike Miller <mtmiller@octave.org>
parents: 20371
diff changeset
48 doc_EXTRA_DIST += doc/texmf.cnf
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
50 doc_EXTRA_DIST += \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 doc/doxyhtml/Doxyfile.in \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 doc/doxyhtml/README
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
21298
31cd45258fc6 maint: Fix doxygen build system integration
Mike Miller <mtmiller@octave.org>
parents: 21290
diff changeset
54 doxyhtml: doc/doxyhtml/Doxyfile | doc/doxyhtml/$(octave_dirstamp)
20348
4847e3dd8e6a fix file and directory names for doxyhtml targets
John W. Eaton <jwe@octave.org>
parents: 20347
diff changeset
55 doxygen doc/doxyhtml/Doxyfile
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 doxyhtml-maintainer-clean:
20349
83d08eb76182 * doc/module.mk (doxyhtml-maintainer-clean): Also remove .db file.
John W. Eaton <jwe@octave.org>
parents: 20348
diff changeset
58 rm -f doc/doxygen_sqlite3.db
21298
31cd45258fc6 maint: Fix doxygen build system integration
Mike Miller <mtmiller@octave.org>
parents: 21290
diff changeset
59 rm -rf `ls -d doc/doxyhtml/* 2>/dev/null | $(GREP) -v 'Doxyfile\.in\|README'`
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60
20348
4847e3dd8e6a fix file and directory names for doxyhtml targets
John W. Eaton <jwe@octave.org>
parents: 20347
diff changeset
61 DIRSTAMP_FILES += doc/doxyhtml/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 GRAPH_PROP_TEXI_SRC = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 doc/interpreter/plot-axesproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 doc/interpreter/plot-figureproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 doc/interpreter/plot-imageproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 doc/interpreter/plot-lineproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 doc/interpreter/plot-patchproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 doc/interpreter/plot-rootproperties.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 doc/interpreter/plot-surfaceproperties.texi \
20593
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
71 doc/interpreter/plot-textproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
72 doc/interpreter/plot-uimenuproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
73 doc/interpreter/plot-uicontextmenuproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
74 doc/interpreter/plot-uipanelproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
75 doc/interpreter/plot-uicontrolproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
76 doc/interpreter/plot-uitoolbarproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
77 doc/interpreter/plot-uipushtoolproperties.texi \
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
78 doc/interpreter/plot-uitoggletoolproperties.texi
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
80 $(GRAPH_PROP_TEXI_SRC): | $(OCTAVE_INTERPRETER_TARGETS)
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
81
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 define gen-propdoc-texi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 rm -f $@-t $@ && \
21347
2f9de06a526e maint: Clean up calls to run-octave in build system
Mike Miller <mtmiller@octave.org>
parents: 21298
diff changeset
84 $(SHELL) run-octave --norc --silent --no-history --path $(srcdir)/doc/interpreter --eval "genpropdoc ('$(1)');" > $@-t && \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 endef
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 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
89 $(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
90
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 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
92 $(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
93
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 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
95 $(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
96
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 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
98 $(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
99
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 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
101 $(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
102
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 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
104 $(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
105
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 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
107 $(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
108
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 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
110 $(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
111
20593
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
112 doc/interpreter/plot-uimenuproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
113 $(AM_V_GEN)$(call gen-propdoc-texi,uimenu)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
114
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
115 doc/interpreter/plot-uicontextmenuproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
116 $(AM_V_GEN)$(call gen-propdoc-texi,uicontextmenu)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
117
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
118 doc/interpreter/plot-uipanelproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
119 $(AM_V_GEN)$(call gen-propdoc-texi,uipanel)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
120
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
121 doc/interpreter/plot-uicontrolproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
122 $(AM_V_GEN)$(call gen-propdoc-texi,uicontrol)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
123
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
124 doc/interpreter/plot-uitoolbarproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
125 $(AM_V_GEN)$(call gen-propdoc-texi,uitoolbar)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
126
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
127 doc/interpreter/plot-uipushtoolproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
128 $(AM_V_GEN)$(call gen-propdoc-texi,uipushtool)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
129
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
130 doc/interpreter/plot-uitoggletoolproperties.texi: doc/interpreter/genpropdoc.m
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
131 $(AM_V_GEN)$(call gen-propdoc-texi,uitoggletool)
3af34e1ef330 Preliminary inclusion of uixx objects properties in the manual (bug #46076)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 20419
diff changeset
132
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 dist_man_MANS = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 doc/interpreter/mkoctfile.1 \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 doc/interpreter/octave-cli.1 \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 doc/interpreter/octave-config.1 \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 doc/interpreter/octave.1
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
139 DOC_JAVA_IMAGES = \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 doc/interpreter/java-images/image001.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 doc/interpreter/java-images/image002.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 doc/interpreter/java-images/image003.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143 doc/interpreter/java-images/image004.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 doc/interpreter/java-images/image005.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 doc/interpreter/java-images/image006.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 doc/interpreter/java-images/image007.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 doc/interpreter/java-images/image008.png \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 doc/interpreter/java-images/image009.png
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149
20345
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
150 BUILT_DOC_IMAGES += \
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
151 $(BUILT_DOC_IMAGES_EPS) \
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
152 $(BUILT_DOC_IMAGES_PDF) \
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
153 $(BUILT_DOC_IMAGES_PNG) \
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
154 $(BUILT_DOC_IMAGES_TXT)
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
155
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
156 DOC_IMAGES_EPS += $(BUILT_DOC_IMAGES_EPS)
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
157 DOC_IMAGES_PDF += $(BUILT_DOC_IMAGES_PDF)
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
158 DOC_IMAGES_PNG += $(BUILT_DOC_IMAGES_PNG)
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20342
diff changeset
159 DOC_IMAGES_TXT += $(BUILT_DOC_IMAGES_TXT)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
161 DOC_IMAGES += \
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
162 $(BUILT_DOC_IMAGES) \
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
163 $(DOC_JAVA_IMAGES)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
165 $(BUILT_DOC_IMAGES): | $(OCTAVE_INTERPRETER_TARGETS)
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
166
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
167 ## FIXME: DOC_JAVA_IMAGES will eventually need to be added to the HTML build.
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 ## It will require a different Makefile rule later because
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
169 ## DOC_JAVA_IMAGES live in a subdir rather than in the current directory.
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
171 HTMLDIR_IMAGES = $(patsubst doc/interpreter/%.png, doc/interpreter/octave.html/%.png, $(DOC_IMAGES_PNG))
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 LOGOS = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 doc/interpreter/octave_logo.eps \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 doc/interpreter/octave_logo.pdf
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
177 DOC_IMAGES_EPS += doc/interpreter/octave_logo.eps
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
178 DOC_IMAGES_PDF += doc/interpreter/octave_logo.pdf
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 MUNGED_TEXI_SRC = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 doc/interpreter/arith.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 doc/interpreter/audio.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 doc/interpreter/basics.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 doc/interpreter/bugs.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 doc/interpreter/container.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 doc/interpreter/contrib.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 doc/interpreter/cp-idx.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 doc/interpreter/data.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 doc/interpreter/debug.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 doc/interpreter/diffeq.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 doc/interpreter/diagperm.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 doc/interpreter/external.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 doc/interpreter/emacs.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 doc/interpreter/errors.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 doc/interpreter/eval.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 doc/interpreter/expr.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 doc/interpreter/fn-idx.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 doc/interpreter/func.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 doc/interpreter/geometry.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 doc/interpreter/gui.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 doc/interpreter/gpl.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 doc/interpreter/grammar.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 doc/interpreter/image.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 doc/interpreter/install.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 doc/interpreter/interp.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 doc/interpreter/intro.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 doc/interpreter/io.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 doc/interpreter/java.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 doc/interpreter/linalg.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 doc/interpreter/matrix.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 doc/interpreter/nonlin.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 doc/interpreter/numbers.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 doc/interpreter/obsolete.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 doc/interpreter/oop.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 doc/interpreter/op-idx.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 doc/interpreter/optim.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 doc/interpreter/package.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 doc/interpreter/plot.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 doc/interpreter/poly.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 doc/interpreter/preface.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 doc/interpreter/quad.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 doc/interpreter/set.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 doc/interpreter/signal.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 doc/interpreter/sparse.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225 doc/interpreter/stats.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 doc/interpreter/stmt.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227 doc/interpreter/strings.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228 doc/interpreter/system.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 doc/interpreter/testfun.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230 doc/interpreter/tips.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
231 doc/interpreter/var.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232 doc/interpreter/vectorize.texi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
233
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234 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
235
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 BUILT_OCTAVE_TEXI_SRC = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
237 doc/interpreter/contributors.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 $(GRAPH_PROP_TEXI_SRC) \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 $(MUNGED_TEXI_SRC)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 info_TEXINFOS += \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 doc/interpreter/octave.texi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 octave_TEXINFOS = \
21060
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
245 $(BUILT_OCTAVE_TEXI_SRC)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246
21128
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
247 INFO_DEPS += $(srcdir)/doc/interpreter/octave.info
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
248 DVIS += doc/interpreter/octave.dvi
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
249 PDFS += doc/interpreter/octave.pdf
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
250 PSS += doc/interpreter/octave.ps
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
251 HTMLS += doc/interpreter/octave.html
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
252
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 ## 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
254 ## 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
255 ## 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
256 ## versions of the rules here.
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
258 OCTAVE_HTML_DIR = doc/interpreter/octave.html
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
259 OCTAVE_HTML_TMP_DIR = $(OCTAVE_HTML_DIR:.html=.htp)
21108
9310b9bb163b use names beginning with '.' for stamp files.
John W. Eaton <jwe@octave.org>
parents: 21060
diff changeset
260 OCTAVE_HTML_STAMP = $(OCTAVE_HTML_DIR)/.octave-html-stamp
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
261
21212
7eca4ba9bb6d also distribute octave.css from source tree
John W. Eaton <jwe@octave.org>
parents: 21206
diff changeset
262 OCTAVE_CSS = doc/interpreter/octave.css
7eca4ba9bb6d also distribute octave.css from source tree
John W. Eaton <jwe@octave.org>
parents: 21206
diff changeset
263 HTMLDIR_CSS = $(OCTAVE_HTML_DIR)/octave.css
7eca4ba9bb6d also distribute octave.css from source tree
John W. Eaton <jwe@octave.org>
parents: 21206
diff changeset
264
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
265 $(srcdir)/doc/interpreter/octave.info: $(DOC_IMAGES_TXT) $(octave_TEXINFOS)
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
266 doc/interpreter/octave.dvi: $(DOC_IMAGES_EPS) $(octave_TEXINFOS)
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
267 doc/interpreter/octave.pdf: $(DOC_IMAGES_PDF) $(octave_TEXINFOS)
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
268 $(OCTAVE_HTML_STAMP): $(DOC_IMAGES_PNG) $(octave_TEXINFOS)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 $(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
271 $(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
272 am__cwd=`pwd` && $(am__cd) $(srcdir) && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 rm -rf $$backupdir && mkdir $$backupdir && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 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
275 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
276 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
277 done; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 else :; fi && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 cd "$$am__cwd"; \
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
280 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 -o $@ $(srcdir)/doc/interpreter/octave.texi; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 then \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 rc=0; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 $(am__cd) $(srcdir); \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 else \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286 rc=$$?; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 $(am__cd) $(srcdir) && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 fi; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 rm -rf $$backupdir; exit $$rc
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
292 doc/interpreter/octave.dvi: doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi | doc/interpreter/$(am__dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
21290
1309edb344e1 use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents: 21282
diff changeset
294 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter' \
20416
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
295 $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
296 `test -f 'doc/interpreter/octave.texi' || echo '$(abs_top_srcdir)/'`doc/interpreter/octave.texi
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
298 doc/interpreter/octave.pdf: doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi | doc/interpreter/$(am__dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
300 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter' \
20416
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
301 $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
302 `test -f 'doc/interpreter/octave.texi' || echo '$(abs_top_srcdir)/'`doc/interpreter/octave.texi
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303
20394
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
304 doc/interpreter/octave.html: $(OCTAVE_HTML_STAMP)
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
305
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
306 $(OCTAVE_HTML_STAMP): doc/interpreter/octave.texi $(srcdir)/doc/interpreter/version-octave.texi | doc/interpreter/$(am__dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307 $(AM_V_MAKEINFO)rm -rf $(OCTAVE_HTML_DIR)
21206
15517574276a doc: Add octave.css to HTML interpreter manual (patch #8888).
Oliver Heimlich <oheim@posteo.de>
parents: 21164
diff changeset
308 $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
15517574276a doc: Add octave.css to HTML interpreter manual (patch #8888).
Oliver Heimlich <oheim@posteo.de>
parents: 21164
diff changeset
309 -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter \
15517574276a doc: Add octave.css to HTML interpreter manual (patch #8888).
Oliver Heimlich <oheim@posteo.de>
parents: 21164
diff changeset
310 --css-ref=octave.css \
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20323
diff changeset
311 -o $(OCTAVE_HTML_TMP_DIR) `test -f 'doc/interpreter/octave.texi' || echo '$(abs_top_srcdir)/'`doc/interpreter/octave.texi; \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
312 then \
21164
a610c00dc556 build: Remove stray '@' from rule to built octave.html.
Rik <rik@octave.org>
parents: 21128
diff changeset
313 rm -rf $(OCTAVE_HTML_DIR) && \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 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
315 touch $@; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
316 else \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317 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
318 fi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319
21212
7eca4ba9bb6d also distribute octave.css from source tree
John W. Eaton <jwe@octave.org>
parents: 21206
diff changeset
320 $(HTMLDIR_IMAGES) $(HTMLDIR_CSS) : doc/interpreter/octave.html/%: doc/interpreter/% $(OCTAVE_HTML_STAMP)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321 $(AM_V_GEN)cp $< $@
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 DOC_TARGETS += \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 $(srcdir)/doc/interpreter/octave.info \
20342
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
325 doc/interpreter/doc-cache \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326 doc/interpreter/octave.ps \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327 doc/interpreter/octave.pdf \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 $(OCTAVE_HTML_STAMP) \
21206
15517574276a doc: Add octave.css to HTML interpreter manual (patch #8888).
Oliver Heimlich <oheim@posteo.de>
parents: 21164
diff changeset
329 $(HTMLDIR_IMAGES) \
21212
7eca4ba9bb6d also distribute octave.css from source tree
John W. Eaton <jwe@octave.org>
parents: 21206
diff changeset
330 $(HTMLDIR_CSS)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331
21588
4c61f8313f58 * doc/module.mk: Distribute src and "generated" octave.css files.
John W. Eaton <jwe@octave.org>
parents: 21347
diff changeset
332 ## Distribute both OCTAVE_CSS and HTMLDIR_CSS so that the rules for
4c61f8313f58 * doc/module.mk: Distribute src and "generated" octave.css files.
John W. Eaton <jwe@octave.org>
parents: 21347
diff changeset
333 ## building HTMLDIR_CSS work properly.
4c61f8313f58 * doc/module.mk: Distribute src and "generated" octave.css files.
John W. Eaton <jwe@octave.org>
parents: 21347
diff changeset
334
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
335 doc_EXTRA_DIST += \
20342
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
336 $(BUILT_OCTAVE_TEXI_SRC) \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
337 $(srcdir)/doc/interpreter/octave.info \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
338 doc/interpreter/TODO \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
339 doc/interpreter/doc-cache \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
340 doc/interpreter/octave.dvi \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
341 doc/interpreter/octave.ps \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
342 doc/interpreter/octave.pdf \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
343 doc/interpreter/octave.html \
21206
15517574276a doc: Add octave.css to HTML interpreter manual (patch #8888).
Oliver Heimlich <oheim@posteo.de>
parents: 21164
diff changeset
344 $(HTMLDIR_IMAGES) \
21588
4c61f8313f58 * doc/module.mk: Distribute src and "generated" octave.css files.
John W. Eaton <jwe@octave.org>
parents: 21347
diff changeset
345 $(OCTAVE_CSS) \
4c61f8313f58 * doc/module.mk: Distribute src and "generated" octave.css files.
John W. Eaton <jwe@octave.org>
parents: 21347
diff changeset
346 $(HTMLDIR_CSS)
20342
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
347
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 # 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
349 # necessary to create documentation are present
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 doc-interpreter-dist-hook:
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 @$(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
352 @$(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
353 @$(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
354 @$(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
355
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356 octetc_DATA += \
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 doc/interpreter/macros.texi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359
20393
0fbe2e28ea84 build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20382
diff changeset
360 doc/interpreter/doc-cache: $(DOCSTRING_FILES) doc/interpreter/mk_doc_cache.m | $(OCTAVE_INTERPRETER_TARGETS) doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 $(AM_V_GEN)rm -f $@-t $@ && \
21347
2f9de06a526e maint: Clean up calls to run-octave in build system
Mike Miller <mtmiller@octave.org>
parents: 21298
diff changeset
362 $(SHELL) run-octave --norc --silent --no-history $(srcdir)/doc/interpreter/mk_doc_cache.m - $(srcdir)/doc/interpreter/macros.texi $(DOCSTRING_FILES) > $@-t && \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364
21060
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
365 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES)
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
366
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
367 ## These two texi files have an additional dependency through the
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
368 ## @EXAMPLEFILE macro.
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
369 doc/interpreter/oop.texi: $(examples_code_SRC)
31d41418fa57 build: Restore dependency of docs on example code.
Rik <rik@octave.org>
parents: 20768
diff changeset
370 doc/interpreter/external.texi: $(examples_code_SRC)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
372 %.texi : %.txi doc/interpreter/munge-texi.pl | doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 $(AM_V_GEN)rm -f $@-t $@ && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 $(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
375 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
377 doc/interpreter/contributors.texi: doc/interpreter/contributors.in | doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378 $(AM_V_GEN)rm -f $@-t $@ && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 $(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
380 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
381
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
382 AUTHORS: doc/interpreter/preface.texi doc/interpreter/contributors.texi | doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 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
385 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
386 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
387 fi && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 $(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
389 --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
390 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
392 BUGS: doc/interpreter/bugs.texi | doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 $(MAKEINFO) -D BUGSONLY -I $(srcdir)/doc/interpreter \
20339
3904d83e47d1 write BUGS and INSTALL.OCTAVE files in top-level directory
John W. Eaton <jwe@octave.org>
parents: 20328
diff changeset
395 --no-validate --no-headers --no-split --output $@-t $< && \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
398 INSTALL.OCTAVE: doc/interpreter/install.texi | doc/interpreter/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 $(MAKEINFO) -D INSTALLONLY -I $(srcdir)/doc/interpreter \
20339
3904d83e47d1 write BUGS and INSTALL.OCTAVE files in top-level directory
John W. Eaton <jwe@octave.org>
parents: 20328
diff changeset
401 --no-validate --no-headers --no-split --output $@-t $< && \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
404 doc_EXTRA_DIST += \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 doc/interpreter/config-images.sh \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 doc/interpreter/contributors.in \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 doc/interpreter/doc-cache \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 doc/interpreter/genpropdoc.m \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 doc/interpreter/graphics_properties.mk \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 doc/interpreter/images \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 doc/interpreter/images.awk \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 doc/interpreter/images.mk \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
413 doc/interpreter/macros.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 doc/interpreter/mk_doc_cache.m \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 doc/interpreter/mkcontrib.awk \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 doc/interpreter/munge-texi.pl \
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
417 $(DOC_IMAGES) \
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
418 $(DOC_IMAGES_SRC) \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419 $(LOGOS) \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 $(TXI_SRC)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
422 doc_DISTCLEANFILES += \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 $(OCTAVE_HTML_STAMP)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
425 doc_MAINTAINERCLEANFILES += \
20360
fb97c11f8e67 clean generated AUTHORS file
John W. Eaton <jwe@octave.org>
parents: 20351
diff changeset
426 AUTHORS \
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
427 $(BUILT_DOC_IMAGES) \
20409
4300fe896004 build: Don't remove built documentation for distclean target (bug #45646).
Rik <rik@octave.org>
parents: 20396
diff changeset
428 $(BUILT_OCTAVE_TEXI_SRC) \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 doc/interpreter/doc-cache
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430
20417
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
431 ## The TeX software suite is used to create both PDF and PS output formats.
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
432 ## In order to avoid race conditions between simultaneous TeX commands, the
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
433 ## PDF and PS builds are forced to run serially through the following rule.
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
434 doc/interpreter/octave.pdf: doc/interpreter/octave.ps
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
435
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 DIRSTAMP_FILES += doc/interpreter/$(octave_dirstamp)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 liboctave_TEXINFOS = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 doc/liboctave/array.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 doc/liboctave/bugs.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
441 doc/liboctave/cp-idx.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
442 doc/liboctave/dae.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 doc/liboctave/diffeq.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444 doc/liboctave/error.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 doc/liboctave/factor.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446 doc/liboctave/fn-idx.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 doc/liboctave/gpl.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
448 doc/liboctave/install.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449 doc/liboctave/intro.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
450 doc/liboctave/matvec.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 doc/liboctave/nleqn.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452 doc/liboctave/nlfunc.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
453 doc/liboctave/ode.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454 doc/liboctave/optim.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
455 doc/liboctave/preface.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
456 doc/liboctave/quad.texi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457 doc/liboctave/range.texi
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 info_TEXINFOS += \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 doc/liboctave/liboctave.texi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461
21128
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
462 INFO_DEPS += $(srcdir)/doc/liboctave/liboctave.info
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
463 DVIS += doc/liboctave/liboctave.dvi
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
464 PDFS += doc/liboctave/liboctave.pdf
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
465 PSS += doc/liboctave/liboctave.ps
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
466 HTMLS += doc/liboctave/liboctave.html
61ca546e1942 improve handling of --disable-docs
John W. Eaton <jwe@octave.org>
parents: 21108
diff changeset
467
20394
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
468 doc/liboctave/liboctave.dvi: doc/liboctave/liboctave.texi $(srcdir)/doc/liboctave/version-liboctave.texi | doc/liboctave/$(am__dirstamp)
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
469 $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
470 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/liboctave -I $(srcdir)/doc/liboctave' \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
471 $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
472 `test -f 'doc/liboctave/liboctave.texi' || echo '$(srcdir)/'`doc/liboctave/liboctave.texi
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
473
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
474 doc/liboctave/liboctave.pdf: doc/liboctave/liboctave.texi $(srcdir)/doc/liboctave/version-liboctave.texi | doc/liboctave/$(am__dirstamp)
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
475 $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
476 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/liboctave -I $(srcdir)/doc/liboctave' \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
477 $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
478 `test -f 'doc/liboctave/liboctave.texi' || echo '$(srcdir)/'`doc/liboctave/liboctave.texi
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
479
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
480 doc/liboctave/liboctave.html: doc/liboctave/liboctave.texi $(srcdir)/doc/liboctave/version-liboctave.texi | doc/liboctave/$(am__dirstamp)
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
481 $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
482 $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc/liboctave -I $(srcdir)/doc/liboctave \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
483 -o $(@:.html=.htp) `test -f 'doc/liboctave/liboctave.texi' || echo '$(srcdir)/'`doc/liboctave/liboctave.texi; \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
484 then \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
485 rm -rf $@ && mv $(@:.html=.htp) $@; \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
486 else \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
487 rm -rf $(@:.html=.htp); exit 1; \
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
488 fi
c23b313232c7 build: Avoid rebuilding distributed docs on directory timestamp (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20393
diff changeset
489
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490 DOC_TARGETS += \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
491 $(srcdir)/doc/liboctave/liboctave.info \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
492 doc/liboctave/liboctave.ps \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
493 doc/liboctave/liboctave.pdf \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
494 doc/liboctave/liboctave.html
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
495
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
496 doc_EXTRA_DIST += \
20342
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
497 $(liboctave_TEXINFOS) \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
498 $(srcdir)/doc/liboctave/liboctave.info \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
499 doc/liboctave/liboctave.dvi \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
500 doc/liboctave/liboctave.ps \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
501 doc/liboctave/liboctave.pdf \
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
502 doc/liboctave/liboctave.html
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20339
diff changeset
503
20417
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
504 ## The TeX software suite is used to create both PDF and PS output formats.
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
505 ## In order to avoid race conditions between simultaneous TeX commands, the
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
506 ## PDF and PS builds are forced to run serially through the following rule.
095e42d7a0bb build: Avoid building pdf and ps outputs simultaneously
Mike Miller <mtmiller@octave.org>
parents: 20416
diff changeset
507 doc/liboctave/liboctave.pdf: doc/liboctave/liboctave.ps
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
508
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
509 DIRSTAMP_FILES += doc/liboctave/$(octave_dirstamp)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
510
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
511 refcard_TEX_SRC = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
512 doc/refcard/refcard.tex \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
513 doc/refcard/refcard-a4.tex \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
514 doc/refcard/refcard-legal.tex \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
515 doc/refcard/refcard-letter.tex
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
516
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
517 refcard_DVI = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
518 doc/refcard/refcard-a4.dvi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
519 doc/refcard/refcard-legal.dvi \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
520 doc/refcard/refcard-letter.dvi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
521
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
522 refcard_PDF = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
523 doc/refcard/refcard-a4.pdf \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
524 doc/refcard/refcard-legal.pdf \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
525 doc/refcard/refcard-letter.pdf
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
526
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
527 refcard_PS = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
528 doc/refcard/refcard-letter.ps \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
529 doc/refcard/refcard-a4.ps \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
530 doc/refcard/refcard-legal.ps
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
531
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
532 refcard_FORMATTED = \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
533 $(refcard_DVI) \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
534 $(refcard_PDF) \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
535 $(refcard_PS)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
536
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
537 DOC_TARGETS += \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
538 $(refcard_FORMATTED)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
539
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
540 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
541 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
542 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
543 -$(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
544
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
545 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
546 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
547 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
548 -$(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
549
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
550 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
551 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
552 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
553 -$(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
554
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
555 DIRSTAMP_FILES += doc/refcard/$(octave_dirstamp)
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
556
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
557 $(srcdir)/doc/interpreter/images.mk: $(srcdir)/doc/interpreter/config-images.sh $(srcdir)/doc/interpreter/images.awk $(srcdir)/doc/interpreter/images
21282
7abdce2ae900 maint: Add missing silent rules for generating make files
Mike Miller <mtmiller@octave.org>
parents: 21281
diff changeset
558 $(AM_V_GEN)$(SHELL) $(srcdir)/doc/interpreter/config-images.sh $(top_srcdir)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
559
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
560 $(refcard_DVI) : %.dvi : %.tex | doc/refcard/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
561 -$(AM_V_TEX)cd $(@D) && \
20323
820c5a4dd0ab use $(abs_top_srcdir) in TEXINPUTS for processing refcard sources
John W. Eaton <jwe@octave.org>
parents: 20313
diff changeset
562 TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \
20313
9e361ecea878 use base filenames when processing refcard sources
John W. Eaton <jwe@octave.org>
parents: 20307
diff changeset
563 $(TEX) $(<F) $(AM_V_texidevnull)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
564
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
565 $(refcard_PDF) : %.pdf : %.tex | doc/refcard/$(octave_dirstamp)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
566 -$(AM_V_PDFTEX)cd $(@D) && \
20323
820c5a4dd0ab use $(abs_top_srcdir) in TEXINPUTS for processing refcard sources
John W. Eaton <jwe@octave.org>
parents: 20313
diff changeset
567 TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \
20313
9e361ecea878 use base filenames when processing refcard sources
John W. Eaton <jwe@octave.org>
parents: 20307
diff changeset
568 $(PDFTEX) $(<F) $(AM_V_texidevnull)
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
569
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
570 doc_EXTRA_DIST += \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
571 $(refcard_FORMATTED) \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
572 $(refcard_TEX_SRC)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
573
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
574 doc_CLEANFILES += \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
575 doc/refcard/refcard-a4.log \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
576 doc/refcard/refcard-legal.log \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
577 doc/refcard/refcard-letter.log
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
578
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
579 doc_MAINTAINERCLEANFILES += \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
580 $(refcard_FORMATTED)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
581
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
582 endif
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
583
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
584 doc/interpreter/undocumented_list:
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
585 rm -f $@-t $@
20717
d1cfc304665a build: Fix broken doc/module.mk rules for spellcheck and undocumented_list.
Rik <rik@octave.org>
parents: 20593
diff changeset
586 -cd $(srcdir)/doc/interpreter; $(PERL) ./doccheck/mk_undocumented_list > $(@F)-t
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
587 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
588 .PHONY: doc/interpreter/undocumented_list
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
589
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
590 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
591
20367
6b7c10920dfe make interpreter targets and dirstamp files order-only prerequisites
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
592 %.scheck: %.texi | doc/interpreter/$(octave_dirstamp)
20717
d1cfc304665a build: Fix broken doc/module.mk rules for spellcheck and undocumented_list.
Rik <rik@octave.org>
parents: 20593
diff changeset
593 cd $(srcdir)/doc/interpreter; ./doccheck/spellcheck $(<F) > $(@F)-t
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
594 mv $@-t $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
595 [ -s $@ ] || rm -f $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
596
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
597 spellcheck: $(SPELLCHECK_FILES)
20717
d1cfc304665a build: Fix broken doc/module.mk rules for spellcheck and undocumented_list.
Rik <rik@octave.org>
parents: 20593
diff changeset
598 @cd $(srcdir)/doc/interpreter ; \
d1cfc304665a build: Fix broken doc/module.mk rules for spellcheck and undocumented_list.
Rik <rik@octave.org>
parents: 20593
diff changeset
599 if ls *.scheck >/dev/null 2>&1 ; then \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
600 echo "Spellcheck failed"; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
601 echo "Review the following files:"; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
602 ls *.scheck ; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
603 exit 1 ; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
604 else \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
605 echo "Spellcheck passed"; \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
606 fi
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
diff changeset
607 .PHONY: spellcheck
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
608
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
609 EXTRA_DIST += $(doc_EXTRA_DIST)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
610
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
611 CLEANFILES += $(doc_CLEANFILES)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
612 DISTCLEANFILES += $(doc_DISTCLEANFILES)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
613 MAINTAINERCLEANFILES += $(doc_MAINTAINERCLEANFILES)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
614
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
615 doc-clean:
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
616 rm -f $(doc_CLEANFILES)
20416
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
617 rm -rf doc/interpreter/octave.t2d
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
618 rm -rf doc/interpreter/octave.t2p
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
619 rm -rf doc/liboctave/liboctave.t2d
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
620 rm -rf doc/liboctave/liboctave.t2p
20418
9e9e67845bbe build: Set TEXMFVAR to ensure TeX cache files can be written to build dir
Mike Miller <mtmiller@octave.org>
parents: 20417
diff changeset
621 rm -rf doc/.texmf-var
20416
44a1281e6e76 build: Adopt Automake's calling conventions for texi2dvi and texi2pdf rules
Mike Miller <mtmiller@octave.org>
parents: 20409
diff changeset
622
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
623
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
624 doc-distclean: doc-clean
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
625 rm -f $(doc_DISTCLEANFILES)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
626
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
627 doc-maintainer-clean: doc-distclean
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20360
diff changeset
628 rm -f $(doc_MAINTAINERCLEANFILES)