annotate doc/interpreter/Makefile.am @ 15250:87f337783d95

Cache texi2XXX intermediate results for faster builds. * m4/acinclude.m4: Change build-dir for texi2XXX cmds to t2d_cache. * doc/Makefile.am: Reword comment about keeping .NOTPARALLEL directive. * faq/Makefile.am, interpreter/Makefile.am, doc/liboctave/Makefile.am: Remove NOTPARALLEL directive. Add local rule to clean t2d_cache.
author Rik <rik@octave.org>
date Wed, 29 Aug 2012 10:17:36 -0700
parents 969952fcd30f
children cef24482e004
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # Makefile for octave's doc/interpreter directory
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 #
14138
72c96de7a403 maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents: 14116
diff changeset
3 # Copyright (C) 1993-2012 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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 #
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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 #
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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 #
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
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
29 ## Include custom texmf.cnf necessary to run @seealso macro
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
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 dist_man1_MANS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 mkoctfile.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 octave-config.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 octave.1
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
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
38 ## 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
39 ## 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
40 ## 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
41 EXAMPLE_FILES = \
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
42 $(top_srcdir)/examples/@FIRfilter/FIRfilter.m \
10888
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
43 $(top_srcdir)/examples/@FIRfilter/FIRfilter_aggregation.m \
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
44 $(top_srcdir)/examples/@FIRfilter/display.m \
10888
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
45 $(top_srcdir)/examples/@FIRfilter/subsasgn.m \
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
46 $(top_srcdir)/examples/@FIRfilter/subsref.m \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 $(top_srcdir)/examples/@polynomial/display.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 $(top_srcdir)/examples/@polynomial/double.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 $(top_srcdir)/examples/@polynomial/end.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 $(top_srcdir)/examples/@polynomial/get.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 $(top_srcdir)/examples/@polynomial/mtimes.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 $(top_srcdir)/examples/@polynomial/plot.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 $(top_srcdir)/examples/@polynomial/polynomial.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 $(top_srcdir)/examples/@polynomial/polynomial_superiorto.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 $(top_srcdir)/examples/@polynomial/polyval.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 $(top_srcdir)/examples/@polynomial/set.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 $(top_srcdir)/examples/@polynomial/subsref.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 $(top_srcdir)/examples/addtwomatrices.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 $(top_srcdir)/examples/celldemo.cc \
10888
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
60 $(top_srcdir)/examples/embedded.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 $(top_srcdir)/examples/firstmexdemo.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 $(top_srcdir)/examples/fortdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 $(top_srcdir)/examples/fortsub.f \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 $(top_srcdir)/examples/funcdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 $(top_srcdir)/examples/globaldemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 $(top_srcdir)/examples/helloworld.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 $(top_srcdir)/examples/mycell.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 $(top_srcdir)/examples/myfeval.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 $(top_srcdir)/examples/myfunc.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 $(top_srcdir)/examples/mypow2.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 $(top_srcdir)/examples/mysparse.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 $(top_srcdir)/examples/mystring.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 $(top_srcdir)/examples/mystruct.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 $(top_srcdir)/examples/paramdemo.cc \
10888
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
75 $(top_srcdir)/examples/standalone.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 $(top_srcdir)/examples/stringdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 $(top_srcdir)/examples/structdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 $(top_srcdir)/examples/unwinddemo.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79
10888
f4fdd8637762 Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents: 10883
diff changeset
80
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 include images.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82
10874
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 10214
diff changeset
83 $(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
84 $(srcdir)/config-images.sh $(top_srcdir)
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 10214
diff changeset
85
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
86 IMAGES = \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
87 $(IMAGES_EPS) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
88 $(IMAGES_PDF) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
89 $(IMAGES_PNG) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
90 $(IMAGES_TXT) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
91 $(HTMLDIR_IMAGES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92
12336
af2b18354a8e Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents: 12227
diff changeset
93 LOGOS = \
af2b18354a8e Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents: 12227
diff changeset
94 octave_logo.eps \
af2b18354a8e Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents: 12227
diff changeset
95 octave_logo.pdf
af2b18354a8e Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents: 12227
diff changeset
96
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
97 MUNGED_TEXI_SRC = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
98 arith.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
99 audio.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
100 basics.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
101 bugs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
102 container.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
103 contrib.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
104 cp-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
105 data.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
106 debug.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
107 diffeq.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
108 diagperm.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
109 dynamic.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
110 emacs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
111 errors.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
112 eval.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
113 expr.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
114 fn-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
115 func.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
116 geometry.texi \
13943
5820f8ce683e doc: Add undocumented functions to manual for 3.6.0 release
Rik <octave@nomad.inbox5.com>
parents: 12733
diff changeset
117 gui.texi \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
118 gpl.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
119 grammar.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
120 image.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
121 install.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
122 interp.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
123 intro.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
124 io.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
125 linalg.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
126 matrix.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
127 nonlin.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
128 numbers.texi \
10214
57e24c53e063 doc/interpreter/obsolete.texi: new file; list removed functions
John W. Eaton <jwe@octave.org>
parents: 10004
diff changeset
129 obsolete.texi \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
130 oop.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
131 op-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
132 optim.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
133 package.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
134 plot.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
135 poly.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
136 preface.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
137 quad.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
138 set.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
139 signal.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
140 sparse.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
141 stats.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
142 stmt.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
143 strings.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
144 system.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
145 testfun.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
146 tips.texi \
14116
951eacaf9381 Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 13943
diff changeset
147 var.texi \
951eacaf9381 Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 13943
diff changeset
148 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
149
15248
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
150 BUILT_TEXINFOS = \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
151 contributors.texi \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
152 $(MUNGED_TEXI_SRC)
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
153
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
154 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
155
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 info_TEXINFOS = octave.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
157
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
158 octave_TEXINFOS = \
15248
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
159 $(BUILT_TEXINFOS) \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
160 $(EXAMPLE_FILES) \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
161 $(IMAGES) \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
162 $(LOGOS) \
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
163 $(srcdir)/images.mk
15196
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
164
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
165 octave.html:
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
166 if [ -d octave.html ]; then true; else mkdir octave.html; fi
9889
81c5ea6ddf81 doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents: 9863
diff changeset
167
15196
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
168 ## The texi2dvi script (used to create both PDF and DVI output formats)
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
169 ## uses some fixed temporary file names, so wait for DVI file to be
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
170 ## generated before creating PDF file to avoid conflicts.
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
171 octave.pdf: octave.dvi
017f0b2e6933 rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents: 14652
diff changeset
172
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
173 all-local: dvi html pdf ps doc-cache $(HTMLDIR_IMAGES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174
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
175 # Prevent packaging of distribution unless all libraries
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
176 # 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
177 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
178 @$(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
179 @$(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
180 @$(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
181 @$(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
182
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14611
diff changeset
183 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
184
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
185 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
186
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14611
diff changeset
188 $(top_builddir)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(srcdir)/macros.texi $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; }
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189
9997
8561ecc44317 Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
190 $(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
191
14611
f2ed09ae8d3f doc: Produce .texi from .txi files using Perl rather than C++.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
192 %.texi: %.txi munge-texi.pl
f2ed09ae8d3f doc: Produce .texi from .txi files using Perl rather than C++.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
193 $(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
194 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
195
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 contributors.texi: contributors.in
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in > $@-t
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 mv $@-t $@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199
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
200 ../../AUTHORS: preface.texi contributors.texi
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
201 rm -f AUTHORS
14652
b9151573a230 build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents: 14650
diff changeset
202 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
203 cp $(srcdir)/contributors.texi contributors.texi; \
b9151573a230 build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents: 14650
diff changeset
204 touch -r $(srcdir)/contributors.texi contributors.texi; \
b9151573a230 build: Allow VPATH builds of AUTHORS file.
Rik <octave@nomad.inbox5.com>
parents: 14650
diff changeset
205 fi
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
206 -$(MAKEINFO) -D AUTHORSONLY \
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
207 --no-validate --no-headers --no-split --output AUTHORS $<
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
208 mv AUTHORS ../../AUTHORS
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 ../../BUGS: bugs.texi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 rm -f BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 -$(MAKEINFO) -D BUGSONLY \
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
213 --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
214 mv BUGS ../../BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215
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
216 ../../INSTALL.OCTAVE: install.texi
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
217 rm -f INSTALL
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
218 -$(MAKEINFO) -D INSTALLONLY \
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
219 --no-validate --no-headers --no-split --output INSTALL $<
d519450e251b Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents: 12168
diff changeset
220 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
221
11383
c388677a3f1a Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents: 11039
diff changeset
222 undocumented_list:
c388677a3f1a Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents: 11039
diff changeset
223 rm -f $@
11393
7708bad09ad1 Update mk_undocumented_list Makefile target to use $(srcdir) for portability.
Rik <octave@nomad.inbox5.com>
parents: 11383
diff changeset
224 -$(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
225 .PHONY: undocumented_list
c388677a3f1a Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents: 11039
diff changeset
226
c388677a3f1a Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents: 11039
diff changeset
227
12582
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
228 SPELLCHECK_FILES = $(MUNGED_TEXI_SRC:.texi=.scheck)
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
229
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
230 %.scheck: %.texi
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
231 $(srcdir)/doccheck/spellcheck $< > $@-t
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
232 mv $@-t $@
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
233 [ -s $@ ] || rm -f $@
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
234
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
235 spellcheck: $(SPELLCHECK_FILES)
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
236 @if ls *.scheck >/dev/null 2>&1 ; then \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
237 echo "Spellcheck failed"; \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
238 echo "Review the following files:"; \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
239 ls *.scheck ; \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
240 exit 1 ; \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
241 else \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
242 echo "Spellcheck passed"; \
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
243 fi
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
244 .PHONY: spellcheck
6a4e042b6114 Add spellcheck target to documentation Makefile.
Rik <octave@nomad.inbox5.com>
parents: 12336
diff changeset
245
9893
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
246 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
247 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
248 contributors.in \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
249 find-docstring-files.sh \
9893
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
250 images \
10981
536073428182 include doc/interpreter/images.awk in the distribution tar file
John W. Eaton <jwe@octave.org>
parents: 10888
diff changeset
251 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
252 images.mk \
14650
8f792cff711e build: Distribute macros.texi in tarball so documentation will build.
Rik <octave@nomad.inbox5.com>
parents: 14614
diff changeset
253 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
254 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
255 mkcontrib.awk \
14611
f2ed09ae8d3f doc: Produce .texi from .txi files using Perl rather than C++.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
256 munge-texi.pl \
9943
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
257 octave.dvi \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
258 octave.html \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
259 octave.pdf \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
260 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
261 $(IMAGES) \
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
262 $(IMAGES_SRC) \
12336
af2b18354a8e Add new Octave O logo to Mercurial and build process.
Rik <octave@nomad.inbox5.com>
parents: 12227
diff changeset
263 $(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
264 $(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
265
15250
87f337783d95 Cache texi2XXX intermediate results for faster builds.
Rik <rik@octave.org>
parents: 15248
diff changeset
266 clean-local:
87f337783d95 Cache texi2XXX intermediate results for faster builds.
Rik <rik@octave.org>
parents: 15248
diff changeset
267 rm -rf t2d_cache
87f337783d95 Cache texi2XXX intermediate results for faster builds.
Rik <rik@octave.org>
parents: 15248
diff changeset
268
15248
969952fcd30f build: Fix and combine dependencies of documentation
Mike Miller <mtmiller@ieee.org>
parents: 15247
diff changeset
269 DISTCLEANFILES = $(BUILT_TEXINFOS) 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
270
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
271 MAINTAINERCLEANFILES = $(IMAGES)
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
272