1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 04:06:03 +00:00

changed docgen.sh to be more flexible

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@142 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Jason Tan 2005-08-22 00:41:57 +00:00
parent 9f36b73746
commit f3aa44b7dc

View File

@ -2,12 +2,16 @@
# $Id$ # $Id$
xsltproc http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl docs.xml > docs.html xsltproc http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl docs.xml > docs.html
if [ -x docbook2man ]
then db2x_xsltproc -s man docs.xml -o docs.mxml
docbook2man docs.xml db2x_manxml docs.mxml
else
docbook2x-man docs.xml #if [ -x docbook2man ]
fi #then
# docbook2man docs.xml
#else
# docbook2x-man docs.xml
#fi
gzip -f conky.1 gzip -f conky.1
man ./conky.1.gz | col -b > README man ./conky.1.gz | col -b > README
mv README ../ mv README ../