Ignore:
Timestamp:
Apr 14, 2006, 10:41:59 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Generate a PDF documentation instead of the PostScript? one. It has nice hyperlinks! Also, set compact LaTeX mode and a few other Doxygen options.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/Makefile.am

    r526 r772  
    99htmldocdir = $(datadir)/doc/libcaca-dev/html
    1010if USE_LATEX
    11 psdoc_DATA = latex/libcaca.ps
    12 psdocdir = $(datadir)/doc/libcaca-dev/ps
     11pdfdoc_DATA = latex/libcaca.pdf
     12pdfdocdir = $(datadir)/doc/libcaca-dev/pdf
    1313endif
    1414endif
    1515
    1616html/doxygen.css html/doxygen.png: stamp-doxygen
    17 latex/libcaca.ps: stamp-latex
     17latex/libcaca.pdf: stamp-latex
    1818
    1919stamp-doxygen:
     
    2626if BUILD_DOCUMENTATION
    2727if USE_LATEX
    28         rm -f latex/libcaca.tex latex/libcaca.ps
     28        rm -f latex/libcaca.tex latex/libcaca.pdf
    2929        mv latex/refman.tex latex/libcaca.tex
    3030        sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
    31         cd latex && $(MAKE) $(AM_CFLAGS) ps
    32         mv latex/refman.ps latex/libcaca.ps
     31        cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf
     32        mv latex/refman.pdf latex/libcaca.pdf
    3333        touch stamp-latex
    3434endif
Note: See TracChangeset for help on using the changeset viewer.