Mercurial > octave-nkf
annotate doc/interpreter/Makefile.am @ 19826:4f6ae6b94abe
make --enable-silent-rules configure option more useful
* sparse-mx-ops: Rename from smx-ops.
* genpropdoc.m: Write to stdout if filename is not supplied.
* Makefile.am, build-aux/common.mk, doc/interpreter/Makefile.am,
doc/interpreter/graphics_properties.mk, etc/icons/Makefile.am,
libgui/Makefile.am, libinterp/Makefile.am,
libinterp/corefcn/module.mk, libinterp/octave-value/module.mk,
libinterp/operators/module.mk, libinterp/parse-tree/module.mk,
liboctave/cruft/module.mk, liboctave/cruft/ranlib/module.mk,
liboctave/cruft/slatec-fn/module.mk, liboctave/numeric/module.mk,
liboctave/operators/module.mk, scripts/Makefile.am,
scripts/java/module.mk, src/Makefile.am, test/Makefile.am:
Preface rules with $(AM_V_GEN) or similar as needed. Improve
consistency of rules. Prefer commands that write to stdout,
redirecting output to $@-t, then moving to $@.
* doc/interpreter/images.awk, libinterp/dldfcn/config-module.awk:
Generate rules with $(AM_V_GEN).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Feb 2015 17:18:19 -0500 |
parents | 4197fc428c7d |
children | 45d7be391982 |
rev | line source |
---|---|
15267
df3939195fbb
Serialize texi2dvi and texi2pdf commands with Makefile rule
Rik <rik@octave.org>
parents:
15266
diff
changeset
|
1 # Makefile for Octave's doc/interpreter directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
19731
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19630
diff
changeset
|
3 # Copyright (C) 1993-2015 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12582
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 TEXINFO_TEX = ../texinfo.tex |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
9919
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
25 ## Leading PATH_SEPARATOR required due to weak parsing by dvips (12/04/09) |
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
26 TEXINPUTS := "$(PATH_SEPARATOR)$(srcdir)$(PATH_SEPARATOR)$(TEXINPUTS)$(PATH_SEPARATOR)" |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 export TEXINPUTS |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
29 ## Include custom texmf.cnf necessary to run @seealso macro |
9919
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
30 TEXMFCNF := "..$(PATH_SEPARATOR)$(srcdir)/..$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)" |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 export TEXMFCNF |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
17340
af49b1385b26
build: Fix man pages not be installed with 'make install'
Rik <rik@octave.org>
parents:
17284
diff
changeset
|
33 dist_man_MANS = \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 mkoctfile.1 \ |
18213
8d7e45ea11fa
doc: Add new octave-cli man page (bug #41085).
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
35 octave-cli.1 \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 octave-config.1 \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 octave.1 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 |
12227
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
39 ## The following files are included in the manual via the @EXAMPLEFILE macro. |
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
40 ## They are dependencies for the documentation. |
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
41 ## They must not be distributed from this directory. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 EXAMPLE_FILES = \ |
19067 | 43 $(top_srcdir)/examples/code/@FIRfilter/FIRfilter.m \ |
44 $(top_srcdir)/examples/code/@FIRfilter/FIRfilter_aggregation.m \ | |
45 $(top_srcdir)/examples/code/@FIRfilter/display.m \ | |
46 $(top_srcdir)/examples/code/@FIRfilter/subsasgn.m \ | |
47 $(top_srcdir)/examples/code/@FIRfilter/subsref.m \ | |
48 $(top_srcdir)/examples/code/@polynomial/display.m \ | |
49 $(top_srcdir)/examples/code/@polynomial/double.m \ | |
50 $(top_srcdir)/examples/code/@polynomial/end.m \ | |
51 $(top_srcdir)/examples/code/@polynomial/get.m \ | |
52 $(top_srcdir)/examples/code/@polynomial/mtimes.m \ | |
53 $(top_srcdir)/examples/code/@polynomial/plot.m \ | |
54 $(top_srcdir)/examples/code/@polynomial/polynomial.m \ | |
55 $(top_srcdir)/examples/code/@polynomial/polynomial_superiorto.m \ | |
56 $(top_srcdir)/examples/code/@polynomial/polyval.m \ | |
57 $(top_srcdir)/examples/code/@polynomial/set.m \ | |
58 $(top_srcdir)/examples/code/@polynomial/subsref.m \ | |
59 $(top_srcdir)/examples/code/addtwomatrices.cc \ | |
60 $(top_srcdir)/examples/code/celldemo.cc \ | |
61 $(top_srcdir)/examples/code/embedded.cc \ | |
62 $(top_srcdir)/examples/code/fortrandemo.cc \ | |
63 $(top_srcdir)/examples/code/fortransub.f \ | |
64 $(top_srcdir)/examples/code/funcdemo.cc \ | |
65 $(top_srcdir)/examples/code/globaldemo.cc \ | |
66 $(top_srcdir)/examples/code/helloworld.cc \ | |
67 $(top_srcdir)/examples/code/mycell.c \ | |
68 $(top_srcdir)/examples/code/myfeval.c \ | |
69 $(top_srcdir)/examples/code/myfunc.c \ | |
70 $(top_srcdir)/examples/code/myhello.c \ | |
71 $(top_srcdir)/examples/code/mypow2.c \ | |
72 $(top_srcdir)/examples/code/mysparse.c \ | |
73 $(top_srcdir)/examples/code/mystring.c \ | |
74 $(top_srcdir)/examples/code/mystruct.c \ | |
75 $(top_srcdir)/examples/code/paramdemo.cc \ | |
76 $(top_srcdir)/examples/code/standalone.cc \ | |
77 $(top_srcdir)/examples/code/stringdemo.cc \ | |
78 $(top_srcdir)/examples/code/structdemo.cc \ | |
79 $(top_srcdir)/examples/code/unwinddemo.cc | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
81 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 include images.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 |
10874
62ed71623aca
Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents:
10214
diff
changeset
|
84 $(srcdir)/images.mk: $(srcdir)/config-images.sh $(srcdir)/images.awk $(srcdir)/images |
62ed71623aca
Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents:
10214
diff
changeset
|
85 $(srcdir)/config-images.sh $(top_srcdir) |
62ed71623aca
Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents:
10214
diff
changeset
|
86 |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
87 JAVA_IMAGES = \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
88 java-images/image001.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
89 java-images/image002.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
90 java-images/image003.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
91 java-images/image004.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
92 java-images/image005.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
93 java-images/image006.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
94 java-images/image007.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
95 java-images/image008.png \ |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
96 java-images/image009.png |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
97 |
15735
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
98 BUILT_IMAGES = \ |
9910
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
99 $(IMAGES_EPS) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
100 $(IMAGES_PDF) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
101 $(IMAGES_PNG) \ |
15735
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
102 $(IMAGES_TXT) |
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
103 |
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
104 IMAGES = \ |
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
105 $(BUILT_IMAGES) \ |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
106 $(JAVA_IMAGES) |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
107 |
15735
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
108 ## FIXME: JAVA_IMAGES will eventually need to be added to the HTML build. |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
109 ## It will require a different Makefile rule later because |
15735
487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
110 ## JAVA_IMAGES live in a subdir rather than in the current directory. |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
111 HTMLDIR_IMAGES = $(addprefix octave.html/, $(IMAGES_PNG)) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 |
12336
af2b18354a8e
Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents:
12227
diff
changeset
|
113 LOGOS = \ |
af2b18354a8e
Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents:
12227
diff
changeset
|
114 octave_logo.eps \ |
af2b18354a8e
Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents:
12227
diff
changeset
|
115 octave_logo.pdf |
af2b18354a8e
Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents:
12227
diff
changeset
|
116 |
9906 | 117 MUNGED_TEXI_SRC = \ |
118 arith.texi \ | |
119 audio.texi \ | |
120 basics.texi \ | |
121 bugs.texi \ | |
122 container.texi \ | |
123 contrib.texi \ | |
124 cp-idx.texi \ | |
125 data.texi \ | |
126 debug.texi \ | |
127 diffeq.texi \ | |
128 diagperm.texi \ | |
16867
be41c30bcb44
Re-write documentation and all examples of dynamically linked functions.
Rik <rik@octave.org>
parents:
15834
diff
changeset
|
129 external.texi \ |
9906 | 130 emacs.texi \ |
131 errors.texi \ | |
132 eval.texi \ | |
133 expr.texi \ | |
134 fn-idx.texi \ | |
135 func.texi \ | |
136 geometry.texi \ | |
13943
5820f8ce683e
doc: Add undocumented functions to manual for 3.6.0 release
Rik <octave@nomad.inbox5.com>
parents:
12733
diff
changeset
|
137 gui.texi \ |
9906 | 138 gpl.texi \ |
139 grammar.texi \ | |
140 image.texi \ | |
141 install.texi \ | |
142 interp.texi \ | |
143 intro.texi \ | |
144 io.texi \ | |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15505
diff
changeset
|
145 java.texi \ |
9906 | 146 linalg.texi \ |
147 matrix.texi \ | |
148 nonlin.texi \ | |
149 numbers.texi \ | |
10214
57e24c53e063
doc/interpreter/obsolete.texi: new file; list removed functions
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
150 obsolete.texi \ |
9906 | 151 oop.texi \ |
152 op-idx.texi \ | |
153 optim.texi \ | |
154 package.texi \ | |
155 plot.texi \ | |
156 poly.texi \ | |
157 preface.texi \ | |
158 quad.texi \ | |
159 set.texi \ | |
160 signal.texi \ | |
161 sparse.texi \ | |
162 stats.texi \ | |
163 stmt.texi \ | |
164 strings.texi \ | |
165 system.texi \ | |
166 testfun.texi \ | |
167 tips.texi \ | |
14116
951eacaf9381
Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13943
diff
changeset
|
168 var.texi \ |
951eacaf9381
Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13943
diff
changeset
|
169 vectorize.texi |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
170 |
9906 | 171 TXI_SRC = $(MUNGED_TEXI_SRC:.texi=.txi) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 |
19291
1f2a16d41ba2
Automatically generate graphics properties documentation (bug #42536)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19067
diff
changeset
|
173 include graphics_properties.mk |
1f2a16d41ba2
Automatically generate graphics properties documentation (bug #42536)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19067
diff
changeset
|
174 |
15248
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
175 BUILT_TEXINFOS = \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
176 contributors.texi \ |
19291
1f2a16d41ba2
Automatically generate graphics properties documentation (bug #42536)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19067
diff
changeset
|
177 $(GRAPH_PROP_TEXI_SRC) \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
178 $(MUNGED_TEXI_SRC) |
9889
81c5ea6ddf81
doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents:
9863
diff
changeset
|
179 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 info_TEXINFOS = octave.texi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
181 |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
182 octave_TEXINFOS = \ |
15248
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
183 $(BUILT_TEXINFOS) \ |
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
184 $(EXAMPLE_FILES) \ |
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
185 $(IMAGES) \ |
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
186 $(LOGOS) \ |
969952fcd30f
build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents:
15247
diff
changeset
|
187 $(srcdir)/images.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
189 all-local: dvi html pdf ps doc-cache |
9889
81c5ea6ddf81
doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents:
9863
diff
changeset
|
190 |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
191 html: $(HTMLDIR_IMAGES) |
9889
81c5ea6ddf81
doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents:
9863
diff
changeset
|
192 |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
193 $(HTMLDIR_IMAGES): $(IMAGES_PNG) | octave.html |
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
194 cp $(@F) octave.html |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
195 |
15267
df3939195fbb
Serialize texi2dvi and texi2pdf commands with Makefile rule
Rik <rik@octave.org>
parents:
15266
diff
changeset
|
196 ## The texi2dvi script (used to create both PDF and DVI output formats) |
df3939195fbb
Serialize texi2dvi and texi2pdf commands with Makefile rule
Rik <rik@octave.org>
parents:
15266
diff
changeset
|
197 ## uses some fixed temporary file names. In order to avoid a race condition |
df3939195fbb
Serialize texi2dvi and texi2pdf commands with Makefile rule
Rik <rik@octave.org>
parents:
15266
diff
changeset
|
198 ## the DVI and PDF builds are forced to run serially through a Makefile rule. |
df3939195fbb
Serialize texi2dvi and texi2pdf commands with Makefile rule
Rik <rik@octave.org>
parents:
15266
diff
changeset
|
199 octave.pdf: octave.dvi |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
200 |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
201 # Prevent packaging of distribution unless all libraries |
9962
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
202 # necessary to create documentation are present |
9963
0055d0b8a4bb
Replace distdir-local rule with dist-hook rule which is better supported
Rik <rdrider0-list@yahoo.com>
parents:
9962
diff
changeset
|
203 dist-hook: |
9962
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
204 @$(GREP) '#define HAVE_COLAMD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing COLAMD library. Cannot package distribution!" ; exit 1; } |
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
205 @$(GREP) '#define HAVE_CHOLMOD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing CHOLMOD library. Cannot package distribution!" ; exit 1; } |
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
206 @$(GREP) '#define HAVE_UMFPACK 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing UMFPACK library. Cannot package distribution!" ; exit 1; } |
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
207 @$(GREP) '#define HAVE_QHULL 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing QHULL library. Cannot package distribution!" ; exit 1; } |
9bd50882cd1c
new distdir-local rule stops package distribution unless libraries necessary to create documentation are present.
Rik <rdrider0-list@yahoo.com>
parents:
9943
diff
changeset
|
208 |
14614
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14611
diff
changeset
|
209 octetc_DATA = doc-cache macros.texi |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 |
9906 | 211 DOCSTRING_FILES = $(shell $(srcdir)/find-docstring-files.sh "$(top_srcdir)") |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
212 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
214 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
215 $(top_builddir)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m - $(srcdir)/macros.texi $(DOCSTRING_FILES) >$@-t && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
216 mv $@-t $@ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
217 |
9997
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
218 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) $(munge_texi_SOURCES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
219 |
14611
f2ed09ae8d3f
doc: Produce .texi from .txi files using Perl rather than C++.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
220 %.texi: %.txi munge-texi.pl |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
221 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
222 $(PERL) $(srcdir)/munge-texi.pl $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t && \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
223 mv $@-t $@ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
224 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 contributors.texi: contributors.in |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
226 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
227 $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in > $@-t && \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
228 mv $@-t $@ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
229 |
12227
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
230 ../../AUTHORS: preface.texi contributors.texi |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
231 $(AM_V_MAKEINFO)rm -f AUTHORS && \ |
14652
b9151573a230
build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents:
14650
diff
changeset
|
232 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/contributors.texi ] && [ ! -f contributors.texi ]; then \ |
b9151573a230
build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents:
14650
diff
changeset
|
233 cp $(srcdir)/contributors.texi contributors.texi; \ |
b9151573a230
build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents:
14650
diff
changeset
|
234 touch -r $(srcdir)/contributors.texi contributors.texi; \ |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
235 fi && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
236 $(MAKEINFO) -D AUTHORSONLY -I $(srcdir) \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
237 --no-validate --no-headers --no-split --output AUTHORS $< && \ |
12227
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
238 mv AUTHORS ../../AUTHORS |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
239 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
240 ../../BUGS: bugs.texi |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
241 $(AM_V_MAKEINFO)rm -f BUGS && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
242 $(MAKEINFO) -D BUGSONLY -I $(srcdir) \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
243 --no-validate --no-headers --no-split --output BUGS $< && \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
244 mv BUGS ../../BUGS |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
245 |
12227
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
246 ../../INSTALL.OCTAVE: install.texi |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
247 $(AM_V_MAKEINFO)rm -f INSTALL && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
248 $(MAKEINFO) -D INSTALLONLY -I $(srcdir) \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19731
diff
changeset
|
249 --no-validate --no-headers --no-split --output INSTALL $< && \ |
12227
d519450e251b
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12168
diff
changeset
|
250 mv INSTALL ../../INSTALL.OCTAVE |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
251 |
15266
219dcb37bdf9
Restore ability to build HTML version of documentation.
Rik <rik@octave.org>
parents:
15255
diff
changeset
|
252 |
11383
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
253 undocumented_list: |
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
254 rm -f $@ |
11393
7708bad09ad1
Update mk_undocumented_list Makefile target to use $(srcdir) for portability.
Rik <octave@nomad.inbox5.com>
parents:
11383
diff
changeset
|
255 -$(PERL) $(srcdir)/doccheck/mk_undocumented_list > $@ |
11383
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
256 .PHONY: undocumented_list |
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
257 |
12582
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
258 SPELLCHECK_FILES = $(MUNGED_TEXI_SRC:.texi=.scheck) |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
259 |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
260 %.scheck: %.texi |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
261 $(srcdir)/doccheck/spellcheck $< > $@-t |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
262 mv $@-t $@ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
263 [ -s $@ ] || rm -f $@ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
264 |
19627
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18369
diff
changeset
|
265 spellcheck: $(SPELLCHECK_FILES) |
12582
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
266 @if ls *.scheck >/dev/null 2>&1 ; then \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
267 echo "Spellcheck failed"; \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
268 echo "Review the following files:"; \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
269 ls *.scheck ; \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
270 exit 1 ; \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
271 else \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
272 echo "Spellcheck passed"; \ |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
273 fi |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
274 .PHONY: spellcheck |
6a4e042b6114
Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents:
12336
diff
changeset
|
275 |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
276 EXTRA_DIST = \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
277 config-images.sh \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
278 contributors.in \ |
15833
23a180fd186d
Remove doc-cache file in maintainer-clean target, not distclean
John W. Eaton <jwe@octave.org>
parents:
15832
diff
changeset
|
279 doc-cache \ |
9906 | 280 find-docstring-files.sh \ |
19300
217c455eac8f
Add new genpropdoc.m and graphics_properties.mk files to EXTRA_DIST
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19291
diff
changeset
|
281 genpropdoc.m \ |
217c455eac8f
Add new genpropdoc.m and graphics_properties.mk files to EXTRA_DIST
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19291
diff
changeset
|
282 graphics_properties.mk \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
283 images \ |
10981
536073428182
include doc/interpreter/images.awk in the distribution tar file
John W. Eaton <jwe@octave.org>
parents:
10888
diff
changeset
|
284 images.awk \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
285 images.mk \ |
14650
8f792cff711e
build: Distribute macros.texi in tarball so documentation will build.
Rik <octave@nomad.inbox5.com>
parents:
14614
diff
changeset
|
286 macros.texi \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
287 mk_doc_cache.m \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
288 mkcontrib.awk \ |
14611
f2ed09ae8d3f
doc: Produce .texi from .txi files using Perl rather than C++.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
289 munge-texi.pl \ |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
290 octave.dvi \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
291 octave.html \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
292 octave.pdf \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
293 octave.ps \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
294 $(IMAGES) \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
295 $(IMAGES_SRC) \ |
12336
af2b18354a8e
Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents:
12227
diff
changeset
|
296 $(LOGOS) \ |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
297 $(TXI_SRC) |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
298 |
15250
87f337783d95
Cache texi2XXX intermediate results for faster builds.
Rik <rik@octave.org>
parents:
15248
diff
changeset
|
299 clean-local: |
87f337783d95
Cache texi2XXX intermediate results for faster builds.
Rik <rik@octave.org>
parents:
15248
diff
changeset
|
300 rm -rf t2d_cache |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
301 |
15834 | 302 DISTCLEANFILES = $(BUILT_TEXINFOS) |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
303 |
15834 | 304 MAINTAINERCLEANFILES = $(BUILT_IMAGES) doc-cache |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
305 |