commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r170016 - in /jakarta/commons/proper/daemon/trunk/src/native/unix/man: README fetch.sh
Date Fri, 13 May 2005 13:17:04 GMT
Author: jfclere
Date: Fri May 13 06:17:02 2005
New Revision: 170016

URL: http://svn.apache.org/viewcvs?rev=170016&view=rev
Log:
Add explaination about how to build the manpage.

Added:
    jakarta/commons/proper/daemon/trunk/src/native/unix/man/README
    jakarta/commons/proper/daemon/trunk/src/native/unix/man/fetch.sh

Added: jakarta/commons/proper/daemon/trunk/src/native/unix/man/README
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/man/README?rev=170016&view=auto
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/man/README (added)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/man/README Fri May 13 06:17:02 2005
@@ -0,0 +1,20 @@
+To build it use:
+docbook2man jsvc.1.xml
+
+If your docbook2man uses xalan and you are behind a firewall
+Modify jsvc.1.xml as below:
++++
+Index: jsvc.1.xml
+===================================================================
+--- jsvc.1.xml	(revision 170004)
++++ jsvc.1.xml	(working copy)
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="utf-8"?>
+ <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+-                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
++                   "docbookx.dtd">
+ <refentry id='jsvc1'>
+   <refmeta>
+     <refentrytitle>JSVC</refentrytitle>
++++
+Use fetch.sh to get docbook files.

Added: jakarta/commons/proper/daemon/trunk/src/native/unix/man/fetch.sh
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/man/fetch.sh?rev=170016&view=auto
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/man/fetch.sh (added)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/man/fetch.sh Fri May 13 06:17:02 2005
@@ -0,0 +1,21 @@
+mkdir -p ent
+rm -f JSVC.1
+while true
+do
+  FILE=`docbook2man jsvc.1.xml 2>&1 | grep FileNotFoundException | awk -F FileNotFoundException:
' { print $2 } ' | awk ' { print $1 } '`
+  if [ -f JSVC.1 ]
+  then
+    break
+  fi
+  echo "FILE: $FILE"
+  file=`basename $FILE`
+  dir=`dirname $FILE`
+  man=`basename $dir`
+  echo "file: $file dir: $dir man: $man"
+  if [ "$man" = "ent" ]
+  then
+    (cd ent; wget http://www.oasis-open.org/docbook/xml/4.1.2/ent/$file)
+  else
+    wget http://www.oasis-open.org/docbook/xml/4.1.2/$file
+  fi
+done



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message