Mercurial > octave
annotate doc/interpreter/module.mk @ 24981:8033e53e6cb4 stable
build: disallow building source distribution without Qt offscreen OpenGL (bug #53414)
* doc/interpreter/module.mk (doc-interpreter-dist-hook): Include the
HAVE_QT_OFFSCREEN preprocessor macro in the list of prerequisites to build the
source distribution.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 22 Mar 2018 18:28:22 -0700 |
parents | 005120381e78 |
children | e8031005eb18 |
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 \ |
24549
2c497be89710
doc: Create new Graphic Properties Index (bug #52812).
Rik <rik@octave.org>
parents:
24531
diff
changeset
|
150 %reldir%/pr-idx.texi \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
151 %reldir%/quad.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
152 %reldir%/set.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
153 %reldir%/signal.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
154 %reldir%/sparse.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
155 %reldir%/stats.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
156 %reldir%/stmt.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
157 %reldir%/strings.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
158 %reldir%/system.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
159 %reldir%/testfun.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
160 %reldir%/var.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
161 %reldir%/vectorize.texi |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
162 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
163 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
|
164 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 BUILT_OCTAVE_TEXI_SRC = \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
166 %reldir%/contributors.texi \ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 $(GRAPH_PROP_TEXI_SRC) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
168 $(MUNGED_TEXI_SRC) |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
170 info_TEXINFOS += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
171 %reldir%/octave.texi |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 octave_TEXINFOS = \ |
24531
c85871d2a10e
build: Add dependency on macros.texi for documentation.
Rik <rik@octave.org>
parents:
23495
diff
changeset
|
174 %reldir%/macros.texi \ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 $(BUILT_OCTAVE_TEXI_SRC) |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
177 INFO_DEPS += $(srcdir)/%reldir%/octave.info |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
178 DVIS += %reldir%/octave.dvi |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
179 PDFS += %reldir%/octave.pdf |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
180 PSS += %reldir%/octave.ps |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
181 HTMLS += %reldir%/octave.html |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 ## 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
|
184 ## 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
|
185 ## 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
|
186 ## versions of the rules here. |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
188 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
|
189 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
|
190 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
|
191 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
192 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
|
193 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
|
194 |
24945
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
195 $(srcdir)/%reldir%/octave.info: $(DOC_IMAGES_TXT) $(octave_TEXINFOS) |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
196 %reldir%/octave.dvi: $(DOC_IMAGES_EPS) $(octave_TEXINFOS) |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
197 %reldir%/octave.pdf: $(DOC_IMAGES_PDF) $(octave_TEXINFOS) |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
198 $(OCTAVE_HTML_STAMP): $(DOC_IMAGES_PNG) $(octave_TEXINFOS) |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
199 |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
200 if AMCOND_BUILD_QT_DOCS |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
201 |
24875
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
202 OCTAVE_QTHELP_FILES = %reldir%/octave_interpreter.qhc %reldir%/octave_interpreter.qch |
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
203 |
24889
92aaa85c06b8
build: use normal automake syntax for installing Qt help (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24888
diff
changeset
|
204 octdoc_DATA += \ |
92aaa85c06b8
build: use normal automake syntax for installing Qt help (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24888
diff
changeset
|
205 $(OCTAVE_QTHELP_FILES) |
92aaa85c06b8
build: use normal automake syntax for installing Qt help (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24888
diff
changeset
|
206 |
24955
005120381e78
maint: rename mk-qthelp.pl for consistency with other build scripts
Mike Miller <mtmiller@octave.org>
parents:
24954
diff
changeset
|
207 $(OCTAVE_QTHELP_FILES): $(OCTAVE_HTML_STAMP) %reldir%/mk-qthelp.pl |
24888
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
208 $(AM_V_GEN)rm -f $(OCTAVE_QTHELP_FILES) && \ |
24955
005120381e78
maint: rename mk-qthelp.pl for consistency with other build scripts
Mike Miller <mtmiller@octave.org>
parents:
24954
diff
changeset
|
209 $(PERL) $(srcdir)/%reldir%/mk-qthelp.pl octave.html %reldir%/octave_interpreter && \ |
24938
4f1da669b610
build: export and use qcollectiongenerator command line options correctly
Mike Miller <mtmiller@octave.org>
parents:
24902
diff
changeset
|
210 $(QCOLLECTIONGENERATOR) $(QCOLLECTIONGENERATORFLAGS) %reldir%/octave_interpreter.qhcp -o %reldir%/octave_interpreter.qhc >/dev/null && \ |
24875
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
211 rm -f %reldir%/octave_interpreter.qhcp %reldir%/octave_interpreter.qhp |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
212 |
24888
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
213 ## The Qt help collection generator command produces two output files |
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
214 ## with the same base name: the compressed help (qch) file and the help |
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
215 ## collection (qhc) file. Declare the qhc file to depend on the |
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
216 ## associated qch file, so that the files are built serially. |
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
217 %reldir%/octave_interpreter.qhc: %reldir%/octave_interpreter.qch |
bdecc7465840
build: don't use a stamp file for Qt help generation (bug #53006)
Mike Miller <mtmiller@octave.org>
parents:
24883
diff
changeset
|
218 |
24945
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
219 endif |
ba9d37893822
build: Don't built special Qt Help files when --without-qt used (bug #53394)
Rik <rik@octave.org>
parents:
24942
diff
changeset
|
220 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
221 $(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
|
222 $(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
|
223 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
|
224 rm -rf $$backupdir && mkdir $$backupdir && \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 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
|
226 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
|
227 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
|
228 done; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
229 else :; fi && \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
230 cd "$$am__cwd"; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
231 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
|
232 -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
|
233 then \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
234 rc=0; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
235 $(am__cd) $(srcdir); \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
236 else \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
237 rc=$$?; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
238 $(am__cd) $(srcdir) && \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
239 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
240 fi; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
241 rm -rf $$backupdir; exit $$rc |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
242 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
243 %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
|
244 $(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
|
245 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
|
246 $(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
|
247 `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
|
248 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
249 %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
|
250 $(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
|
251 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
|
252 $(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
|
253 `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
|
254 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
255 %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
|
256 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
257 $(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
|
258 $(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
|
259 $(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
|
260 -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
|
261 --css-ref=octave.css \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
262 -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
|
263 then \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
264 rm -rf $(OCTAVE_HTML_DIR) && \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
265 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
|
266 touch $@; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
267 else \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
268 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
|
269 fi |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
270 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
271 $(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
|
272 $(AM_V_GEN)cp $< $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
273 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
274 DOC_TARGETS += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
275 $(srcdir)/%reldir%/octave.info \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
276 %reldir%/doc-cache \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
277 %reldir%/octave.ps \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
278 %reldir%/octave.pdf \ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
279 $(OCTAVE_HTML_STAMP) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
280 $(HTMLDIR_IMAGES) \ |
24875
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
281 $(HTMLDIR_CSS) \ |
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
282 $(OCTAVE_QTHELP_FILES) |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
283 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
284 ## 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
|
285 ## building HTMLDIR_CSS work properly. |
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 doc_EXTRA_DIST += \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
288 $(BUILT_OCTAVE_TEXI_SRC) \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
289 $(srcdir)/%reldir%/octave.info \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
290 %reldir%/TODO \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
291 %reldir%/doc-cache \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
292 %reldir%/octave.dvi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
293 %reldir%/octave.ps \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
294 %reldir%/octave.pdf \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
295 %reldir%/octave.html \ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
296 $(HTMLDIR_IMAGES) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
297 $(OCTAVE_CSS) \ |
24875
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
298 $(HTMLDIR_CSS) \ |
7c7b60dd4d4c
Generate Qt compressed help and collection files for the manual (bug #53006)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24549
diff
changeset
|
299 $(OCTAVE_QTHELP_FILES) |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
300 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
301 # 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
|
302 # 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
|
303 doc-interpreter-dist-hook: |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
304 @$(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
|
305 @$(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
|
306 @$(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
|
307 @$(GREP) '#define HAVE_QHULL 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing QHULL library. Cannot package distribution!" ; exit 1; } |
24981
8033e53e6cb4
build: disallow building source distribution without Qt offscreen OpenGL (bug #53414)
Mike Miller <mtmiller@octave.org>
parents:
24955
diff
changeset
|
308 @$(GREP) '#define HAVE_QT_OFFSCREEN 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires Qt offscreen OpenGL rendering. Cannot package distribution!" ; exit 1; } |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
309 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
310 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
311 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
312 ## 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
|
313 ## @EXAMPLEFILE macro. |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
314 %reldir%/oop.texi: $(examples_code_SRC) |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
315 %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
|
316 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
317 %.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
|
318 $(AM_V_GEN)rm -f $@-t $@ && \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
319 $(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
|
320 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
321 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
322 %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
|
323 $(AM_V_GEN)rm -f $@-t $@ && \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
324 $(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
|
325 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
326 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
327 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
|
328 $(AM_V_MAKEINFO)rm -f $@-t $@ && \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
329 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
|
330 cp $(srcdir)/%reldir%/contributors.texi %reldir%/contributors.texi; \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
331 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
|
332 fi && \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
333 $(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
|
334 --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
|
335 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
336 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
337 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
|
338 $(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
|
339 $(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
|
340 --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
|
341 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
342 |
24531
c85871d2a10e
build: Add dependency on macros.texi for documentation.
Rik <rik@octave.org>
parents:
23495
diff
changeset
|
343 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
|
344 $(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
|
345 $(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
|
346 --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
|
347 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
348 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
349 doc_EXTRA_DIST += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
350 %reldir%/config-images.sh \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
351 %reldir%/contributors.in \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
352 %reldir%/doc-cache \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
353 %reldir%/genpropdoc.m \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
354 %reldir%/graphics_properties.mk \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
355 %reldir%/images \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
356 %reldir%/images.awk \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
357 %reldir%/images.mk \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
358 %reldir%/macros.texi \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
359 %reldir%/mk-doc-cache.pl \ |
24955
005120381e78
maint: rename mk-qthelp.pl for consistency with other build scripts
Mike Miller <mtmiller@octave.org>
parents:
24954
diff
changeset
|
360 %reldir%/mk-qthelp.pl \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
361 %reldir%/mkcontrib.awk \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
362 %reldir%/munge-texi.pl \ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
363 $(DOC_IMAGES) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
364 $(DOC_IMAGES_SRC) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
365 $(LOGOS) \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
366 $(TXI_SRC) |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
367 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
368 doc_MAINTAINERCLEANFILES += \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
369 AUTHORS \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
370 $(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
|
371 $(BUILT_OCTAVE_TEXI_SRC) |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
372 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
373 ## 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
|
374 ## 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
|
375 ## 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
|
376 %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
|
377 |
22158
623b556e9d45
always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
378 endif |
623b556e9d45
always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
379 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
380 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
|
381 |
22158
623b556e9d45
always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
382 ## 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
|
383 ## 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
|
384 ## 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
|
385 ## 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
|
386 |
623b556e9d45
always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
387 doc_MAINTAINERCLEANFILES += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
388 %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
|
389 |
623b556e9d45
always create doc-cache; install it and macros.texi (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
390 octetc_DATA += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
391 %reldir%/doc-cache \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
392 %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
|
393 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
394 %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
|
395 $(AM_V_GEN)rm -f $@-t $@ && \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
396 $(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
|
397 mv $@-t $@ |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
398 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
399 %reldir%/undocumented_list: |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
400 rm -f $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
401 -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
|
402 mv $@-t $@ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
403 .PHONY: %reldir%/undocumented_list |
21646
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
404 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
405 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
|
406 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
407 %.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
|
408 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
|
409 mv $@-t $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
410 [ -s $@ ] || rm -f $@ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
411 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
412 spellcheck: $(SPELLCHECK_FILES) |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
413 @cd $(srcdir)/doc/interpreter ; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
414 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
|
415 echo "Spellcheck failed"; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
416 echo "Review the following files:"; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
417 ls *.scheck ; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
418 exit 1 ; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
419 else \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
420 echo "Spellcheck passed"; \ |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
421 fi |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
422 .PHONY: spellcheck |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
423 |
3cddf1e65ccf
split doc/module.mk into separate files for subdirectories
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
424 doc-interpreter-clean: |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
425 rm -rf %reldir%/octave.t2d |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
22475
diff
changeset
|
426 rm -rf %reldir%/octave.t2p |