1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-24 11:55:43 +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$
xsltproc http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl docs.xml > docs.html
if [ -x docbook2man ]
then
docbook2man docs.xml
else
docbook2x-man docs.xml
fi
db2x_xsltproc -s man docs.xml -o docs.mxml
db2x_manxml docs.mxml
#if [ -x docbook2man ]
#then
# docbook2man docs.xml
#else
# docbook2x-man docs.xml
#fi
gzip -f conky.1
man ./conky.1.gz | col -b > README
mv README ../