annotate doc/liboctave/Makefile.in @ 7016:93c65f2a5668

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