annotate doc/liboctave/Makefile.in @ 7075:1558d3dab722

[project @ 2007-10-26 18:22:04 by jwe]
author jwe
date Fri, 26 Oct 2007 18:22:05 +0000
parents a1dbe9d80eee
children 2997727398d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
1 # Makefile for octave's doc/liboctave directory
c0ca86c53e67 [project @ 1996-03-03 17:32:52 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) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # 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: 6798
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
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: 6798
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: 6798
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: 6798
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
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: 6798
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: 6798
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: 6798
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6798
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: 6798
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: 6798
diff changeset
20 # <http://www.gnu.org/licenses/>.
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
21
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
22 TOPDIR = ../..
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
23
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
24 srcdir = @srcdir@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
25 top_srcdir = @top_srcdir@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
26 VPATH = @srcdir@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
27
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
28 include $(TOPDIR)/Makeconf
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
29
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
30 INSTALL = @INSTALL@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
31 INSTALL_PROGRAM = @INSTALL_PROGRAM@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
32 INSTALL_DATA = @INSTALL_DATA@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
33
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
34 SOURCES =
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
35
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
36 MAIN_TEXINFO = liboctave.texi
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
37
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
38 SUB_TEXINFO = \
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
39 array.texi bugs.texi cp-idx.texi dae.texi diffeq.texi \
2656
bdb1346e0f7f [project @ 1997-02-03 03:26:02 by jwe]
jwe
parents: 2624
diff changeset
40 error.texi factor.texi fn-idx.texi install.texi intro.texi \
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
41 matvec.texi nleqn.texi nlfunc.texi ode.texi \
2656
bdb1346e0f7f [project @ 1997-02-03 03:26:02 by jwe]
jwe
parents: 2624
diff changeset
42 optim.texi preface.texi quad.texi range.texi
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
43
6661
d88b76579770 [project @ 2007-05-23 07:21:35 by jwe]
jwe
parents: 6468
diff changeset
44 TEXINFO_SOURCE = $(MAIN_TEXINFO) $(SUB_TEXINFO)
d88b76579770 [project @ 2007-05-23 07:21:35 by jwe]
jwe
parents: 6468
diff changeset
45
d88b76579770 [project @ 2007-05-23 07:21:35 by jwe]
jwe
parents: 6468
diff changeset
46 TEXINFO = $(TEXINFO_SOURCE) ../conf.texi
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
47
5706
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5653
diff changeset
48 FORMATTED = liboctave.dvi liboctave.ps liboctave.pdf liboctave.info
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
49
6797
5b00586ccd27 [project @ 2007-07-25 15:49:17 by jwe]
jwe
parents: 6796
diff changeset
50 DISTFILES = $(addprefix $(srcdir)/, Makefile.in gpl.texi $(TEXINFO_SOURCE)) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6661
diff changeset
51 $(FORMATTED)
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
52
5706
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5653
diff changeset
53 DISTDIRS = HTML
5b9b492f9e98 [project @ 2006-03-21 22:53:04 by jwe]
jwe
parents: 5653
diff changeset
54
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
55 SPELL = $(patsubst %.texi, %.spell, $(TEXINFO))
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
56
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
57 %.spell : %.texi
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
58 rm -f $@
4084
babc519f245b [project @ 2002-10-03 03:23:14 by jwe]
jwe
parents: 3863
diff changeset
59 $(SED) -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
60 mv $@.tmp $@
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
61
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
62 all: liboctave.info liboctave.dvi liboctave.ps liboctave.pdf HTML/index.html
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
63 .PHONY: all
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
64
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
65 liboctave.info: $(TEXINFO)
5653
ab9a339fcec8 [project @ 2006-03-09 17:28:13 by jwe]
jwe
parents: 5527
diff changeset
66 -$(MAKEINFO) -I.. -I$(srcdir) -I$(srcdir)/.. $<
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
67
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
68 liboctave.dvi: $(TEXINFO)
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
69 -TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
70 $(TEXI2DVI) $<
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
71
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
72 liboctave.ps: liboctave.dvi
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
73 -dvips -o $@ $<
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
74
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
75 liboctave.pdf: $(TEXINFO)
7075
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
76 -TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
1558d3dab722 [project @ 2007-10-26 18:22:04 by jwe]
jwe
parents: 7017
diff changeset
77 $(TEXI2PDF) $<
5151
b142b5a0d6be [project @ 2005-02-21 16:50:00 by jwe]
jwe
parents: 4956
diff changeset
78
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
79 HTML/index.html: $(TEXINFO)
5708
dec8dd15a574 [project @ 2006-03-22 22:25:58 by jwe]
jwe
parents: 5706
diff changeset
80 -$(MAKEINFO) --html --ifinfo --output=HTML -I.. -I$(srcdir) -I$(srcdir)/.. $<
3189
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3028
diff changeset
81
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
82 check:
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
83 .PHONY: check
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
84
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
85 install install-strip: all
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
86 .PHONY: install install-strip
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
87
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
88 uninstall:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4125
diff changeset
89 rm -f $(DESTDIR)$(infodir)/liboctave.info*
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
90 .PHONY: uninstall
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
91
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
92 tags: $(SOURCES)
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
93 ctags $(SOURCES)
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
94
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
95 TAGS: $(SOURCES)
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
96 etags $(SOURCES)
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
97
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
98 spell: $(SPELL)
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
99 .PHONY: spell
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
100
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
101 mostlyclean clean:
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
102 rm -f liboctave.cp liboctave.fn liboctave.pg liboctave.tp \
2749
02f569448c7a [project @ 1997-02-26 18:16:02 by jwe]
jwe
parents: 2705
diff changeset
103 liboctave.vr liboctave.ky liboctave.op liboctave.vrs \
02f569448c7a [project @ 1997-02-26 18:16:02 by jwe]
jwe
parents: 2705
diff changeset
104 liboctave.kys liboctave.ops liboctave.cps liboctave.fns \
02f569448c7a [project @ 1997-02-26 18:16:02 by jwe]
jwe
parents: 2705
diff changeset
105 liboctave.pgs liboctave.tps liboctave.aux liboctave.log \
02f569448c7a [project @ 1997-02-26 18:16:02 by jwe]
jwe
parents: 2705
diff changeset
106 liboctave.toc
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
107 .PHONY: mostlyclean clean
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
108
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
109 distclean: clean
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
110 rm -f Makefile
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
111 .PHONY: distclean
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
112
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
113 maintainer-clean: distclean
3189
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3028
diff changeset
114 rm -f tags TAGS liboctave.info liboctave.info-*
5527
ce71ed4c6da6 [project @ 2005-11-01 22:15:49 by jwe]
jwe
parents: 5425
diff changeset
115 rm -f liboctave.dvi liboctave.ps liboctave.pdf
5422
a8f40275b7de [project @ 2005-07-28 18:58:42 by jwe]
jwe
parents: 5196
diff changeset
116 rm -rf HTML
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
117 .PHONY: maintainer-clean
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
118
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
119 dist: all
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6358
diff changeset
120 ln $(DISTFILES) ../../`cat ../../.fname`/doc/liboctave
6798
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
121 for dir in $(DISTDIRS); do \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
122 mkdir ../../`cat ../../.fname`/doc/liboctave/$$dir; \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
123 ln ../../doc/liboctave/$$dir/* ../../`cat ../../.fname`/doc/liboctave/$$dir; \
18b7ab1ad68b [project @ 2007-07-25 19:23:26 by jwe]
jwe
parents: 6797
diff changeset
124 done
1999
c0ca86c53e67 [project @ 1996-03-03 17:32:52 by jwe]
jwe
parents:
diff changeset
125 .PHONY: dist