Browse Source

* configure.ac:

+ Check for dvips in addition to latex.
  * doc/Makefile.am:
    + Workaround for a bug in the latex code generated by doxygen
      in Mandrake 9.1.
tags/v0.99.beta14
Sam Hocevar sam 21 years ago
parent
commit
fe1ce81b4e
2 changed files with 8 additions and 2 deletions
  1. +5
    -1
      configure.ac
  2. +3
    -1
      doc/Makefile.am

+ 5
- 1
configure.ac View File

@@ -143,11 +143,15 @@ AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")

# Build LaTeX documentation?
AC_PATH_PROG(LATEX, latex, no)
AC_PATH_PROG(DVIPS, dvips, no)
if test "${DVIPS}" = "no"; then
LATEX="no"
fi
AC_MSG_CHECKING(for a4wide.sty)
if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then
AC_MSG_RESULT(yes)
else
LATEX=no
LATEX="no"
AC_MSG_RESULT(no)
fi
AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")


+ 3
- 1
doc/Makefile.am View File

@@ -23,7 +23,9 @@ endif
stamp-latex: stamp-doxygen
if DOXYGEN
if LATEX
rm -f latex/libcaca.ps
rm -f latex/libcaca.tex latex/libcaca.ps
mv latex/refman.tex latex/libcaca.tex
sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
cd latex && $(MAKE) $(AM_CFLAGS) ps
mv latex/refman.ps latex/libcaca.ps
touch stamp-latex


Loading…
Cancel
Save