version 1.222, 2002/08/13 19:33:38
|
version 1.224, 2002/08/16 09:43:48
|
Line 257 COMPAT = compat/README \
|
Line 257 COMPAT = compat/README \
|
|
|
GFORTH_TEXI = doc/gforth.texi doc/version.texi |
GFORTH_TEXI = doc/gforth.texi doc/version.texi |
|
|
|
VMGEN_TEXI = doc/vmgen.texi doc/version.texi doc/fdl.texi |
|
|
ALLSUBDIRS = engine |
ALLSUBDIRS = engine |
|
|
ARCHS = \ |
ARCHS = \ |
Line 369 KERNLS = kernl16b.fi- kernl16l.fi- \
|
Line 371 KERNLS = kernl16b.fi- kernl16l.fi- \
|
kernl32b.fi- kernl32l.fi- \ |
kernl32b.fi- kernl32l.fi- \ |
kernl64b.fi- kernl64l.fi- |
kernl64b.fi- kernl64l.fi- |
|
|
GEN_PRECIOUS = $(FORTH_GEN) $(KERNLS) doc/gforth.texi doc/gforth.dvi doc/gforth.ps Makefile Makedist engine/Makefile configure |
GEN_PRECIOUS = $(FORTH_GEN) $(KERNLS) \ |
|
doc/gforth.texi doc/gforth.dvi doc/gforth.ps \ |
|
doc/vmgen.dvi doc/vmgen.ps \ |
|
Makefile Makedist engine/Makefile configure |
|
|
#standards.info recommends this: |
#standards.info recommends this: |
.SUFFIXES: |
.SUFFIXES: |
Line 761 checkdoc: doc/gforth.ds prim.b ds2texi.f
|
Line 766 checkdoc: doc/gforth.ds prim.b ds2texi.f
|
$(FORTH) ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd answords.fs -e bye |
$(FORTH) ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd answords.fs -e bye |
-grep unknown doc/gforth.texi |
-grep unknown doc/gforth.texi |
|
|
dvi: doc/gforth.dvi |
dvi: doc/gforth.dvi doc/vmgen.dvi |
|
|
doc/gforth.dvi doc/gforth.fns: $(GFORTH_TEXI) |
doc/gforth.dvi doc/gforth.fns: $(GFORTH_TEXI) |
cd doc; $(TEXI2DVI) gforth.texi |
cd doc; $(TEXI2DVI) gforth.texi |
|
|
|
doc/vmgen.dvi: $(VMGEN_TEXI) |
|
cd doc; $(TEXI2DVI) vmgen.texi |
|
|
doc/gforth.ps: doc/gforth.dvi |
doc/gforth.ps: doc/gforth.dvi |
$(DVI2PS) doc/gforth.dvi -o $@ |
$(DVI2PS) doc/gforth.dvi -o $@ |
|
|
info: doc/gforth.info |
info: doc/gforth.info doc/vmgen.info |
|
|
|
doc/gforth.info: $(GFORTH_TEXI) |
|
cd doc; $(MAKEINFO) gforth.texi |
|
|
doc/gforth.info doc/gforth.info-*: $(GFORTH_TEXI) |
doc/vmgen.info: $(VMGEN_TEXI) |
-cd doc; $(MAKEINFO) gforth.texi |
cd doc; $(MAKEINFO) vmgen.texi |
|
|
### need makeinfo 4.0 to generate html. Otherwise, use texi2html.. |
|
html: $(GFORTH_TEXI) |
### need makeinfo 4.2 to generate html with these rules |
-$(RMTREE) html |
doc/gforth: $(GFORTH_TEXI) |
-mkdir html |
cd doc; $(MAKEINFO) --html gforth.texi |
cd html; $(MAKEINFO) --html -I ../doc ../doc/gforth.texi |
|
### cd html; $(TEXI2HTML) -menu -split_node ../doc/gforth.texi |
doc/vmgen: $(VMGEN_TEXI) |
|
cd doc; $(MAKEINFO) --html vmgen.texi |
|
|
doc/gforth.txt: $(GFORTH_TEXI) |
doc/gforth.txt: $(GFORTH_TEXI) |
-cd doc; $(MAKEINFO) --no-headers --no-split gforth.texi >gforth.txt |
-cd doc; $(MAKEINFO) --no-headers --no-split gforth.texi >gforth.txt |
|
|
|
doc/vmgen.txt: $(VMGEN_TEXI) |
|
-cd doc; $(MAKEINFO) --no-headers --no-split vmgen.texi >vmgen.txt |
|
|
doc: info html doc/gforth.ps doc/gforth.txt TAGS |
doc: info html doc/gforth.ps doc/gforth.txt TAGS |
|
|
# For an explanation of the following Makefile rules, see node |
# For an explanation of the following Makefile rules, see node |