mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-23 19:39:06 +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:
parent
9f36b73746
commit
f3aa44b7dc
@ -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 ../
|
||||
|
Loading…
Reference in New Issue
Block a user