Group :: Development/Other
RPM: gforth
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: gforth-0.6.2-doc.patch
Download
Download
diff -urN gforth-0.6.2.orig/doc/gforth.1 gforth-0.6.2/doc/gforth.1
--- gforth-0.6.2.orig/doc/gforth.1 2002-08-09 12:16:29 +0300
+++ gforth-0.6.2/doc/gforth.1 2006-02-17 15:29:53 +0200
@@ -9,6 +9,7 @@
.SH SYNOPSIS
\fCgforth\fR [initialization options] [image-specific options]
+
\fCgforth-fast\fR [initialization options] [image-specific options]
\fCgforthmi\fR \fIfilename\fR [initialization options] [image-specific options]
diff -urN gforth-0.6.2.orig/Makefile.in gforth-0.6.2/Makefile.in
--- gforth-0.6.2.orig/Makefile.in 2003-08-25 10:57:49 +0300
+++ gforth-0.6.2/Makefile.in 2006-02-17 15:29:22 +0200
@@ -92,6 +92,7 @@
#you can get texi2html from http://wwwcn.cern.ch/dci/texi2html/
MAKEINFO = makeinfo
TEXI2HTML = texi2html
+TEXI2PDF = texi2pdf -e
# ------------- Compiler Flags
@@ -855,6 +856,8 @@
doc/vmgen.dvi: $(VMGEN_TEXI)
cd doc; $(TEXI2DVI) vmgen.texi
+ps: doc/gforth.ps doc/vmgen.ps
+
doc/gforth.ps: doc/gforth.dvi
$(DVI2PS) doc/gforth.dvi -o $@
@@ -864,11 +867,26 @@
info: doc/gforth.info doc/vmgen.info
doc/gforth.info: $(GFORTH_TEXI)
- cd doc; $(MAKEINFO) gforth.texi
+ cd doc; $(MAKEINFO) --no-split gforth.texi
doc/vmgen.info: $(VMGEN_TEXI)
- cd doc; $(MAKEINFO) vmgen.texi
+ cd doc; $(MAKEINFO) --no-split vmgen.texi
+
+pdf: doc/gforth.pdf doc/vmgen.pdf
+
+doc/gforth.pdf: $(GFORTH_TEXI)
+ cd doc; $(TEXI2PDF) gforth.texi
+
+doc/vmgen.pdf: $(VMGEN_TEXI)
+ cd doc; $(TEXI2PDF) vmgen.texi
+html: doc/gforth.html doc/vmgen.html
+
+doc/gforth.html: $(GFORTH_TEXI)
+ cd doc; $(TEXI2HTML) -monolithic gforth.texi
+
+doc/vmgen.html: $(VMGEN_TEXI)
+ cd doc; $(TEXI2HTML) -monolithic vmgen.texi
### need makeinfo 4.2 to generate html with these rules
doc/gforth: $(GFORTH_TEXI)
@@ -877,13 +895,15 @@
doc/vmgen: $(VMGEN_TEXI)
cd doc; $(MAKEINFO) --html vmgen.texi
+txt: doc/gforth.txt doc/vmgen.txt
+
doc/gforth.txt: $(GFORTH_TEXI)
-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: gforth.fi info doc/gforth doc/vmgen doc/gforth.ps doc/vmgen.ps doc/gforth.txt doc/vmgen.txt TAGS
+doc: gforth.fi info html txt ps pdf TAGS
# For an explanation of the following Makefile rules, see node
# `Automatic Remaking' in GNU Autoconf documentation.