[newlib-cygwin] winsup/doc: Rename cygwin.xsl as html.xsl
Jon TURNEY
jturney@sourceware.org
Thu Jun 18 10:40:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=73afd1315cbf8eae72f02ca12e417de2f274a578
commit 73afd1315cbf8eae72f02ca12e417de2f274a578
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Tue Jun 16 18:15:20 2015 +0100
winsup/doc: Rename cygwin.xsl as html.xsl
For clarity, rename cygwin.xsl as html.xsl, because that's what it is
2015-06-17 Jon Turney <jon.turney@dronecode.org.uk>
* html.xsl: Renamed from cygwin.xsl.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diff:
---
winsup/doc/ChangeLog | 4 ++++
winsup/doc/Makefile.in | 14 +++++++-------
winsup/doc/{cygwin.xsl => html.xsl} | 2 +-
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index f350c48..2d0c07b 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-17 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * html.xsl: Renamed from cygwin.xsl.
+
2015-06-17 Corinna Vinschen <corinna@vinschen.de>
* posix.xml (std-bsd): Add sethostname.
diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in
index 14b4588..c9e32c8 100644
--- a/winsup/doc/Makefile.in
+++ b/winsup/doc/Makefile.in
@@ -79,15 +79,15 @@ install-man: utils2man.stamp
@$(MKDIRP) $(DESTDIR)$(man1dir)
$(INSTALL_DATA) *.1 $(DESTDIR)$(man1dir)
-cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : $(cygwin-ug-net_SOURCES) cygwin.xsl
- -$(XMLTO) html-nochunks -m $(srcdir)/cygwin.xsl $<
+cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : $(cygwin-ug-net_SOURCES) html.xsl
+ -$(XMLTO) html-nochunks -m $(srcdir)/html.xsl $<
-@$(MKDIRP) cygwin-ug-net
-cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
-rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
-gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
-cygwin-ug-net/cygwin-ug-net.html : $(cygwin-ug-net_SOURCES) cygwin.xsl
- -$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/cygwin.xsl $<
+cygwin-ug-net/cygwin-ug-net.html : $(cygwin-ug-net_SOURCES) html.xsl
+ -$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $<
cygwin-ug-net/cygwin-ug-net.pdf : $(cygwin-ug-net_SOURCES) fo.xsl
-$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $<
@@ -96,14 +96,14 @@ utils2man.stamp: $(cygwin-ug-net_SOURCES)
$(XMLTO) man $<
@touch $@
-cygwin-api/cygwin-api.html : $(cygwin-api_SOURCES) cygwin.xsl
- -$(XMLTO) html -o cygwin-api/ -m $(srcdir)/cygwin.xsl $<
+cygwin-api/cygwin-api.html : $(cygwin-api_SOURCES) html.xsl
+ -$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $<
cygwin-api/cygwin-api.pdf : $(cygwin-api_SOURCES) fo.xsl
-$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $<
faq/faq.html : $(FAQ_SOURCES)
- -$(XMLTO) html -o faq -m $(srcdir)/cygwin.xsl $(srcdir)/faq.xml
+ -$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml
-sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html
Makefile.dep: cygwin-ug-net.xml cygwin-api.xml
diff --git a/winsup/doc/cygwin.xsl b/winsup/doc/html.xsl
similarity index 95%
rename from winsup/doc/cygwin.xsl
rename to winsup/doc/html.xsl
index df12555..2b02ea8 100644
--- a/winsup/doc/cygwin.xsl
+++ b/winsup/doc/html.xsl
@@ -3,7 +3,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version='1.0'>
-<xsl:param name="chunker.output.doctype-public"
+<xsl:param name="chunker.output.doctype-public"
select="'-//W3C//DTD HTML 4.01 Transitional//EN'" />
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
<xsl:param name="use.id.as.filename" select="1" />
More information about the Cygwin-cvs
mailing list