summaryrefslogtreecommitdiffstats
path: root/doc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools')
-rw-r--r--doc/tools/bmenu/main.c3
-rw-r--r--doc/tools/pdl2texi/Makefile6
-rw-r--r--doc/tools/pdl2texi/main.c3
-rw-r--r--doc/tools/texi2www/Makefile23
-rwxr-xr-xdoc/tools/texi2www/texi2www3
-rw-r--r--doc/tools/texi2www/texi2www.texi2
6 files changed, 27 insertions, 13 deletions
diff --git a/doc/tools/bmenu/main.c b/doc/tools/bmenu/main.c
index e0a5dc6ebd..279fb4c27c 100644
--- a/doc/tools/bmenu/main.c
+++ b/doc/tools/bmenu/main.c
@@ -46,7 +46,7 @@ extern char *optarg; /* Why is this not in <stdlib.h>? */
#include "base.h"
-FILE *OutFile = stdout;
+FILE *OutFile;
/*************************************************************************
*************************************************************************
@@ -429,6 +429,7 @@ int main(
int index;
boolean single_file_mode;
+ OutFile = stdout;
Verbose = FALSE;
DocsNextNode = EmptyString;
DocsPreviousNode = TopString;
diff --git a/doc/tools/pdl2texi/Makefile b/doc/tools/pdl2texi/Makefile
index fd9a5cdc5f..cdf5b65aa3 100644
--- a/doc/tools/pdl2texi/Makefile
+++ b/doc/tools/pdl2texi/Makefile
@@ -31,6 +31,10 @@ chain.o: chain.c
dvi: $(PROJECT).dvi
ps: $(PROJECT).ps
+pdf: dirs $(PROJECT).pdf
+
+$(PROJECT).pdf: $(FILES)
+ $(TEXI2PDF) $(PROJECT).texi
info: Drive
html: $(PROJECT).texi $(BASE).txt
../textools/texi2html $(PROJECT).texi
@@ -74,7 +78,7 @@ avdas:
-u "Magic Subsystem" test_cases/avdas.d
clean:
- rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi
+ rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi *.pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f test_cases/*.txt test_cases/*.texi
diff --git a/doc/tools/pdl2texi/main.c b/doc/tools/pdl2texi/main.c
index 3c52d4871a..25d4ddd2fd 100644
--- a/doc/tools/pdl2texi/main.c
+++ b/doc/tools/pdl2texi/main.c
@@ -87,7 +87,7 @@ extern char *optarg; /* Why is this not in <stdlib.h>? */
#include "base.h"
-FILE *OutFile = stdout;
+FILE *OutFile;
/*************************************************************************
*************************************************************************
@@ -1028,6 +1028,7 @@ int main(
int index;
boolean single_file_mode;
+ OutFile = stdout;
Verbose = FALSE;
Statistics = FALSE;
OutputWord = FALSE;
diff --git a/doc/tools/texi2www/Makefile b/doc/tools/texi2www/Makefile
index 4bfae2f95e..94f1d8faf5 100644
--- a/doc/tools/texi2www/Makefile
+++ b/doc/tools/texi2www/Makefile
@@ -10,7 +10,7 @@ PROJECT=texi2www
include ../../Make.config
-all: html info ps
+all: html info ps pdf
dirs:
$(make-dirs)
@@ -22,22 +22,27 @@ info:
dvi: $(PROJECT).dvi
ps: dirs $(PROJECT).ps
+pdf: dirs $(PROJECT).pdf
+
+$(PROJECT).pdf: $(FILES)
+ #$(TEXI2PDF) $(PROJECT).texi
+ #cp $(PROJECT).pdf $(PDF_INSTALL)
$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(PS_INSTALL)
+ #dvips -o $(PROJECT).ps $(PROJECT).dvi
+ #cp $(PROJECT).ps $(PS_INSTALL)
$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) -v $(PROJECT).texi
+ #$(TEXI2DVI) $(PROJECT).texi
html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
+ #-mkdir -p $(WWW_INSTALL)/$(PROJECT)
+ #$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
+ # $(PROJECT).texi
clean:
- rm -f *.o $(PROG) *.txt core
- rm -f *.dvi *.ps *.log *.aux *.cp *.cps \
+ rm -f *.o $(PROG) *.txt core *.pdf
+ rm -f *.dvi *.ps *.log *.aux *.cp *.cps
rm -f *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _*
diff --git a/doc/tools/texi2www/texi2www b/doc/tools/texi2www/texi2www
index 3e677936b9..e7c8e51f92 100755
--- a/doc/tools/texi2www/texi2www
+++ b/doc/tools/texi2www/texi2www
@@ -211,6 +211,8 @@ sub expand_xref
$topic = $manual = '';
} elsif ($cmd eq 'href') {
($xrefname,$node,$infofile,$url) = split(/,/,$arg);
+ } elsif ($cmd eq 'uref') {
+ ($url,$xrefname,$node,$infofile) = split(/,/,$arg);
} else {
($node,$xrefname,$topic,$infofile,$manual) = split(/,/,$arg);
}
@@ -1146,6 +1148,7 @@ sub initialize_tables
'ref', 'X',
'pxref', 'Xsee ',
'href', 'X',
+ 'uref', 'X',
'inforef', 'XSee ',
);
diff --git a/doc/tools/texi2www/texi2www.texi b/doc/tools/texi2www/texi2www.texi
index c726564c39..753f64abb3 100644
--- a/doc/tools/texi2www/texi2www.texi
+++ b/doc/tools/texi2www/texi2www.texi
@@ -1,4 +1,4 @@
-\input ../../texinfo/texinfo @c -*-texinfo-*-
+\input texinfo @c -*-texinfo-*-
@comment %**start of header
@setfilename texi2www