annotate doc/interpreter/Makefile.in @ 7255:3aa50748a300

[project @ 2007-12-04 23:42:30 by jwe]
author jwe
date Tue, 04 Dec 2007 23:42:30 +0000
parents e8d953d03f6a
children e8a3e3e33490
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
1 # Makefile for octave's doc/interpreter directory
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
2 #
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # 2002, 2003, 2005, 2006, 2007 John W. Eaton
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
5 #
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
8 # Octave is free software; you can redistribute it and/or modify it
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
9 # under the terms of the GNU General Public License as published by the
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
10 # Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
13 # Octave is distributed in the hope that it will be useful, but WITHOUT
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
18 # You should have received a copy of the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
19 # along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6888
diff changeset
20 # <http://www.gnu.org/licenses/>.
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
21
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
22 TOPDIR = ../..
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
23
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
24 srcdir = @srcdir@
411
b936220a35cf [project @ 1994-04-20 07:59:48 by jwe]
jwe
parents: 393
diff changeset
25 top_srcdir = @top_srcdir@
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
26 VPATH = @srcdir@
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
27
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
28 include $(TOPDIR)/Makeconf
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
29
651
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 551
diff changeset
30 INSTALL = @INSTALL@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 551
diff changeset
31 INSTALL_PROGRAM = @INSTALL_PROGRAM@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 551
diff changeset
32 INSTALL_DATA = @INSTALL_DATA@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 551
diff changeset
33
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
34 SCRIPT_SOURCES = sparseimages.m interpimages.m geometryimages.m plotimages.m
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
35
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
36 EXAMPLE_FILES_NODIR = \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
37 addtwomatrices.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
38 celldemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
39 firstmexdemo.c \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
40 fortdemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
41 fortsub.f \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
42 funcdemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
43 globaldemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
44 helloworld.cc \
6595
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
45 mycell.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
46 myfeval.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
47 myfunc.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
48 mypow2.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
49 mysparse.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
50 mystring.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
51 mystruct.c \
55586d763de1 [project @ 2007-04-27 15:31:10 by dbateman]
dbateman
parents: 6577
diff changeset
52 paramdemo.cc \
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
53 stringdemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
54 structdemo.cc \
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
55 unwinddemo.cc
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
56
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
57 EXAMPLE_FILES = $(addprefix $(top_srcdir)/examples/, $(EXAMPLE_FILES_NODIR))
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
58
6847
956148c0d388 [project @ 2007-08-30 07:39:32 by dbateman]
dbateman
parents: 6838
diff changeset
59 GEOMETRYIMAGES = voronoi triplot griddata convhull delaunay inpolygon
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
60 GEOMETRYIMAGES_EPS = $(addsuffix .eps, $(GEOMETRYIMAGES))
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
61 GEOMETRYIMAGES_PDF = $(addsuffix .pdf, $(GEOMETRYIMAGES))
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
62 GEOMETRYIMAGES_PNG = $(addsuffix .png, $(GEOMETRYIMAGES))
7255
3aa50748a300 [project @ 2007-12-04 23:42:30 by jwe]
jwe
parents: 7189
diff changeset
63 GEOMETRYIMAGES_TXT = $(addsuffix .txt, $(GEOMETRYIMAGES))
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
64
7189
e8d953d03f6a [project @ 2007-11-26 20:42:09 by dbateman]
dbateman
parents: 7075
diff changeset
65 PLOTIMAGES = plot hist errorbar polar mesh plot3 extended
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
66 PLOTIMAGES_EPS = $(addsuffix .eps, $(PLOTIMAGES))
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
67 PLOTIMAGES_PDF = $(addsuffix .pdf, $(PLOTIMAGES))
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
68 PLOTIMAGES_PNG = $(addsuffix .png, $(PLOTIMAGES))
7255
3aa50748a300 [project @ 2007-12-04 23:42:30 by jwe]
jwe
parents: 7189
diff changeset
69 PLOTIMAGES_TXT = $(addsuffix .txt, $(PLOTIMAGES))
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
70
6743
f11fec9c06b0 [project @ 2007-06-18 19:12:48 by dbateman]
dbateman
parents: 6721
diff changeset
71 INTERPIMAGES = interpft interpn interpderiv1 interpderiv2
6721
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
72 INTERPIMAGES_EPS = $(addsuffix .eps, $(INTERPIMAGES))
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
73 INTERPIMAGES_PDF = $(addsuffix .pdf, $(INTERPIMAGES))
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
74 INTERPIMAGES_PNG = $(addsuffix .png, $(INTERPIMAGES))
7255
3aa50748a300 [project @ 2007-12-04 23:42:30 by jwe]
jwe
parents: 7189
diff changeset
75 INTERPIMAGES_TXT = $(addsuffix .txt, $(INTERPIMAGES))
6721
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
76
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
77 SPARSEIMAGES_1 = gplot grid spmatrix spchol spcholperm
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
78 SPARSEIMAGES_EPS = $(addsuffix .eps, $(SPARSEIMAGES_1))
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
79 SPARSEIMAGES_PDF = $(addsuffix .pdf, $(SPARSEIMAGES_1))
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
80 SPARSEIMAGES_PNG = $(addsuffix .png, $(SPARSEIMAGES_1))
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
81 SPARSEIMAGES_TXT = $(addsuffix .txt, $(SPARSEIMAGES_1))
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
82
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
83 IMAGES_EPS = $(SPARSEIMAGES_EPS) $(INTERPIMAGES_EPS) \
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
84 $(GEOMETRYIMAGES_EPS) $(PLOTIMAGES_EPS)
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
85 IMAGES_PDF = $(SPARSEIMAGES_PDF) $(INTERPIMAGES_PDF) \
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
86 $(GEOMETRYIMAGES_PDF) $(PLOTIMAGES_PDF)
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
87 IMAGES_PNG = $(SPARSEIMAGES_PNG) $(INTERPIMAGES_PNG) \
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
88 $(GEOMETRYIMAGES_PNG) $(PLOTIMAGES_PNG)
7255
3aa50748a300 [project @ 2007-12-04 23:42:30 by jwe]
jwe
parents: 7189
diff changeset
89 IMAGES_TXT = $(SPARSEIMAGES_TXT) $(INTERPIMAGES_TXT) \
3aa50748a300 [project @ 2007-12-04 23:42:30 by jwe]
jwe
parents: 7189
diff changeset
90 $(GEOMETRYIMAGES_TXT) $(PLOTIMAGES_TXT)
6031
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
91
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
92 HTML_IMAGES_PNG = $(addprefix HTML/, $(IMAGES_PNG))
6366
06f26e174fc9 [project @ 2007-02-28 19:16:49 by jwe]
jwe
parents: 6358
diff changeset
93
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
94 IMAGES = $(IMAGES_EPS) $(IMAGES_PDF) $(IMAGES_PNG) $(IMAGES_TXT)
5648
69a4f320d95a [project @ 2006-03-08 20:17:37 by dbateman]
dbateman
parents: 5582
diff changeset
95
6784
ad4dd4124c16 [project @ 2007-07-23 16:13:47 by dbateman]
dbateman
parents: 6743
diff changeset
96 SUB_SOURCE := arith.txi audio.txi basics.txi bugs.txi \
4167
aae05d51353c [project @ 2002-11-12 02:52:50 by jwe]
jwe
parents: 4149
diff changeset
97 container.txi control.txi cp-idx.txi data.txi \
6569
81a8ab62b2b9 [project @ 2007-04-24 23:01:29 by jwe]
jwe
parents: 6559
diff changeset
98 debug.txi diffeq.txi dynamic.txi emacs.txi errors.txi eval.txi \
6559
2eee82833c9e [project @ 2007-04-20 20:02:29 by jwe]
jwe
parents: 6558
diff changeset
99 expr.txi finance.txi fn-idx.txi func.txi geometry.txi gpl.txi \
6706
f9c19d0447a2 [project @ 2007-06-13 05:55:42 by jwe]
jwe
parents: 6673
diff changeset
100 grammar.txi image.txi install.txi interp.txi \
6558
e0e1c6df5ab2 [project @ 2007-04-20 19:33:24 by jwe]
jwe
parents: 6549
diff changeset
101 intro.txi io.txi linalg.txi matrix.txi nonlin.txi numbers.txi \
6537
062bade36bf7 [project @ 2007-04-18 16:40:25 by jwe]
jwe
parents: 6535
diff changeset
102 op-idx.txi optim.txi package.txi plot.txi poly.txi preface.txi \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5151
diff changeset
103 quad.txi quaternion.txi set.txi signal.txi sparse.txi stats.txi \
6838
5e3350bdd91d [project @ 2007-08-28 02:59:58 by jwe]
jwe
parents: 6832
diff changeset
104 stmt.txi strings.txi system.txi testfun.txi tips.txi var.txi \
5e3350bdd91d [project @ 2007-08-28 02:59:58 by jwe]
jwe
parents: 6832
diff changeset
105 vr-idx.txi
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
106
6572
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents: 6569
diff changeset
107 SOURCES := $(SUB_SOURCE) $(SCRIPT_SOURCES)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents: 3246
diff changeset
108
3851
b05ed9985571 [project @ 2001-11-02 05:26:36 by jwe]
jwe
parents: 3849
diff changeset
109 MAIN_TEXINFO := $(srcdir)/octave.texi
3297
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3294
diff changeset
110
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3294
diff changeset
111 SUB_TEXINFO := $(SUB_SOURCE:.txi=.texi)
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3294
diff changeset
112
6654
3390577e4e70 [project @ 2007-05-22 16:33:05 by jwe]
jwe
parents: 6650
diff changeset
113 # Don't list ../conf.texi here.
3390577e4e70 [project @ 2007-05-22 16:33:05 by jwe]
jwe
parents: 6650
diff changeset
114 TEXINFO_SOURCE := $(MAIN_TEXINFO) $(SUB_TEXINFO) contributors.texi
3390577e4e70 [project @ 2007-05-22 16:33:05 by jwe]
jwe
parents: 6650
diff changeset
115
3390577e4e70 [project @ 2007-05-22 16:33:05 by jwe]
jwe
parents: 6650
diff changeset
116 TEXINFO := $(TEXINFO_SOURCE) ../conf.texi
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
117
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
118 # Do not use --output option argument, because this is not supported
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
119 # by MiKTeX (compilation under Windows/MSVC assumes the use of MiKTeX
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
120 # to build the doc). Instead, copy the source .texi using the
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
121 # targeted file name (e.g. to generate octave-a4.pdf, copy to
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
122 # octave-a4.texi) and call texi2[dvi|pdf] on it.
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
123
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
124 TEXI2DVICOMMAND = TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
125 $(TEXI2DVI)
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
126
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
127 TEXI2PDFCOMMAND = TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
128 $(TEXI2PDF)
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
129
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
130 FORMATTED = octave.info octave.pdf octave-a4.pdf octave.info-[0-9]*
328
48e783fa1a47 [project @ 1994-02-04 04:19:15 by jwe]
jwe
parents: 311
diff changeset
131
4339
05ba2a8757da [project @ 2003-02-20 01:40:58 by jwe]
jwe
parents: 4298
diff changeset
132 MAN_BASE := mkoctfile octave octave-bug octave-config
4149
5d9f4688590a [project @ 2002-11-02 04:35:17 by jwe]
jwe
parents: 4125
diff changeset
133 MAN_SRC := $(addsuffix .1, $(MAN_BASE))
5d9f4688590a [project @ 2002-11-02 04:35:17 by jwe]
jwe
parents: 4125
diff changeset
134
5775
ace8d8d26933 [project @ 2006-04-24 19:13:06 by jwe]
jwe
parents: 5708
diff changeset
135 # FIXME -- need to include generated figures here...
6798
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
136 DISTFILES = $(addprefix $(srcdir)/, Makefile.in contributors.in \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
137 mkcontrib.awk dir munge-texi.cc $(MAN_SRC) $(SOURCES) $(MAIN_TEXINFO)) \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
138 $(SUB_TEXINFO) contributors.texi $(FORMATTED) $(IMAGES)
299
7dce3f323400 [project @ 1994-01-17 20:17:19 by jwe]
jwe
parents: 205
diff changeset
139
5706
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5705
diff changeset
140 DISTDIRS = HTML
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5705
diff changeset
141
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
142 DISTSUBDIRS :=
5706
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5705
diff changeset
143
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
144 SUBDIRS :=
5806
b2a802aa0cda [project @ 2006-05-10 22:30:50 by jwe]
jwe
parents: 5775
diff changeset
145
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
146 # Look for version.h to get version information.
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
147 xfiles := $(TOPDIR)/src/version.h $(srcdir)/$(TOPDIR)/src/version.h
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
148
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
149 version_file := $(firstword $(foreach file, $(xfiles), $(wildcard $(file))))
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
150
2689
8c7955a8d49f [project @ 1997-02-18 09:06:10 by jwe]
jwe
parents: 2688
diff changeset
151 SPELL = $(patsubst %.texi, %.spell, $(TEXINFO))
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
153 %.spell : %.texi
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
154 rm -f $@
4084
babc519f245b [project @ 2002-10-03 03:23:14 by jwe]
jwe
parents: 3863
diff changeset
155 $(SED) -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
156 mv $@.tmp $@
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
157
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
158 all: octave.info octave.pdf octave-a4.pdf HTML/index.html
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
159 .PHONY: all
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
160
4098
8496ae60db8a [project @ 2002-10-10 05:20:20 by jwe]
jwe
parents: 4093
diff changeset
161 $(TEXINFO): src-DOCSTRINGS scripts-DOCSTRINGS munge-texi$(BUILD_EXEEXT)
3297
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3294
diff changeset
162
4298
055d2f68d445 [project @ 2003-01-13 15:09:31 by jwe]
jwe
parents: 4215
diff changeset
163 munge-texi$(BUILD_EXEEXT): munge-texi.cc
055d2f68d445 [project @ 2003-01-13 15:09:31 by jwe]
jwe
parents: 4215
diff changeset
164 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS)
3313
27502f8b3ba7 [project @ 1999-10-21 23:24:38 by jwe]
jwe
parents: 3312
diff changeset
165
4619
1088ded853f2 [project @ 2003-11-15 02:21:39 by jwe]
jwe
parents: 4618
diff changeset
166 src-DOCSTRINGS:
4093
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
167 $(MAKE) -C ../../src DOCSTRINGS
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
168 .PHONY: src-DOCSTRINGS
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
169
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
170 scripts-DOCSTRINGS:
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
171 $(MAKE) -C ../../scripts DOCSTRINGS
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4084
diff changeset
172 .PHONY: scripts-DOCSTRINGS
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents: 3246
diff changeset
173
6535
3ef1aa12f04c [project @ 2007-04-18 16:17:25 by jwe]
jwe
parents: 6529
diff changeset
174 contributors.texi: contributors.in
3ef1aa12f04c [project @ 2007-04-18 16:17:25 by jwe]
jwe
parents: 6529
diff changeset
175 $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in > $@-t
3ef1aa12f04c [project @ 2007-04-18 16:17:25 by jwe]
jwe
parents: 6529
diff changeset
176 @$(simple-move-if-change-rule)
3ef1aa12f04c [project @ 2007-04-18 16:17:25 by jwe]
jwe
parents: 6529
diff changeset
177
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
178 octave-a4.texi: $(MAIN_TEXINFO)
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
179 cp $< $@
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
180
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
181 octave-smallbook.texi: $(MAIN_TEXINFO)
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
182 cp $< $@
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
183
6535
3ef1aa12f04c [project @ 2007-04-18 16:17:25 by jwe]
jwe
parents: 6529
diff changeset
184 $(SUB_TEXINFO) : %.texi : %.txi
3364
fac05a83b4c5 [project @ 1999-11-20 03:05:42 by jwe]
jwe
parents: 3316
diff changeset
185 @echo making $@ from $<
fac05a83b4c5 [project @ 1999-11-20 03:05:42 by jwe]
jwe
parents: 3316
diff changeset
186 @./munge-texi \
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents: 3246
diff changeset
187 -d $(TOPDIR)/src/DOCSTRINGS \
6152
2eb0723b4fad [project @ 2006-11-11 19:07:17 by jwe]
jwe
parents: 6126
diff changeset
188 -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@-t
2eb0723b4fad [project @ 2006-11-11 19:07:17 by jwe]
jwe
parents: 6126
diff changeset
189 @$(simple-move-if-change-rule)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents: 3246
diff changeset
190
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
191 octave.info: $(IMAGES_TXT) $(TEXINFO) $(EXAMPLE_FILES)
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
192 -$(MAKEINFO) -I.. -I$(srcdir) -I$(srcdir)/.. $(MAIN_TEXINFO)
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
193
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
194 octave.dvi: $(IMAGES_EPS) $(TEXINFO) $(EXAMPLE_FILES)
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
195 -TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
196 $(TEXI2DVI) $(MAIN_TEXINFO)
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
197
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
198 octave-a4.dvi: $(IMAGES_EPS) $(TEXINFO) $(EXAMPLE_FILES) octave-a4.texi
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
199 -$(TEXI2DVICOMMAND) octave-a4.texi -t @afourpaper
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
200
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
201 octave-smallbook.dvi: $(IMAGES_EPS) $(TEXINFO) $(EXAMPLE_FILES) octave-smallbook.texi
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
202 -$(TEXI2DVICOMMAND) octave-smallbook.texi -t @smallbook
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
203
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
204 octave.ps: octave.dvi
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
205 -dvips -o $@ $<
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
206
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
207 octave-a4.ps: octave-a4.dvi
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
208 -dvips -o $@ $<
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
209
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
210 octave-smallbook.ps: octave-smallbook.dvi
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
211 -dvips -o $@ $<
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
212
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
213 octave.pdf: $(IMAGES_PDF) $(TEXINFO) $(EXAMPLE_FILES)
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
214 -$(TEXI2PDFCOMMAND) $(MAIN_TEXINFO)
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
215
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
216 octave-a4.pdf: $(IMAGES_PDF) $(TEXINFO) $(EXAMPLE_FILES) octave-a4.texi
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
217 -$(TEXI2PDFCOMMAND) octave-a4.texi -t @afourpaper
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
218
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
219 octave-smallbook.pdf: $(IMAGES_PDF) $(TEXINFO) $(EXAMPLE_FILES) octave-smallbook.texi
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
220 -$(TEXI2PDFCOMMAND) octave-smallbook.texi -t @smallbook
5151
b142b5a0d6be [project @ 2005-02-21 16:50:00 by jwe]
jwe
parents: 4619
diff changeset
221
2627
0b852cbea582 [project @ 1997-01-27 04:07:05 by jwe]
jwe
parents: 2624
diff changeset
222 ../../INSTALL.OCTAVE: install.texi
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3069
diff changeset
223 rm -f INSTALL
5151
b142b5a0d6be [project @ 2005-02-21 16:50:00 by jwe]
jwe
parents: 4619
diff changeset
224 -$(MAKEINFO) -D INSTALLONLY \
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3069
diff changeset
225 --no-validate --no-headers --no-split --output INSTALL \
5650
c27fea6f72ae [project @ 2006-03-08 21:28:05 by jwe]
jwe
parents: 5648
diff changeset
226 -I.. -I$(srcdir) -I$(srcdir)/.. $<
2001
1cad7a5f673f [project @ 1996-03-03 17:36:38 by jwe]
jwe
parents: 2000
diff changeset
227 mv INSTALL ../../INSTALL.OCTAVE
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
228
2627
0b852cbea582 [project @ 1997-01-27 04:07:05 by jwe]
jwe
parents: 2624
diff changeset
229 ../../BUGS: bugs.texi
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3069
diff changeset
230 rm -f BUGS
5151
b142b5a0d6be [project @ 2005-02-21 16:50:00 by jwe]
jwe
parents: 4619
diff changeset
231 -$(MAKEINFO) -D BUGSONLY \
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3069
diff changeset
232 --no-validate --no-headers --no-split --output BUGS \
5650
c27fea6f72ae [project @ 2006-03-08 21:28:05 by jwe]
jwe
parents: 5648
diff changeset
233 -I.. -I$(srcdir) -I$(srcdir)/.. $<
2001
1cad7a5f673f [project @ 1996-03-03 17:36:38 by jwe]
jwe
parents: 2000
diff changeset
234 mv BUGS ../../BUGS
2000
529a478cf4b2 [project @ 1996-03-03 17:33:22 by jwe]
jwe
parents: 1461
diff changeset
235
6577
f72d6d4b735a [project @ 2007-04-25 15:54:59 by jwe]
jwe
parents: 6572
diff changeset
236 HTML/index.html: $(HTML_IMAGES_PNG) $(TEXINFO) $(EXAMPLE_FILES)
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
237 -$(MAKEINFO) --html --ifinfo --output=HTML -I.. -I$(srcdir) -I$(srcdir)/.. $(MAIN_TEXINFO)
5708
dec8dd15a574 [project @ 2006-03-22 22:25:58 by jwe]
jwe
parents: 5706
diff changeset
238
6031
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
239 $(HTML_IMAGES_PNG): HTML/%.png : %.png
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
240 @if [ -d HTML ]; then \
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
241 true; \
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
242 else \
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
243 echo "creating HTML directory"; \
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
244 mkdir HTML; \
fd26599c1841 [project @ 2006-10-04 16:09:38 by jwe]
jwe
parents: 6001
diff changeset
245 fi
6669
39d76485706a [project @ 2007-05-29 17:44:30 by jwe]
jwe
parents: 6654
diff changeset
246 cp $(filter-out html-dir, $<) HTML
3189
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3176
diff changeset
247
6798
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
248 ## Sleep for a second after plotting to allow gnuplot to finish
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
249 ## writing its output before Octave exits.
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
250 define run-octave
6798
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
251 $(TOPDIR)/run-octave -f -q -H -p $(srcdir) \
6126
c0011bf8f815 [project @ 2006-10-31 20:08:30 by jwe]
jwe
parents: 6116
diff changeset
252 --eval "$(notdir $(basename $<)) ('$(notdir $(basename $@))', '$(patsubst .%,%, $(suffix $@))'); sleep (1);"
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
253 endef
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
254
6832
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
255 $(GEOMETRYIMAGES_EPS) $(GEOMETRYIMAGES_PNG) $(GEOMETRYIMAGES_TXT): geometryimages.m
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
256 $(run-octave)
3c500bc71e14 [project @ 2007-08-25 00:35:33 by dbateman]
dbateman
parents: 6798
diff changeset
257
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
258 $(PLOTIMAGES_EPS) $(PLOTIMAGES_PNG) $(PLOTIMAGES_TXT): plotimages.m
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
259 $(run-octave)
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6858
diff changeset
260
6858
a993057eb97f [project @ 2007-09-02 06:41:13 by dbateman]
dbateman
parents: 6847
diff changeset
261 $(INTERPIMAGES_EPS) $(INTERPIMAGES_PNG) $(INTERPIMAGES_TXT): interpimages.m
6721
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
262 $(run-octave)
01036667884a [project @ 2007-06-14 06:56:41 by dbateman]
dbateman
parents: 6706
diff changeset
263
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
264 $(SPARSEIMAGES_EPS) $(SPARSEIMAGES_PNG) $(SPARSEIMAGES_TXT): sparseimages.m
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
265 $(run-octave)
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
266
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
267 $(IMAGES_PDF) : %.pdf : %.eps
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
268 if [ -f $< ] ; then $(GHOSTSCRIPT) -dBATCH -dEPSCrop -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $< ; fi
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
269
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
270 check: all
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
271 .PHONY: check
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
272
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
273 install install-strip: all
5806
b2a802aa0cda [project @ 2006-05-10 22:30:50 by jwe]
jwe
parents: 5775
diff changeset
274 @$(subdir-for-command)
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
275 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) $(DESTDIR)$(infodir)
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
276 @if test -d $(DESTDIR)$(man1dir); then \
4149
5d9f4688590a [project @ 2002-11-02 04:35:17 by jwe]
jwe
parents: 4125
diff changeset
277 for f in $(MAN_BASE); do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
278 rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
279 echo "installing $(srcdir)/$$f.1 in $(DESTDIR)$(man1dir)"; \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
280 $(INSTALL_DATA) $(srcdir)/$$f.1 $(DESTDIR)$(man1dir)/$$f$(man1ext); \
4149
5d9f4688590a [project @ 2002-11-02 04:35:17 by jwe]
jwe
parents: 4125
diff changeset
281 done ; \
979
0f3e32a0c440 [project @ 1994-12-13 04:36:10 by jwe]
jwe
parents: 978
diff changeset
282 fi
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
283 @if test -d $(DESTDIR)$(infodir); then \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
284 rm -f $(DESTDIR)$(infodir)/octave.info*; \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
285 echo "installing info files in $(DESTDIR)$(infodir)"; \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
286 if test -f octave.info; then \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
287 for f in octave.info*; do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
288 $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$f; \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
289 done; \
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
290 else \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
291 for f in $(srcdir)/octave.info*; do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
292 $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/`basename $$f`; \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
293 done; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
294 fi; \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
295 if test -f $(DESTDIR)$(infodir)/dir; then \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
296 if grep "^\* Octave: (octave)." $(DESTDIR)$(infodir)/dir > /dev/null; then \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
297 true; \
980
4793e60ad17c [project @ 1994-12-13 04:52:24 by jwe]
jwe
parents: 979
diff changeset
298 else \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
299 echo ""; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
300 echo "You should add the following entry"; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
301 echo ""; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
302 echo "* Octave: (octave)."; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
303 echo " Interactive language for numerical computations."; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
304 echo ""; \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
305 echo "to $(DESTDIR)$(infodir)/dir."; \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
306 echo ""; \
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
307 fi; \
976
99dcb231f215 [project @ 1994-12-13 01:39:22 by jwe]
jwe
parents: 954
diff changeset
308 else \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
309 echo "installing $(srcdir)/dir in $(DESTDIR)$(infodir)"; \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
310 $(INSTALL_DATA) $(srcdir)/dir $(DESTDIR)$(infodir)/dir; \
3028
6d56646a2d1f [project @ 1997-06-05 06:34:21 by jwe]
jwe
parents: 2811
diff changeset
311 fi; \
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
312 fi
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
313 .PHONY: install install-strip
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
314
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
315 uninstall:
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
316 @$(subdir-for-command)
4149
5d9f4688590a [project @ 2002-11-02 04:35:17 by jwe]
jwe
parents: 4125
diff changeset
317 rm -f $(infodir)/octave.info*
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4339
diff changeset
318 for f in $(MAN_BASE); do rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); done
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
319 .PHONY: uninstall
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
320
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
321 tags: $(SOURCES)
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
322 ctags $(SOURCES)
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
323
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
324 TAGS: $(SOURCES)
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
325 etags $(SOURCES)
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
326
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
327 spell: $(SPELL)
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
328 .PHONY: spell
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
329
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
330 mostlyclean clean:
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
331 @$(subdir-for-command)
1458
0b3626c71b9e [project @ 1995-09-20 05:48:18 by jwe]
jwe
parents: 1452
diff changeset
332 rm -f octave.cp octave.fn octave.in \
349
15d748dd2aab [project @ 1994-02-09 22:31:39 by jwe]
jwe
parents: 337
diff changeset
333 octave.ky octave.op octave.pg octave.rd octave.tp octave.vr \
15d748dd2aab [project @ 1994-02-09 22:31:39 by jwe]
jwe
parents: 337
diff changeset
334 octave.cps octave.fns octave.ins octave.kys octave.ops \
15d748dd2aab [project @ 1994-02-09 22:31:39 by jwe]
jwe
parents: 337
diff changeset
335 octave.pgs octave.rds octave.tps octave.vrs octave.aux \
3601
b1830ce6993a [project @ 2000-02-24 05:07:15 by jwe]
jwe
parents: 3494
diff changeset
336 octave.log octave.toc \
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
337 munge-texi$(BUILD_EXEEXT) munge-texi.o \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
338 octave-a4.cp octave-a4.fn octave-a4.in \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
339 octave-a4.ky octave-a4.op octave-a4.pg octave-a4.rd octave-a4.tp octave-a4.vr \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
340 octave-a4.cps octave-a4.fns octave-a4.ins octave-a4.kys octave-a4.ops \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
341 octave-a4.pgs octave-a4.rds octave-a4.tps octave-a4.vrs octave-a4.aux \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
342 octave-a4.log octave-a4.toc \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
343 octave-smallbook.cp octave-smallbook.fn octave-smallbook.in \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
344 octave-smallbook.ky octave-smallbook.op octave-smallbook.pg octave-smallbook.rd octave-smallbook.tp octave-smallbook.vr \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
345 octave-smallbook.cps octave-smallbook.fns octave-smallbook.ins octave-smallbook.kys octave-smallbook.ops \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
346 octave-smallbook.pgs octave-smallbook.rds octave-smallbook.tps octave-smallbook.vrs octave-smallbook.aux \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
347 octave-smallbook.log octave-smallbook.toc
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
348 .PHONY: mostlyclean clean
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
349
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
350 distclean: clean
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
351 @$(subdir-for-command)
3601
b1830ce6993a [project @ 2000-02-24 05:07:15 by jwe]
jwe
parents: 3494
diff changeset
352 rm -f Makefile
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
353 .PHONY: distclean
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
354
6673
81a24fed2f57 [project @ 2007-05-30 22:52:14 by jwe]
jwe
parents: 6669
diff changeset
355 maintainer-clean: clean clean-texi
6001
d45cb743ff2e [project @ 2006-09-26 16:28:15 by jwe]
jwe
parents: 5866
diff changeset
356 rm -f Makefile tags TAGS $(FORMATTED) $(IMAGES)
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
357 rm -rf HTML
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5806
diff changeset
358 .PHONY: maintainer-clean
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
359
3315
74e583414f34 [project @ 1999-10-21 23:45:56 by jwe]
jwe
parents: 3313
diff changeset
360 clean-texi:
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
361 rm -f $(SUB_TEXINFO) contributors.texi octave-a4.texi octave-smallbook.texi
3315
74e583414f34 [project @ 1999-10-21 23:45:56 by jwe]
jwe
parents: 3313
diff changeset
362 .PHONY: clean-texi
74e583414f34 [project @ 1999-10-21 23:45:56 by jwe]
jwe
parents: 3313
diff changeset
363
74e583414f34 [project @ 1999-10-21 23:45:56 by jwe]
jwe
parents: 3313
diff changeset
364 dist: clean-texi all
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6366
diff changeset
365 ln $(DISTFILES) ../../`cat ../../.fname`/doc/interpreter
6798
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
366 for dir in $(DISTDIRS); do \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
367 mkdir ../../`cat ../../.fname`/doc/interpreter/$$dir; \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
368 ln ../../doc/interpreter/$$dir/* ../../`cat ../../.fname`/doc/interpreter/$$dir; \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
369 done
5706
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5705
diff changeset
370 for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/doc/interpreter/$$dir; $(MAKE) -C $$dir $@; done
152
1a53b99f7f28 [project @ 1993-10-10 19:36:32 by jwe]
jwe
parents:
diff changeset
371 .PHONY: dist