Changeset 313


Ignore:
Timestamp:
Jan 4, 2004, 1:45:08 AM (16 years ago)
Author:
Sam Hocevar
Message:
  • 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.

Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r310 r313  
    144144# Build LaTeX documentation?
    145145AC_PATH_PROG(LATEX, latex, no)
     146AC_PATH_PROG(DVIPS, dvips, no)
     147if test "${DVIPS}" = "no"; then
     148  LATEX="no"
     149fi
    146150AC_MSG_CHECKING(for a4wide.sty)
    147151if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then
    148152  AC_MSG_RESULT(yes)
    149153else
    150   LATEX=no
     154  LATEX="no"
    151155  AC_MSG_RESULT(no)
    152156fi
  • libcaca/trunk/doc/Makefile.am

    r310 r313  
    2424if DOXYGEN
    2525if LATEX
    26         rm -f latex/libcaca.ps
     26        rm -f latex/libcaca.tex latex/libcaca.ps
     27        mv latex/refman.tex latex/libcaca.tex
     28        sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
    2729        cd latex && $(MAKE) $(AM_CFLAGS) ps
    2830        mv latex/refman.ps latex/libcaca.ps
Note: See TracChangeset for help on using the changeset viewer.