mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +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:
parent
9de7ee390c
commit
5dec961cd5
12
configure.in
12
configure.in
@ -250,10 +250,14 @@ dnl
|
||||
dnl Check doc stuff
|
||||
dnl
|
||||
|
||||
AC_PATH_PROG(DB2X_XSLPROC, db2x_xsltproc)
|
||||
AC_PATH_PROG(DB2X_MANXML, db2x_manxml)
|
||||
AC_PATH_PROG(XSLPROC, xsltproc)
|
||||
AM_CONDITIONAL(HAVE_DOCSTUFF, test $DB2X_XSLPROC -a $DB2X_MANXML -a $XSLPROC)
|
||||
AC_CHECK_PROGS(db2x_xsltproc_cmd, db2x_xsltproc)
|
||||
AC_CHECK_PROGS(db2x_manxml_cmd, db2x_manxml)
|
||||
AC_CHECK_PROGS(xsltproc_cmd, xsltproc)
|
||||
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 Check sysinfo()
|
||||
|
@ -1,19 +1,19 @@
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
rm -f docs.mxml
|
||||
rm -f conky.1
|
||||
|
||||
if HAVE_DOCSTUFF
|
||||
|
||||
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
|
||||
${DB2X_XSLPROC} -s man ${srcdir}/docs.xml -o docs.mxml
|
||||
${DB2X_MANXML} docs.mxml
|
||||
${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
|
||||
${db2x_manxml_cmd} docs.mxml
|
||||
|
||||
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
|
||||
mv README ${top_srcdir}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user