Mercurial > octave
comparison doc/interpreter/Makefile.in @ 3297:b68ef5dec3bd
[project @ 1999-10-19 17:52:27 by jwe]
author | jwe |
---|---|
date | Tue, 19 Oct 1999 17:52:30 +0000 |
parents | bfe1573bd2ae |
children | aaf82ff88c82 |
comparison
equal
deleted
inserted
replaced
3296:7d60704b2cbe | 3297:b68ef5dec3bd |
---|---|
16 | 16 |
17 INSTALL = @INSTALL@ | 17 INSTALL = @INSTALL@ |
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | 18 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
19 INSTALL_DATA = @INSTALL_DATA@ | 19 INSTALL_DATA = @INSTALL_DATA@ |
20 | 20 |
21 SOURCES = arith.txi audio.txi basics.txi bugs.txi control.txi \ | 21 MAIN_SOURCE := octave.txi |
22 | |
23 SUB_SOURCE := arith.txi audio.txi basics.txi bugs.txi control.txi \ | |
22 cp-idx.txi data.txi diffeq.txi emacs.txi errors.txi \ | 24 cp-idx.txi data.txi diffeq.txi emacs.txi errors.txi \ |
23 eval.txi expr.txi fn-idx.txi func.txi gpl.txi \ | 25 eval.txi expr.txi fn-idx.txi func.txi gpl.txi \ |
24 grammar.txi image.txi install.txi intro.txi io.txi \ | 26 grammar.txi image.txi install.txi intro.txi io.txi \ |
25 linalg.txi matrix.txi nonlin.txi numbers.txi octave.txi \ | 27 linalg.txi matrix.txi nonlin.txi numbers.txi octave.txi \ |
26 op-idx.txi optim.txi plot.txi poly.txi preface.txi \ | 28 op-idx.txi optim.txi plot.txi poly.txi preface.txi \ |
27 quad.txi set.txi signal.txi stats.txi stmt.txi \ | 29 quad.txi set.txi signal.txi stats.txi stmt.txi \ |
28 strings.txi struct.txi system.txi tips.txi var.txi \ | 30 strings.txi struct.txi system.txi tips.txi var.txi \ |
29 vr-idx.txi | 31 vr-idx.txi |
30 | 32 |
33 SOURCES := $(MAIN_SOURCE) $(SUB_SOURCE) | |
31 | 34 |
32 TEXINFO = $(SOURCES:.txi=.texi) | 35 MAIN_TEXINFO := $(MAIN_SOURCE:.txi=.texi) |
36 | |
37 SUB_TEXINFO := $(SUB_SOURCE:.txi=.texi) | |
38 | |
39 TEXINFO := $(MAIN_TEXINFO) $(SUB_TEXINFO) | |
33 | 40 |
34 FORMATTED = octave.dvi octave.ps octave.info octave.info-[0-9]* octave_*.html | 41 FORMATTED = octave.dvi octave.ps octave.info octave.info-[0-9]* octave_*.html |
35 | 42 |
36 DISTFILES = Makefile.in dir octave.1 $(SOURCES) $(TEXINFO) $(FORMATTED) | 43 DISTFILES = Makefile.in dir octave.1 $(SOURCES) $(TEXINFO) $(FORMATTED) |
37 | 44 |
54 mv $@.tmp $@ | 61 mv $@.tmp $@ |
55 | 62 |
56 all: octave.info octave.dvi octave.ps octave_toc.html | 63 all: octave.info octave.dvi octave.ps octave_toc.html |
57 .PHONY: all | 64 .PHONY: all |
58 | 65 |
59 $(TEXINFO): munge-texi | 66 DOCSTRINGS = $(TOPDIR)/src/DOCSTRINGS $(TOPDIR)/scripts/DOCSTRINGS |
67 | |
68 $(TEXINFO): $(DOCSTRINGS) munge-texi | |
69 | |
70 # Kluge: if the DOCSTRING files are present, assume they are current. | |
71 $(DOCSTRINGS): | |
72 $(MAKE) -C $(dir $@) $(notdir $@) | |
60 | 73 |
61 %.texi : %.txi | 74 %.texi : %.txi |
62 ./munge-texi \ | 75 ./munge-texi \ |
63 -d $(TOPDIR)/src/DOCSTRINGS \ | 76 -d $(TOPDIR)/src/DOCSTRINGS \ |
64 -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t | 77 -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t |
65 $(top_srcdir)/move-if-change $@.t $@ | 78 $(top_srcdir)/move-if-change $@.t $@ |
66 | 79 |
67 octave.info: $(TEXINFO) ../conf.texi | 80 octave.info: $(MAIN_TEXINFO) $(SUB_TEXINFO) ../conf.texi |
68 -makeinfo -I$(srcdir) -I$(srcdir)/.. octave.texi | 81 -makeinfo -I$(srcdir) -I$(srcdir)/.. $< |
69 | 82 |
70 octave.dvi: $(TEXINFO) ../conf.texi | 83 octave.dvi: $(MAIN_TEXINFO) $(SUB_TEXINFO) ../conf.texi |
71 -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):"; \ | 84 -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):"; \ |
72 export TEXINPUTS; \ | 85 export TEXINPUTS; \ |
73 $(TEXI2DVI) octave.texi | 86 $(TEXI2DVI) $< |
74 | 87 |
75 octave.ps: octave.dvi | 88 octave.ps: octave.dvi |
76 -dvips -o octave.ps octave.dvi | 89 -dvips -o octave.ps octave.dvi |
77 | 90 |
78 ../../INSTALL.OCTAVE: install.texi | 91 ../../INSTALL.OCTAVE: install.texi |
79 rm -f INSTALL | 92 rm -f INSTALL |
80 -makeinfo -D INSTALLONLY \ | 93 -makeinfo -D INSTALLONLY \ |
81 --no-validate --no-headers --no-split --output INSTALL \ | 94 --no-validate --no-headers --no-split --output INSTALL \ |
82 -I$(srcdir) -I$(srcdir)/.. $(srcdir)/install.texi | 95 -I$(srcdir) -I$(srcdir)/.. $< |
83 mv INSTALL ../../INSTALL.OCTAVE | 96 mv INSTALL ../../INSTALL.OCTAVE |
84 | 97 |
85 ../../BUGS: bugs.texi | 98 ../../BUGS: bugs.texi |
86 rm -f BUGS | 99 rm -f BUGS |
87 -makeinfo -D BUGSONLY \ | 100 -makeinfo -D BUGSONLY \ |
88 --no-validate --no-headers --no-split --output BUGS \ | 101 --no-validate --no-headers --no-split --output BUGS \ |
89 -I$(srcdir) -I$(srcdir)/.. $(srcdir)/bugs.texi | 102 -I$(srcdir) -I$(srcdir)/.. $< |
90 mv BUGS ../../BUGS | 103 mv BUGS ../../BUGS |
91 | 104 |
92 octave_toc.html: | 105 octave_toc.html: $(MAIN_TEXINFO) $(SUB_TEXINFO) |
93 -texi2html -expandinfo -split_chapter -I$(srcdir)/.. \ | 106 -texi2html -expandinfo -split_chapter -I$(srcdir)/.. $< |
94 octave.texi | |
95 | 107 |
96 check: all | 108 check: all |
97 .PHONY: check | 109 .PHONY: check |
98 | 110 |
99 install install-strip: all | 111 install install-strip: all |