ports/sysutils/conky/patches/patch-doc_Makefile_am

19 lines
832 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: doc/Makefile.am
--- doc/Makefile.am.orig
+++ doc/Makefile.am
@@ -10,14 +10,6 @@ conky.1: command_options.xml config_settings.xml docs.
${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
${db2x_manxml_cmd} docs.mxml
${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html
- man -P 'less -is' ./conky.1 > README
- sed -i "s/[[:cntrl:]]\[[0-9]*m//g" README
- sed -i "s/\xE2//g" README
- sed -i "s/\x80//g" README
- sed -i "s/\x90/-/g" README
- sed -i "s/\x94/-/g" README
- sed -i "s/\x9f/-/g" README
- mv README ${top_srcdir}
xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html
xsltproc ${srcdir}/config_settings.xsl ${srcdir}/config_settings.xml > config_settings.html
xsltproc ${srcdir}/lua.xsl ${srcdir}/lua.xml > lua.html