annotate doc/interpreter/Makefile.am @ 9910:49b9cab70b63

make rules to copy png files to html directory
author John W. Eaton <jwe@octave.org>
date Fri, 04 Dec 2009 05:04:59 -0500
parents 5221eff3ec02
children a463aa0aa0ab
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 AM_MAKEINFOFLAGS = -I.. -I$(srcdir) -I$(srcdir)/..
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 AM_MAKEINFOHTMLFLAGS = -I.. -I$(srcdir) -I$(srcdir)/..
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 TEXINFO_TEX = ../texinfo.tex
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
9903
3211ec426324 Correct Makefile.am to allow VPATH builds of documentation
Rik <rdrider0-list@yahoo.com>
parents: 9893
diff changeset
31 ## Extra PATH_SEPARATOR at start and end of list is currently required
3211ec426324 Correct Makefile.am to allow VPATH builds of documentation
Rik <rdrider0-list@yahoo.com>
parents: 9893
diff changeset
32 ## due to weak parsing by texi2XXX scripts. (12/02/09)
3211ec426324 Correct Makefile.am to allow VPATH builds of documentation
Rik <rdrider0-list@yahoo.com>
parents: 9893
diff changeset
33 TEXINPUTS := "$(PATH_SEPARATOR)..$(PATH_SEPARATOR)$(srcdir)/..$(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
34 export TEXINPUTS
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 TEXMFCNF := "..$(PATH_SEPARATOR)$(srcdir)$(PATH_SEPARATOR)$(srcdir)/..$(PATH_SEPARATOR)$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)"
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 export TEXMFCNF
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 dist_man1_MANS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 mkoctfile.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 octave-bug.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 octave-config.1 \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 octave.1
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 ## 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
46 ## 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
47 EXAMPLE_FILES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 $(top_srcdir)/examples/@polynomial/display.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 $(top_srcdir)/examples/@polynomial/double.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 $(top_srcdir)/examples/@polynomial/end.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 $(top_srcdir)/examples/@polynomial/get.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 $(top_srcdir)/examples/@polynomial/mtimes.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 $(top_srcdir)/examples/@polynomial/plot.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.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 $(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
56 $(top_srcdir)/examples/@polynomial/polyval.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 $(top_srcdir)/examples/@polynomial/set.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 $(top_srcdir)/examples/@polynomial/subsasgn.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 $(top_srcdir)/examples/@polynomial/subsref.m \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 $(top_srcdir)/examples/addtwomatrices.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 $(top_srcdir)/examples/celldemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 $(top_srcdir)/examples/firstmexdemo.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 $(top_srcdir)/examples/fortdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 $(top_srcdir)/examples/fortsub.f \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 $(top_srcdir)/examples/funcdemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 $(top_srcdir)/examples/globaldemo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 $(top_srcdir)/examples/helloworld.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 $(top_srcdir)/examples/mycell.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 $(top_srcdir)/examples/myfeval.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 $(top_srcdir)/examples/myfunc.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 $(top_srcdir)/examples/mypow2.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 $(top_srcdir)/examples/mysparse.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 $(top_srcdir)/examples/mystring.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 $(top_srcdir)/examples/mystruct.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 $(top_srcdir)/examples/paramdemo.cc \
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
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 include images.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 .eps.pdf:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 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
84
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
85 IMAGES = \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
86 $(IMAGES_EPS) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
87 $(IMAGES_PDF) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
88 $(IMAGES_PNG) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
89 $(IMAGES_TXT) \
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
90 $(HTMLDIR_IMAGES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
92 MUNGED_TEXI_SRC = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
93 arith.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
94 audio.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
95 basics.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
96 bugs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
97 container.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
98 contrib.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
99 cp-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
100 data.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
101 debug.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
102 diffeq.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
103 diagperm.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
104 dynamic.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
105 emacs.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
106 errors.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
107 eval.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
108 expr.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
109 fn-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
110 func.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
111 geometry.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
112 gpl.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
113 grammar.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
114 image.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
115 install.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
116 interp.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
117 intro.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
118 io.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
119 linalg.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
120 matrix.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
121 nonlin.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
122 numbers.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
123 oop.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
124 op-idx.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
125 optim.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
126 package.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
127 plot.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
128 poly.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
129 preface.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
130 quad.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
131 set.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
132 signal.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
133 sparse.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
134 stats.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
135 stmt.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
136 strings.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
137 system.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
138 testfun.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
139 tips.texi \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
140 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
141
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
142 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
143
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 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
145
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
146 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
147 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
148 $(MUNGED_TEXI_SRC)
9889
81c5ea6ddf81 doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents: 9863
diff changeset
149
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
150 $(srcdir)/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
151
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
152 $(srcdir)/octave.info: $(IMAGES_TXT)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153
9893
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
154 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
155
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
156 octave.html: $(IMAGES_PNG)
9889
81c5ea6ddf81 doc/interpreter build fixes
John W. Eaton <jwe@octave.org>
parents: 9863
diff changeset
157
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
158 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
159
9910
49b9cab70b63 make rules to copy png files to html directory
John W. Eaton <jwe@octave.org>
parents: 9908
diff changeset
160 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
161
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
162 # 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
163 install-data-local:
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 $(MKDIR_P) $(DESTDIR)$(octetcdir)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 $(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
166
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
167 uninstall-local:
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 rm -f $(DESTDIR)$(octetcdir)/doc-cache
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
170 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
171
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 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
173 $(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
174
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 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
178 $(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
179
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 .txi.texi:
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
181 ./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
182 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
183
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 contributors.texi: contributors.in
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 $(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
186 mv $@-t $@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 ../../INSTALL.OCTAVE: install.texi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 rm -f INSTALL
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 -$(MAKEINFO) -D INSTALLONLY \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 --no-validate --no-headers --no-split --output INSTALL \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 -I.. -I$(srcdir) -I$(srcdir)/.. $<
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 mv INSTALL ../../INSTALL.OCTAVE
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 ../../BUGS: bugs.texi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 rm -f BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 -$(MAKEINFO) -D BUGSONLY \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 --no-validate --no-headers --no-split --output BUGS \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 -I.. -I$(srcdir) -I$(srcdir)/.. $<
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 mv BUGS ../../BUGS
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201
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 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
203 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
204 contributors.in \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9903
diff changeset
205 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
206 images \
609726a25877 Correctly generate *.texi doc files when running in a newly cloned source tree
Rik <rdrider0-list@yahoo.com>
parents: 9889
diff changeset
207 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
208 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
209 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
210 munge-texi.cc \
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
9908
5221eff3ec02 eliminate doc/conf.texi
John W. Eaton <jwe@octave.org>
parents: 9906
diff changeset
219 .NOTPARALLEL: