generic/Makefile patch for installguide
Bhuvaneswaran
bhuvaneswaran at gmail.com
Wed Nov 9 17:20:44 UTC 2005
Hello,
Please find attached the makefile patch for preparing the
single/multiple html files of
generic/instalguide/C/installation-guide.xml and
generic/instalguide/C/network-install.xml.
I've also added generic/libs/installation-guide-html-chunk-cust.xsl
and generic/libs/installation-guide-html-single-cust.xsl templates.
This patch is similar to the one we did for server guide. I've tested
it, it works fine. Please verify and apply.
Suggestion: I prefer to rename the directory instalguide -> installguide.
--
Regards,
Bhuvaneswaran
www.symonds.net/~bhuvan/
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 2032)
+++ Makefile (working copy)
@@ -36,14 +36,19 @@
SERVERCHUNKXSL=libs/server-guide-html-chunk-cust.xsl
SERVERSINGLEXSL=libs/server-guide-html-single-cust.xsl
+# Syle Guide HTML Customization Layer for installation guide
+IGCHUNKXSL=libs/installation-guide-html-chunk-cust.xsl
+IGSINGLEXSL=libs/installation-guide-html-single-cust.xsl
+
# Base gnome directories for output from processor
BASE=../build/generic/
IMAGES=../build/generic/images/
SGBASE=../build/generic/styleguide/
SERVERBASE=../build/generic/serverguide/
+IGBASE=../build/generic/installguide/
.PHONY: all
-all: sg server
+all: sg server ig ni
# copy style sheet to build directory
cp default.css ../build/generic/default.css
@@ -78,7 +83,7 @@
@echo "--- Building the Ubuntu Server Starter Guide . . ."
@echo "--- Removing existing build files (if any). . ."
- rm -f $(SERVERBASE)*.html
+ rm -f $(SERVERBASE)C/*.html
@echo "--- Building new files. . . "
xsltproc --xinclude --stringparam base.dir $(SERVERBASE)C/ $(SERVERCHUNKXSL) serverguide/C/serverguide.xml
@@ -97,3 +102,53 @@
cp default.css ../build/generic/serverguide/default.css
@echo "--- Complete. Find output at" $(SERVERBASE)
+
+## Install Guide
+ig:
+ @echo "--- Building the Ubuntu Installation Guide . . ."
+
+ @echo "--- Removing existing build files (if any). . ."
+ rm -f $(IGBASE)C/*.html
+ @echo "--- Building new files. . . "
+
+ xsltproc --xinclude --stringparam base.dir $(IGBASE)C/ $(IGCHUNKXSL) instalguide/C/installation-guide.xml
+ xsltproc --xinclude -o $(IGBASE)C/installation-guide-all.html $(IGSINGLEXSL) instalguide/C/installation-guide.xml
+
+ mkdir -p $(IMAGES)admon
+ cp -r ../common/admon/*.* $(IMAGES)admon
+
+ mkdir -p $(IMAGES)callouts
+ cp -r ../common/callouts/*.* $(IMAGES)callouts
+
+ mkdir -p $(IMAGES)navig
+ cp -r ../common/navig/*.* $(IMAGES)navig
+
+ # copy style sheet to build directory
+ cp default.css ../build/generic/installguide/default.css
+
+ @echo "--- Complete. Find output at" $(IGBASE)
+
+## Network Install Guide
+ni:
+ @echo "--- Building the Ubuntu Network Installation Guide . . ."
+
+ @echo "--- Removing existing build files (if any). . ."
+ rm -f $(IGBASE)C/*.html
+ @echo "--- Building new files. . . "
+
+ xsltproc --xinclude --stringparam base.dir $(IGBASE)C/ $(IGCHUNKXSL) instalguide/C/network-install.xml
+ xsltproc --xinclude -o $(IGBASE)C/network-install-all.html $(IGSINGLEXSL) instalguide/C/network-install.xml
+
+ mkdir -p $(IMAGES)admon
+ cp -r ../common/admon/*.* $(IMAGES)admon
+
+ mkdir -p $(IMAGES)callouts
+ cp -r ../common/callouts/*.* $(IMAGES)callouts
+
+ mkdir -p $(IMAGES)navig
+ cp -r ../common/navig/*.* $(IMAGES)navig
+
+ # copy style sheet to build directory
+ cp default.css ../build/generic/installguide/default.css
+
+ @echo "--- Complete. Find output at" $(IGBASE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installation-guide-html-chunk-cust.xsl
Type: application/xml
Size: 1478 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20051109/be82dd80/attachment.xsl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installation-guide-html-single-cust.xsl
Type: application/xml
Size: 1480 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20051109/be82dd80/attachment-0001.xsl>
More information about the ubuntu-doc
mailing list