Re: Patch for gnomemm-website



Hi,

I just found there is a missing page for 'developers', and a useless file 'root.html' generated by xsltproc. I created a patch to add the missing file and remove the root.html for each language. I will use Bugzilla next time.

On Fri, Mar 11, 2011 at 8:19 PM, Murray Cumming <murrayc murrayc com> wrote:
On Fri, 2011-03-11 at 12:53 +1100, Tao Wang wrote:
> oops, I forgot attach the patch in the last mail. Here it is.

Great. Thanks. Pushed to git and published to gtkmm.org.

Bugzilla is generally better for patches, of course.

--
murrayc murrayc com
www.murrayc.com
www.openismus.com




--
Regards

Tao Wang
From a3ae43d6d639efc46e05199397fea04f70a83ed0 Mon Sep 17 00:00:00 2001
From: Tao Wang <dancefire gmail com>
Date: Fri, 11 Mar 2011 20:46:20 +1100
Subject: [PATCH 2/2] Fix missing 'developers' page and remove the root.html.

---
 docs/C/gnomemm-website.xml |    1 +
 docs/Makefile.am           |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/docs/C/gnomemm-website.xml b/docs/C/gnomemm-website.xml
index 4a6a449..57d838e 100644
--- a/docs/C/gnomemm-website.xml
+++ b/docs/C/gnomemm-website.xml
@@ -98,6 +98,7 @@
   <xi:include href="books.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="bugs.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="commercial_support.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+  <xi:include href="developers.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="documentation.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="download.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="extra.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 39b12a3..7fa4c48 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -70,6 +70,7 @@ $(website_indexes): html/%/index.html:$(addprefix %/,$(doc_module_with_ext) $(DO
 	$(AM_V_at)rm -rf html/$(lang)
 	$(AM_V_at)$(MKDIR_P) html/$(lang)
 	$(AM_V_GEN)$(XSLTPROC) -o html/$(lang)/ --xinclude param.xsl $(srcdir)/$(lang)/$(doc_module_with_ext)
+	$(AM_V_at)rm -f html/$(lang)/root.html
 
 # Create a html generation of the C locale's version of the DocBook,
 # using our custom stylesheet and graphics:
@@ -77,6 +78,7 @@ html/en/index.html: $(addprefix $(srcdir)/C/,$(doc_module_with_ext) $(DOC_INCLUD
 	$(AM_V_at)rm -fr html/en
 	$(AM_V_at)$(MKDIR_P) html/en
 	$(AM_V_GEN)$(XSLTPROC) -o html/en/ --xinclude param.xsl $(srcdir)/C/$(doc_module_with_ext)
+	$(AM_V_at)rm -f html/en/root.html
 	
 validate: $(addprefix $(srcdir)/C/,$(doc_module_with_ext) $(DOC_INCLUDES))
 	$(XMLLINT) --xinclude --postvalid --noout $<
-- 
1.7.2.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]