1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-30 21:41:46 +00:00
conky/doc/docgen.sh

12 lines
400 B
Bash
Raw Normal View History

#!/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 ../