Mercurial > octave-nkf
annotate doc/interpreter/Makefile.am @ 12307:3dc4cfc5a3c1 release-3-4-x
Use pattern-style rules to make .texi files rather than older suffix-style rules.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 30 Jan 2011 22:44:52 -0800 |
parents | cbe089b92e03 |
children | af2b18354a8e |
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 # |
11523 | 3 # Copyright (C) 1993-2011 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 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9997
diff
changeset
|
21 include $(top_srcdir)/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9997
diff
changeset
|
23 ## Automake generated rules for documentation are not parallel-safe. |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9997
diff
changeset
|
24 ## Restrict current directory to run serially |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9997
diff
changeset
|
25 .NOTPARALLEL: |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 TEXINFO_TEX = ../texinfo.tex |
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 ## 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
|
30 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
|
31 export TEXINPUTS |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
9919
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
33 ## 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
|
34 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
|
35 export TEXMFCNF |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 dist_man1_MANS = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 mkoctfile.1 \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 octave-config.1 \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
40 octave.1 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
42 ## The following files are included in the manual via the @EXAMPLEFILE macro. |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
43 ## They are dependencies for the documentation. |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
44 ## 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
|
45 EXAMPLE_FILES = \ |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
46 $(top_srcdir)/examples/@FIRfilter/FIRfilter.m \ |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
47 $(top_srcdir)/examples/@FIRfilter/FIRfilter_aggregation.m \ |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
48 $(top_srcdir)/examples/@FIRfilter/display.m \ |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
49 $(top_srcdir)/examples/@FIRfilter/subsasgn.m \ |
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
50 $(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
|
51 $(top_srcdir)/examples/@polynomial/display.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 $(top_srcdir)/examples/@polynomial/double.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 $(top_srcdir)/examples/@polynomial/end.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 $(top_srcdir)/examples/@polynomial/get.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 $(top_srcdir)/examples/@polynomial/mtimes.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 $(top_srcdir)/examples/@polynomial/plot.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 $(top_srcdir)/examples/@polynomial/polynomial.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 $(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
|
59 $(top_srcdir)/examples/@polynomial/polyval.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 $(top_srcdir)/examples/@polynomial/set.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 $(top_srcdir)/examples/@polynomial/subsref.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 $(top_srcdir)/examples/addtwomatrices.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 $(top_srcdir)/examples/celldemo.cc \ |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
64 $(top_srcdir)/examples/embedded.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 $(top_srcdir)/examples/firstmexdemo.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 $(top_srcdir)/examples/fortdemo.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 $(top_srcdir)/examples/fortsub.f \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 $(top_srcdir)/examples/funcdemo.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 $(top_srcdir)/examples/globaldemo.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 $(top_srcdir)/examples/helloworld.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 $(top_srcdir)/examples/mycell.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 $(top_srcdir)/examples/myfeval.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 $(top_srcdir)/examples/myfunc.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 $(top_srcdir)/examples/mypow2.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 $(top_srcdir)/examples/mysparse.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 $(top_srcdir)/examples/mystring.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
77 $(top_srcdir)/examples/mystruct.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 $(top_srcdir)/examples/paramdemo.cc \ |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
79 $(top_srcdir)/examples/standalone.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 $(top_srcdir)/examples/stringdemo.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 $(top_srcdir)/examples/structdemo.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 $(top_srcdir)/examples/unwinddemo.cc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 |
10888
f4fdd8637762
Update @EXAMPLEFILE dependencies.
Rik <octave@nomad.inbox5.com>
parents:
10883
diff
changeset
|
84 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 include images.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
86 |
10874
62ed71623aca
Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents:
10214
diff
changeset
|
87 $(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
|
88 $(srcdir)/config-images.sh $(top_srcdir) |
62ed71623aca
Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents:
10214
diff
changeset
|
89 |
9910
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
90 IMAGES = \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
91 $(IMAGES_EPS) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
92 $(IMAGES_PDF) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
93 $(IMAGES_PNG) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
94 $(IMAGES_TXT) \ |
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
95 $(HTMLDIR_IMAGES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 |
9906 | 97 MUNGED_TEXI_SRC = \ |
98 arith.texi \ | |
99 audio.texi \ | |
100 basics.texi \ | |
101 bugs.texi \ | |
102 container.texi \ | |
103 contrib.texi \ | |
104 cp-idx.texi \ | |
105 data.texi \ | |
106 debug.texi \ | |
107 diffeq.texi \ | |
108 diagperm.texi \ | |
109 dynamic.texi \ | |
110 emacs.texi \ | |
111 errors.texi \ | |
112 eval.texi \ | |
113 expr.texi \ | |
114 fn-idx.texi \ | |
115 func.texi \ | |
116 geometry.texi \ | |
117 gpl.texi \ | |
118 grammar.texi \ | |
119 image.texi \ | |
120 install.texi \ | |
121 interp.texi \ | |
122 intro.texi \ | |
123 io.texi \ | |
124 linalg.texi \ | |
125 matrix.texi \ | |
126 nonlin.texi \ | |
127 numbers.texi \ | |
10214
57e24c53e063
doc/interpreter/obsolete.texi: new file; list removed functions
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
128 obsolete.texi \ |
9906 | 129 oop.texi \ |
130 op-idx.texi \ | |
131 optim.texi \ | |
132 package.texi \ | |
133 plot.texi \ | |
134 poly.texi \ | |
135 preface.texi \ | |
136 quad.texi \ | |
137 set.texi \ | |
138 signal.texi \ | |
139 sparse.texi \ | |
140 stats.texi \ | |
141 stmt.texi \ | |
142 strings.texi \ | |
143 system.texi \ | |
144 testfun.texi \ | |
145 tips.texi \ | |
146 var.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
|
147 |
9906 | 148 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
|
149 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
150 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
|
151 |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
152 octave_TEXINFOS = \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
153 contributors.texi \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
154 $(MUNGED_TEXI_SRC) |
9889
81c5ea6ddf81
doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents:
9863
diff
changeset
|
155 |
10883
aef238768f25
Change documentation dependency to $(srcdir)/images.mk for VPATH builds.
Rik <octave@nomad.inbox5.com>
parents:
10874
diff
changeset
|
156 octave.info octave.dvi octave.html octave.pdf: $(srcdir)/version.texi $(octave_TEXINFOS) $(EXAMPLE_FILES) $(srcdir)/images.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
157 |
9919
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
158 octave.info: $(IMAGES_TXT) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
159 |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
160 octave.dvi octave.ps: $(IMAGES_EPS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
161 |
9908 | 162 octave.html: $(IMAGES_PNG) |
9889
81c5ea6ddf81
doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents:
9863
diff
changeset
|
163 |
9908 | 164 octave.pdf: $(IMAGES_PDF) |
9893
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
165 |
9910
49b9cab70b63
make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents:
9908
diff
changeset
|
166 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
|
167 |
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
|
168 # 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
|
169 # 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
|
170 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
|
171 @$(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
|
172 @$(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
|
173 @$(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
|
174 @$(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
|
175 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9963
diff
changeset
|
176 octetc_DATA = doc-cache |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 |
9906 | 178 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
|
179 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9997
diff
changeset
|
181 $(top_builddir)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(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
|
182 |
9997
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
183 ## Program compiled only to help build documentation. No need to install |
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
184 noinst_PROGRAMS = munge-texi |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
185 |
9997
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
186 munge_texi_SOURCES = munge-texi.cc |
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
187 |
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
188 $(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
|
189 |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
190 %.texi: %.txi |
9926
7ad553781c62
Set dependency of *.texi files on munge-texi source code rather than executable.
Rik <rdrider0-list@yahoo.com>
parents:
9919
diff
changeset
|
191 @$(MAKE) $(AM_MAKEFLAGS) munge-texi$(BUILD_EXEEXT) |
9906 | 192 ./munge-texi $(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
|
193 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
|
194 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
195 contributors.texi: contributors.in |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
196 $(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
|
197 mv $@-t $@ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
198 |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
199 ../../AUTHORS: preface.texi contributors.texi |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
200 rm -f AUTHORS |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
201 -$(MAKEINFO) -D AUTHORSONLY \ |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
202 --no-validate --no-headers --no-split --output AUTHORS $< |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
203 mv AUTHORS ../../AUTHORS |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 ../../BUGS: bugs.texi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 rm -f BUGS |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 -$(MAKEINFO) -D BUGSONLY \ |
9919
a463aa0aa0ab
remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents:
9910
diff
changeset
|
208 --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
|
209 mv BUGS ../../BUGS |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 |
12307
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
211 ../../INSTALL.OCTAVE: install.texi |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
212 rm -f INSTALL |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
213 -$(MAKEINFO) -D INSTALLONLY \ |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
214 --no-validate --no-headers --no-split --output INSTALL $< |
3dc4cfc5a3c1
Use pattern-style rules to make .texi files rather than older suffix-style rules.
Rik <octave@nomad.inbox5.com>
parents:
12248
diff
changeset
|
215 mv INSTALL ../../INSTALL.OCTAVE |
12234
84f55b186eb7
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
216 |
11383
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
217 undocumented_list: |
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
218 rm -f $@ |
11393
7708bad09ad1
Update mk_undocumented_list Makefile target to use $(srcdir) for portability.
Rik <octave@nomad.inbox5.com>
parents:
11383
diff
changeset
|
219 -$(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
|
220 .PHONY: undocumented_list |
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
221 |
c388677a3f1a
Add undocumented_list target to create list of undocumented functions.
Rik <octave@nomad.inbox5.com>
parents:
11039
diff
changeset
|
222 |
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 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
|
224 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
|
225 contributors.in \ |
9906 | 226 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
|
227 images \ |
10981
536073428182
include doc/interpreter/images.awk in the distribution tar file
John W. Eaton <jwe@octave.org>
parents:
10888
diff
changeset
|
228 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
|
229 images.mk \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
230 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
|
231 mkcontrib.awk \ |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
232 octave.dvi \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
233 octave.html \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
234 octave.pdf \ |
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9935
diff
changeset
|
235 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
|
236 $(IMAGES) \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
237 $(IMAGES_SRC) \ |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
238 $(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
|
239 |
9997
8561ecc44317
Use automake syntax to build munge-texi
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
240 DISTCLEANFILES = $(octave_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
|
241 |
609726a25877
Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents:
9889
diff
changeset
|
242 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
|
243 |