1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00
conky/doc/docgen.sh
2008-12-09 16:35:49 -07:00

12 lines
400 B
Bash

#!/bin/sh
xsltproc http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl docs.xml > docs.html
db2x_xsltproc -s man docs.xml -o docs.mxml
db2x_manxml docs.mxml
{ echo ".TH CONKY 1 \"August 2005\" \"conky compiled August 2005\" \"User Commands\""; sed 1d < conky.1; } > conky.2
mv conky.2 conky.1
#gzip --best --stdout conky.1 > conky.1.gz
man ./conky.1 | col -b > README
mv README ../