annotate doc/interpreter/module.mk @ 24531:c85871d2a10e

build: Add dependency on macros.texi for documentation. * doc/interpreter/module.mk: Add dependency to octave_TEXINFOS. Add dependency to special rule INSTALL.OCTAVE which includes macros.texi through install.texi.
author Rik <rik@octave.org>
date Fri, 05 Jan 2018 16:17:36 -0800
parents 8308417aff1c
children 2c497be89710
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 if AMCOND_BUILD_DOCS
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 GRAPH_PROP_TEXI_SRC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
4 %reldir%/plot-axesproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
5 %reldir%/plot-figureproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
6 %reldir%/plot-imageproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
7 %reldir%/plot-lightproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
8 %reldir%/plot-lineproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
9 %reldir%/plot-patchproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
10 %reldir%/plot-rootproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
11 %reldir%/plot-surfaceproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
12 %reldir%/plot-textproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
13 %reldir%/plot-uimenuproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
14 %reldir%/plot-uibuttongroupproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
15 %reldir%/plot-uicontextmenuproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
16 %reldir%/plot-uipanelproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
17 %reldir%/plot-uicontrolproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
18 %reldir%/plot-uitoolbarproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
19 %reldir%/plot-uipushtoolproperties.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
20 %reldir%/plot-uitoggletoolproperties.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(GRAPH_PROP_TEXI_SRC): | $(OCTAVE_INTERPRETER_TARGETS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 define gen-propdoc-texi
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 rm -f $@-t $@ && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(SHELL) run-octave --norc --silent --no-history --path $(srcdir)/doc/interpreter --eval "genpropdoc ('$(1)');" > $@-t && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 endef
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
30 %reldir%/plot-axesproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 $(AM_V_GEN)$(call gen-propdoc-texi,axes)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
33 %reldir%/plot-figureproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 $(AM_V_GEN)$(call gen-propdoc-texi,figure)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
36 %reldir%/plot-imageproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 $(AM_V_GEN)$(call gen-propdoc-texi,image)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
39 %reldir%/plot-lightproperties.texi: %reldir%/genpropdoc.m
21789
6afdf40be534 Implement graphics object "light" (patch #8943).
mmuetzel <markus.muetzel@gmx.de>
parents: 21646
diff changeset
40 $(AM_V_GEN)$(call gen-propdoc-texi,light)
6afdf40be534 Implement graphics object "light" (patch #8943).
mmuetzel <markus.muetzel@gmx.de>
parents: 21646
diff changeset
41
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
42 %reldir%/plot-lineproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 $(AM_V_GEN)$(call gen-propdoc-texi,line)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
45 %reldir%/plot-patchproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 $(AM_V_GEN)$(call gen-propdoc-texi,patch)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
48 %reldir%/plot-rootproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 $(AM_V_GEN)$(call gen-propdoc-texi,root)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
51 %reldir%/plot-surfaceproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 $(AM_V_GEN)$(call gen-propdoc-texi,surface)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
54 %reldir%/plot-textproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 $(AM_V_GEN)$(call gen-propdoc-texi,text)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
57 %reldir%/plot-uimenuproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 $(AM_V_GEN)$(call gen-propdoc-texi,uimenu)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
60 %reldir%/plot-uibuttongroupproperties.texi: %reldir%/genpropdoc.m
21824
6780a8657be3 Implement uibuttongroup (bug #47513)
Andrew Thornton <art27@cantab.net>
parents: 21789
diff changeset
61 $(AM_V_GEN)$(call gen-propdoc-texi,uibuttongroup)
6780a8657be3 Implement uibuttongroup (bug #47513)
Andrew Thornton <art27@cantab.net>
parents: 21789
diff changeset
62
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
63 %reldir%/plot-uicontextmenuproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 $(AM_V_GEN)$(call gen-propdoc-texi,uicontextmenu)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
66 %reldir%/plot-uipanelproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 $(AM_V_GEN)$(call gen-propdoc-texi,uipanel)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
69 %reldir%/plot-uicontrolproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 $(AM_V_GEN)$(call gen-propdoc-texi,uicontrol)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
72 %reldir%/plot-uitoolbarproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 $(AM_V_GEN)$(call gen-propdoc-texi,uitoolbar)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
75 %reldir%/plot-uipushtoolproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 $(AM_V_GEN)$(call gen-propdoc-texi,uipushtool)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
78 %reldir%/plot-uitoggletoolproperties.texi: %reldir%/genpropdoc.m
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 $(AM_V_GEN)$(call gen-propdoc-texi,uitoggletool)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 dist_man_MANS = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
82 %reldir%/mkoctfile.1 \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
83 %reldir%/octave-cli.1 \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
84 %reldir%/octave-config.1 \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
85 %reldir%/octave.1
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 BUILT_DOC_IMAGES += \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 $(BUILT_DOC_IMAGES_EPS) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 $(BUILT_DOC_IMAGES_PDF) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 $(BUILT_DOC_IMAGES_PNG) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 $(BUILT_DOC_IMAGES_TXT)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 DOC_IMAGES_EPS += $(BUILT_DOC_IMAGES_EPS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 DOC_IMAGES_PDF += $(BUILT_DOC_IMAGES_PDF)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 DOC_IMAGES_PNG += $(BUILT_DOC_IMAGES_PNG)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 DOC_IMAGES_TXT += $(BUILT_DOC_IMAGES_TXT)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 DOC_IMAGES += \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99 $(BUILT_DOC_IMAGES)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 $(BUILT_DOC_IMAGES): | $(OCTAVE_INTERPRETER_TARGETS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
103 HTMLDIR_IMAGES = $(patsubst %reldir%/%.png, %reldir%/octave.html/%.png, $(DOC_IMAGES_PNG))
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 LOGOS = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
106 %reldir%/octave_logo.eps \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
107 %reldir%/octave_logo.pdf
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
109 DOC_IMAGES_EPS += %reldir%/octave_logo.eps
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
110 DOC_IMAGES_PDF += %reldir%/octave_logo.pdf
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 MUNGED_TEXI_SRC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
113 %reldir%/arith.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
114 %reldir%/audio.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
115 %reldir%/basics.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
116 %reldir%/bugs.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
117 %reldir%/container.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
118 %reldir%/cp-idx.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
119 %reldir%/data.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
120 %reldir%/debug.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
121 %reldir%/diffeq.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
122 %reldir%/diagperm.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
123 %reldir%/external.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
124 %reldir%/errors.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
125 %reldir%/eval.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
126 %reldir%/expr.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
127 %reldir%/fn-idx.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
128 %reldir%/func.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
129 %reldir%/geometry.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
130 %reldir%/gui.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
131 %reldir%/gpl.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
132 %reldir%/grammar.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
133 %reldir%/image.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
134 %reldir%/install.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
135 %reldir%/interp.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
136 %reldir%/intro.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
137 %reldir%/io.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
138 %reldir%/linalg.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
139 %reldir%/matrix.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
140 %reldir%/nonlin.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
141 %reldir%/numbers.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
142 %reldir%/obsolete.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
143 %reldir%/oop.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
144 %reldir%/op-idx.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
145 %reldir%/optim.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
146 %reldir%/package.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
147 %reldir%/plot.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
148 %reldir%/poly.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
149 %reldir%/preface.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
150 %reldir%/quad.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
151 %reldir%/set.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
152 %reldir%/signal.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
153 %reldir%/sparse.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
154 %reldir%/stats.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
155 %reldir%/stmt.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
156 %reldir%/strings.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
157 %reldir%/system.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
158 %reldir%/testfun.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
159 %reldir%/var.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
160 %reldir%/vectorize.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 TXI_SRC = $(MUNGED_TEXI_SRC:.texi=.txi)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 BUILT_OCTAVE_TEXI_SRC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
165 %reldir%/contributors.texi \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 $(GRAPH_PROP_TEXI_SRC) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 $(MUNGED_TEXI_SRC)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 info_TEXINFOS += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
170 %reldir%/octave.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 octave_TEXINFOS = \
24531
c85871d2a10e build: Add dependency on macros.texi for documentation.
Rik <rik@octave.org>
parents: 23495
diff changeset
173 %reldir%/macros.texi \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 $(BUILT_OCTAVE_TEXI_SRC)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
176 INFO_DEPS += $(srcdir)/%reldir%/octave.info
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
177 DVIS += %reldir%/octave.dvi
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
178 PDFS += %reldir%/octave.pdf
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
179 PSS += %reldir%/octave.ps
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
180 HTMLS += %reldir%/octave.html
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 ## As of version 1.14.1, automake does not seem to generate
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 ## rules for DVI, PDF, or HTML output that work for us when
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 ## there are additional dependencies, so we include our own
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 ## versions of the rules here.
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
187 OCTAVE_HTML_DIR = %reldir%/octave.html
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 OCTAVE_HTML_TMP_DIR = $(OCTAVE_HTML_DIR:.html=.htp)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 OCTAVE_HTML_STAMP = $(OCTAVE_HTML_DIR)/.octave-html-stamp
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
191 OCTAVE_CSS = %reldir%/octave.css
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 HTMLDIR_CSS = $(OCTAVE_HTML_DIR)/octave.css
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
194 $(srcdir)/%reldir%/octave.info: $(DOC_IMAGES_TXT) $(octave_TEXINFOS)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
195 %reldir%/octave.dvi: $(DOC_IMAGES_EPS) $(octave_TEXINFOS)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
196 %reldir%/octave.pdf: $(DOC_IMAGES_PDF) $(octave_TEXINFOS)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 $(OCTAVE_HTML_STAMP): $(DOC_IMAGES_PNG) $(octave_TEXINFOS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
199 $(srcdir)/%reldir%/octave.info: %reldir%/octave.texi $(srcdir)/%reldir%/version-octave.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 am__cwd=`pwd` && $(am__cd) $(srcdir) && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 rm -rf $$backupdir && mkdir $$backupdir && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 done; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 else :; fi && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 cd "$$am__cwd"; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
210 -o $@ $(srcdir)/%reldir%/octave.texi; \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 then \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 rc=0; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 $(am__cd) $(srcdir); \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 else \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 rc=$$?; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 $(am__cd) $(srcdir) && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 fi; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 rm -rf $$backupdir; exit $$rc
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
221 %reldir%/octave.dvi: %reldir%/octave.texi $(srcdir)/%reldir%/version-octave.texi | %reldir%/$(am__dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(srcdir)/doc/interpreter' \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
225 `test -f '%reldir%/octave.texi' || echo '$(abs_top_srcdir)/'`%reldir%/octave.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
227 %reldir%/octave.pdf: %reldir%/octave.texi $(srcdir)/%reldir%/version-octave.texi | %reldir%/$(am__dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228 $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter' \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230 $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
231 `test -f '%reldir%/octave.texi' || echo '$(abs_top_srcdir)/'`%reldir%/octave.texi
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
233 %reldir%/octave.html: $(OCTAVE_HTML_STAMP)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
235 $(OCTAVE_HTML_STAMP): %reldir%/octave.texi $(srcdir)/%reldir%/version-octave.texi | %reldir%/$(am__dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 $(AM_V_MAKEINFO)rm -rf $(OCTAVE_HTML_DIR)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
237 $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 --css-ref=octave.css \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
240 -o $(OCTAVE_HTML_TMP_DIR) `test -f '%reldir%/octave.texi' || echo '$(abs_top_srcdir)/'`%reldir%/octave.texi; \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 then \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 rm -rf $(OCTAVE_HTML_DIR) && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243 mv $(OCTAVE_HTML_TMP_DIR) $(OCTAVE_HTML_DIR) && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 touch $@; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 else \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 rm -rf $(OCTAVE_HTML_TMP_DIR); exit 1; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 fi
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
248
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
249 $(HTMLDIR_IMAGES) $(HTMLDIR_CSS) : %reldir%/octave.html/%: %reldir%/% $(OCTAVE_HTML_STAMP)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 $(AM_V_GEN)cp $< $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
252 DOC_TARGETS += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
253 $(srcdir)/%reldir%/octave.info \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
254 %reldir%/doc-cache \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
255 %reldir%/octave.ps \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
256 %reldir%/octave.pdf \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257 $(OCTAVE_HTML_STAMP) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 $(HTMLDIR_IMAGES) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
259 $(HTMLDIR_CSS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 ## Distribute both OCTAVE_CSS and HTMLDIR_CSS so that the rules for
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
262 ## building HTMLDIR_CSS work properly.
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 doc_EXTRA_DIST += \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265 $(BUILT_OCTAVE_TEXI_SRC) \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
266 $(srcdir)/%reldir%/octave.info \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
267 %reldir%/TODO \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
268 %reldir%/doc-cache \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
269 %reldir%/octave.dvi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
270 %reldir%/octave.ps \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
271 %reldir%/octave.pdf \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
272 %reldir%/octave.html \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 $(HTMLDIR_IMAGES) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 $(OCTAVE_CSS) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 $(HTMLDIR_CSS)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 # Prevent packaging of distribution unless all libraries
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 # necessary to create documentation are present
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 doc-interpreter-dist-hook:
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 @$(GREP) '#define HAVE_COLAMD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing COLAMD library. Cannot package distribution!" ; exit 1; }
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 @$(GREP) '#define HAVE_CHOLMOD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing CHOLMOD library. Cannot package distribution!" ; exit 1; }
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 @$(GREP) '#define HAVE_UMFPACK 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing UMFPACK library. Cannot package distribution!" ; exit 1; }
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 @$(GREP) '#define HAVE_QHULL 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing QHULL library. Cannot package distribution!" ; exit 1; }
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 ## These two texi files have an additional dependency through the
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 ## @EXAMPLEFILE macro.
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
289 %reldir%/oop.texi: $(examples_code_SRC)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
290 %reldir%/external.texi: $(examples_code_SRC)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
292 %.texi : %.txi %reldir%/munge-texi.pl | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 $(AM_V_GEN)rm -f $@-t $@ && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
294 $(PERL) $(srcdir)/%reldir%/munge-texi.pl $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t && \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
297 %reldir%/contributors.texi: %reldir%/contributors.in | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 $(AM_V_GEN)rm -f $@-t $@ && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
299 $(AWK) -f $(srcdir)/%reldir%/mkcontrib.awk $(srcdir)/%reldir%/contributors.in > $@-t && \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
302 AUTHORS: %reldir%/preface.texi %reldir%/contributors.texi | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
304 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/%reldir%/contributors.texi ] && [ ! -f %reldir%/contributors.texi ]; then \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
305 cp $(srcdir)/%reldir%/contributors.texi %reldir%/contributors.texi; \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
306 touch -r $(srcdir)/%reldir%/contributors.texi %reldir%/contributors.texi; \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307 fi && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
308 $(MAKEINFO) -D AUTHORSONLY -I $(srcdir)/%reldir%/ \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
309 --no-validate --no-headers --no-split --output $@-t $< && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
310 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
311
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
312 BUGS: %reldir%/bugs.texi | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
313 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 $(MAKEINFO) -D BUGSONLY -I $(srcdir)/doc/interpreter \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315 --no-validate --no-headers --no-split --output $@-t $< && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
316 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317
24531
c85871d2a10e build: Add dependency on macros.texi for documentation.
Rik <rik@octave.org>
parents: 23495
diff changeset
318 INSTALL.OCTAVE: %reldir%/install.texi %reldir%/macros.texi | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 $(AM_V_MAKEINFO)rm -f $@-t $@ && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 $(MAKEINFO) -D INSTALLONLY -I $(srcdir)/doc/interpreter \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321 --no-validate --no-headers --no-split --output $@-t $< && \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 doc_EXTRA_DIST += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
325 %reldir%/config-images.sh \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
326 %reldir%/contributors.in \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
327 %reldir%/doc-cache \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
328 %reldir%/genpropdoc.m \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
329 %reldir%/graphics_properties.mk \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
330 %reldir%/images \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
331 %reldir%/images.awk \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
332 %reldir%/images.mk \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
333 %reldir%/macros.texi \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
334 %reldir%/mk-doc-cache.pl \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
335 %reldir%/mkcontrib.awk \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
336 %reldir%/munge-texi.pl \
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337 $(DOC_IMAGES) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 $(DOC_IMAGES_SRC) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 $(LOGOS) \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 $(TXI_SRC)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 doc_MAINTAINERCLEANFILES += \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343 AUTHORS \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 $(BUILT_DOC_IMAGES) \
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
345 $(BUILT_OCTAVE_TEXI_SRC)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 ## The TeX software suite is used to create both PDF and PS output formats.
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 ## In order to avoid race conditions between simultaneous TeX commands, the
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349 ## PDF and PS builds are forced to run serially through the following rule.
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
350 %reldir%/octave.pdf: %reldir%/octave.ps
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
352 endif
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
353
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
354 DIRSTAMP_FILES += %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
356 ## The doc-cache file can be built without TeX but it does require
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
357 ## makeinfo, but that is needed to display function docstrings at the
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
358 ## Octave command line. The macros.texi file must also be installed
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
359 ## to display docstrings at the command line.
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
360
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
361 doc_MAINTAINERCLEANFILES += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
362 %reldir%/doc-cache
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
363
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
364 octetc_DATA += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
365 %reldir%/doc-cache \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
366 %reldir%/macros.texi
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
367
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
368 %reldir%/doc-cache: $(DOCSTRING_FILES) %reldir%/mk-doc-cache.pl | $(OCTAVE_INTERPRETER_TARGETS) %reldir%/$(octave_dirstamp)
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
369 $(AM_V_GEN)rm -f $@-t $@ && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
370 $(PERL) $(srcdir)/%reldir%/mk-doc-cache.pl $(srcdir) $(srcdir)/%reldir%/macros.texi $(DOCSTRING_FILES) > $@-t && \
22158
623b556e9d45 always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22156
diff changeset
371 mv $@-t $@
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
373 %reldir%/undocumented_list:
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 rm -f $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 -cd $(srcdir)/doc/interpreter; $(PERL) ./doccheck/mk_undocumented_list > $(@F)-t
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 mv $@-t $@
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
377 .PHONY: %reldir%/undocumented_list
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 SPELLCHECK_FILES = $(MUNGED_TEXI_SRC:.texi=.scheck)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
381 %.scheck: %.texi | %reldir%/$(octave_dirstamp)
21646
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 cd $(srcdir)/doc/interpreter; ./doccheck/spellcheck $(<F) > $(@F)-t
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 mv $@-t $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 [ -s $@ ] || rm -f $@
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
385
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
386 spellcheck: $(SPELLCHECK_FILES)
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
387 @cd $(srcdir)/doc/interpreter ; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 if ls *.scheck >/dev/null 2>&1 ; then \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 echo "Spellcheck failed"; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 echo "Review the following files:"; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391 ls *.scheck ; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
392 exit 1 ; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393 else \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 echo "Spellcheck passed"; \
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 fi
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 .PHONY: spellcheck
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397
3cddf1e65ccf split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 doc-interpreter-clean:
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
399 rm -rf %reldir%/octave.t2d
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 22475
diff changeset
400 rm -rf %reldir%/octave.t2p