Fix 'nvidia with ncurses segfaults' (sf.net #3006233)
[monky] / doc / docgen.sh
index ad68a3b..e3a73f1 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
-# $Id$
 
 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
-
-gzip -f conky.1
-man ./conky.1.gz | col -b > README
+{ 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 ../