annotate doc/interpreter/Makefile.am @ 9943:4c681ff57bc3

Modifications to makefiles to pass distcheck test All generated documentation, as well as sources for it, are now distributed. This eliminates the need for a user to have Texinfo merely to compile Octave.
author Rik <rdrider0-list@yahoo.com>
date Tue, 08 Dec 2009 15:25:05 -0800
parents 9d447ebfc961
children 9bd50882cd1c
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 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 # 2002, 2003, 2005, 2006, 2007, 2008, 2009 John W. Eaton
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 # This file is part of Octave.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 # 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
9 # 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
10 # 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
11 # your option) any later version.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 # 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
14 # 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
15 # 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
16 # for more details.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 # 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
19 # 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
20 # <http://www.gnu.org/licenses/>.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 TOPDIR = ../..
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 include ../../common.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 TEXINFO_TEX = ../texinfo.tex
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
28 ## 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
29 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
30 export TEXINPUTS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
32 ## 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
33 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
34 export TEXMFCNF
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 dist_man1_MANS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 mkoctfile.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 octave-bug.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
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 ## The following example files are listed for dependencies.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 ## They should not be distributed from this directory.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 EXAMPLE_FILES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 $(top_srcdir)/examples/@polynomial/display.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 $(top_srcdir)/examples/@polynomial/double.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 $(top_srcdir)/examples/@polynomial/end.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 $(top_srcdir)/examples/@polynomial/get.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 $(top_srcdir)/examples/@polynomial/mtimes.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 $(top_srcdir)/examples/@polynomial/plot.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 $(top_srcdir)/examples/@polynomial/polynomial.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 $(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
53 $(top_srcdir)/examples/@polynomial/polyval.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 $(top_srcdir)/examples/@polynomial/set.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 $(top_srcdir)/examples/@polynomial/subsasgn.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 $(top_srcdir)/examples/@polynomial/subsref.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 $(top_srcdir)/examples/addtwomatrices.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 $(top_srcdir)/examples/celldemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 $(top_srcdir)/examples/firstmexdemo.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 $(top_srcdir)/examples/fortdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 $(top_srcdir)/examples/fortsub.f \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 $(top_srcdir)/examples/funcdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 $(top_srcdir)/examples/globaldemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 $(top_srcdir)/examples/helloworld.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 $(top_srcdir)/examples/mycell.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 $(top_srcdir)/examples/myfeval.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 $(top_srcdir)/examples/myfunc.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 $(top_srcdir)/examples/mypow2.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 $(top_srcdir)/examples/mysparse.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 $(top_srcdir)/examples/mystring.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 $(top_srcdir)/examples/mystruct.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 $(top_srcdir)/examples/paramdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 $(top_srcdir)/examples/stringdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 $(top_srcdir)/examples/structdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 $(top_srcdir)/examples/unwinddemo.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 include images.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 .eps.pdf:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 if [ -f $< ] ; then $(GHOSTSCRIPT) -dBATCH -dEPSCrop -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $< ; fi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
82 IMAGES = \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
83 $(IMAGES_EPS) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
84 $(IMAGES_PDF) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
85 $(IMAGES_PNG) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
86 $(IMAGES_TXT) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
87 $(HTMLDIR_IMAGES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
89 MUNGED_TEXI_SRC = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
90 arith.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
91 audio.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
92 basics.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
93 bugs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
94 container.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
95 contrib.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
96 cp-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
97 data.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
98 debug.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
99 diffeq.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
100 diagperm.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
101 dynamic.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
102 emacs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
103 errors.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
104 eval.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
105 expr.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
106 fn-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
107 func.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
108 geometry.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
109 gpl.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
110 grammar.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
111 image.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
112 install.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
113 interp.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
114 intro.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
115 io.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
116 linalg.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
117 matrix.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
118 nonlin.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
119 numbers.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
120 oop.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
121 op-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
122 optim.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
123 package.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
124 plot.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
125 poly.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
126 preface.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
127 quad.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
128 set.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
129 signal.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
130 sparse.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
131 stats.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
132 stmt.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
133 strings.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
134 system.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
135 testfun.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
136 tips.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
137 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
138
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
139 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
140
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 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
142
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
143 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
144 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
145 $(MUNGED_TEXI_SRC)
9889
81c5ea6ddf81 doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents: 9863
diff changeset
146
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
147 octave.info octave.dvi octave.html octave.pdf: $(srcdir)/version.texi $(octave_TEXINFOS) $(EXAMPLE_FILES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
149 octave.info: $(IMAGES_TXT)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150
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 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
152
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
153 octave.html: $(IMAGES_PNG)
9889
81c5ea6ddf81 doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents: 9863
diff changeset
154
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
155 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
156
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
157 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
158
9863
4c15e7cd9a14 Simplify doc-cache handling in Makefile.am to use only install-data-local target
Rik <rdrider0-list@yahoo.com>
parents: 9861
diff changeset
159 # Install doc-cache of help files
4c15e7cd9a14 Simplify doc-cache handling in Makefile.am to use only install-data-local target
Rik <rdrider0-list@yahoo.com>
parents: 9861
diff changeset
160 install-data-local:
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 $(MKDIR_P) $(DESTDIR)$(octetcdir)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 $(INSTALL_DATA) doc-cache $(DESTDIR)$(octetcdir)/doc-cache
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163
9863
4c15e7cd9a14 Simplify doc-cache handling in Makefile.am to use only install-data-local target
Rik <rdrider0-list@yahoo.com>
parents: 9861
diff changeset
164 uninstall-local:
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 rm -f $(DESTDIR)$(octetcdir)/doc-cache
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
167 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
168
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m
9861
cd53ecf0d79a Correct Makefile.am so that make will halt on error when unable to build doc-cache
Rik <rdrider0-list@yahoo.com>
parents: 9855
diff changeset
170 $(TOPDIR)/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
171
9926
7ad553781c62 Set dependency of *.texi files on munge-texi source code rather than executable.
Rik <rdrider0-list@yahoo.com>
parents: 9919
diff changeset
172 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi.cc
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 munge-texi$(BUILD_EXEEXT): munge-texi.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176
9893
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
177 .txi.texi:
9926
7ad553781c62 Set dependency of *.texi files on munge-texi source code rather than executable.
Rik <rdrider0-list@yahoo.com>
parents: 9919
diff changeset
178 @$(MAKE) $(AM_MAKEFLAGS) munge-texi$(BUILD_EXEEXT)
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
179 ./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
180 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
181
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 contributors.texi: contributors.in
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 $(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
184 mv $@-t $@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 ../../INSTALL.OCTAVE: install.texi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 rm -f INSTALL
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 -$(MAKEINFO) -D INSTALLONLY \
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
189 --no-validate --no-headers --no-split --output INSTALL $<
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 mv INSTALL ../../INSTALL.OCTAVE
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 ../../BUGS: bugs.texi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 rm -f BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 -$(MAKEINFO) -D BUGSONLY \
9919
a463aa0aa0ab remove lingering Makefile.am options for deleted file conf.texi
Rik <rdrider0-list@yahoo.com>
parents: 9910
diff changeset
195 --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
196 mv BUGS ../../BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197
9893
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
198 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
199 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
200 contributors.in \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
201 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
202 images \
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
203 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
204 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
205 mkcontrib.awk \
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
206 munge-texi.cc \
9943
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
207 octave.dvi \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
208 octave.html \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
209 octave.pdf \
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9935
diff changeset
210 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
211 $(IMAGES) \
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
212 $(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
213 $(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
214
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
215 DISTCLEANFILES = $(octave_TEXINFOS) doc-cache munge-texi$(BUILD_EXEEXT)
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
216
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
217 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
218
9935
9d447ebfc961 Document use of NOTPARALLEL directive in documentation directory Makefiles
Rik <rdrider0-list@yahoo.com>
parents: 9926
diff changeset
219 ## Automake generated rules for documentation are not parallel-safe.
9d447ebfc961 Document use of NOTPARALLEL directive in documentation directory Makefiles
Rik <rdrider0-list@yahoo.com>
parents: 9926
diff changeset
220 ## Restrict current directory to run serially
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
221 .NOTPARALLEL: