From 0d902e61d123e5c3b04a6892b7dfccb82e2a7111 Mon Sep 17 00:00:00 2001 From: Joshua Daniel Franklin Date: Thu, 5 Feb 2004 05:00:34 +0000 Subject: 2004-02-04 Joshua Daniel Franklin * Makefile.in: Generate monolithic faq0.html file. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/Makefile.in | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'winsup/doc') diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 8b6929e..24c6f54 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ + +2004-02-04 Joshua Daniel Franklin + * Makefile.in: Generate monolithic faq0.html file. + 2004-01-24 Joshua Daniel Franklin * cygwinenv.sgml: Cleanup minor markup problems. * dll.sgml: Cleanup minor markup problems. diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in index 09c006c..28c8490 100644 --- a/winsup/doc/Makefile.in +++ b/winsup/doc/Makefile.in @@ -17,7 +17,7 @@ SGMLDIRS = -d $(srcdir) -d $(utils_source) -d $(cygwin_source) # Put them back when we figure out what to do with them. (davisb) #DOC=faq.txt faq.info readme.txt readme.info DOC=faq.txt readme.txt -HTMLDOC=faq.html readme.html +HTMLDOC=faq0.html faq.html readme.html CC:=@CC@ CC_FOR_TARGET:=@CC@ @@ -104,6 +104,15 @@ readme.txt: $(srcdir)/readme.texinfo $(srcdir)/*.texinfo -$(MAKEINFO) -I$(srcdir) --no-split --no-headers $< -o - |\ sed '/^Concept Index/,$$d' > $@ +faq0.html: $(srcdir)/faq.texinfo $(srcdir)/*.texinfo + -rm -f faq_toc.html; \ + for i in $(srcdir)/*.texinfo ; do \ + sed < $$i -e 's?@file{\([fth]*p://[^}]*\)}?@strong{\1}?' \ + -e 's?\([.+a-zA-Z0-9-]*@@[.a-zA-Z0-9-]*[a-zA-Z0-9]\)?\1?' >./`basename $$i` ; done; \ + $(TEXI2HTML) -monolithic ./faq.texinfo; \ + rm -f *.texinfo; \ + [ -r faq.html ] && mv faq.html faq0.html; exit 0 + faq.html: $(srcdir)/faq.texinfo $(srcdir)/*.texinfo -rm -f faq_toc.html; \ for i in $(srcdir)/*.texinfo ; do \ -- cgit v1.1