1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 02:25:09 +00:00

doc makefile

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@166 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-24 20:47:29 +00:00
parent 9de7ee390c
commit 5dec961cd5
2 changed files with 16 additions and 12 deletions

View File

@ -250,10 +250,14 @@ dnl
dnl Check doc stuff dnl Check doc stuff
dnl dnl
AC_PATH_PROG(DB2X_XSLPROC, db2x_xsltproc) AC_CHECK_PROGS(db2x_xsltproc_cmd, db2x_xsltproc)
AC_PATH_PROG(DB2X_MANXML, db2x_manxml) AC_CHECK_PROGS(db2x_manxml_cmd, db2x_manxml)
AC_PATH_PROG(XSLPROC, xsltproc) AC_CHECK_PROGS(xsltproc_cmd, xsltproc)
AM_CONDITIONAL(HAVE_DOCSTUFF, test $DB2X_XSLPROC -a $DB2X_MANXML -a $XSLPROC) if test x$db2x_xsltproc_cmd = "x" -o x$xsltproc_cmd = "x"; then
AM_CONDITIONAL(HAVE_DOCSTUFF, false)
else
AM_CONDITIONAL(HAVE_DOCSTUFF, true)
fi
dnl dnl
dnl Check sysinfo() dnl Check sysinfo()

View File

@ -1,19 +1,19 @@
clean-am: clean-generic mostlyclean-am
rm -f docs.mxml
rm -f conky.1
if HAVE_DOCSTUFF if HAVE_DOCSTUFF
man_MANS = conky.1 ../README docs.html man_MANS = conky.1 ../README docs.html
clean-am: clean-generic mostlyclean-am
rm -f docs.mxml
rm -f conky.1
conky.1: command_options.xml config_settings.xml docs.xml variables.xml conky.1: command_options.xml config_settings.xml docs.xml variables.xml
${DB2X_XSLPROC} -s man ${srcdir}/docs.xml -o docs.mxml ${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
${DB2X_MANXML} docs.mxml ${db2x_manxml_cmd} docs.mxml
docs.html: command_options.xml config_settings.xml docs.xml variables.xml docs.html: command_options.xml config_settings.xml docs.xml variables.xml
${XSLPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html ${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html
../README: conky.1.gz ../README: conky.1
man ./conky.1 | col -b > README man ./conky.1 | col -b > README
mv README ${top_srcdir} mv README ${top_srcdir}
else else