CVS: moonbase/doc-tools/docbook-xsl DETAILS, 1.6,
1.7 rebuild-docbook-catalog, 1.3, 1.4
nhudson at lunar-linux.org
nhudson at lunar-linux.org
Sun Sep 14 21:37:37 GMT 2003
Update of /var/cvs/lunar/moonbase/doc-tools/docbook-xsl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv3082/docbook-xsl
Modified Files:
DETAILS rebuild-docbook-catalog
Log Message:
Fixing the rebuild script so that it will look for libglade's dtd file and put it into the correct place
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/DETAILS,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- DETAILS 5 Aug 2003 02:09:13 -0000 1.6
+++ DETAILS 14 Sep 2003 21:37:35 -0000 1.7
@@ -5,7 +5,7 @@
SOURCE_URL[0]=$SFORGE_URL/docbook/$SOURCE
WEB_SITE=http://docbook.sourceforge.net/projects/xsl/
ENTERED=20020703
- UPDATED=20030804
+ UPDATED=20030914
SHORT="These are XSL stylesheets for the DocBook DTD and its derivatives (Simplified DocBook, etc.)."
cat << EOF
XSL is a standard W3C stylesheet language (Extensible Stylesheet Language) for both print and online rendering. For more information about XSL, see the XSL page at the W3C.
Index: rebuild-docbook-catalog
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/rebuild-docbook-catalog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rebuild-docbook-catalog 5 Jun 2003 21:01:13 -0000 1.3
+++ rebuild-docbook-catalog 14 Sep 2003 21:37:35 -0000 1.4
@@ -319,3 +319,22 @@
#
#
+#find the prefix for libglade's DTD files
+#
+libgladedir=/opt/lunar/gnome/2.4/share/xml/libglade
+top=`dirname $docbookdir`
+found=`find $top -name glade-2.0.dtd`
+if [ "$found" = "" ] ; then
+ found=`find /opt/lunar/gnome/2.4/share/xml -name glade-2.0.dtd`
+fi
+if [ "$found" = "" ] ; then
+ echo could not locate libglade dtd files
+ exit 1
+fi
+
+echo Found libglade DTDs in $found
+
+xmlcatalog --noout --add "system" \
+ "http://glade.gnome.org/glade-2.0.dtd" \
+ "file://$found" $CATALOG
+
More information about the Lunar-commits
mailing list