Changeset 1254


Ignore:
Timestamp:
Apr 4, 2008, 3:50:54 PM (13 years ago)
Author:
Peter
Message:

Fixes #273. make doc creates a yat.dvi, yat.ps, and
yat.pdf. These files can be created with make pdf or
correspondingly. Fixed doxygen.config so it works when srcdir!=builddir.

--This line, and those below, will be ignored--

M doc/doxygen.config.in
M doc/Makefile.am

Location:
trunk/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Makefile.am

    r1225 r1254  
    2727if HAVE_DOXYGEN
    2828
    29 doc: doxygen.config FORCE
    30   @doxygen doxygen.config
     29doc: html dvi ps pdf
    3130
    3231# these are supported by automake and *-local will add target to *
    33 dvi-local: latex-local
     32dvi-local: yat.dvi
     33ps-local: yat.ps
     34pdf-local: yat.pdf
    3435
    35 ps-local: latex-local
    36 
    37 pdf-local: latex-local
    38 
    39 html-local: doxygen.config FORCE
    40   (cat doxygen.config; $(ECHO) GENERATE_LATEX = NO) | doxygen -;
     36html-local: doxygen.config
     37  @(cat doxygen.config; $(ECHO) GENERATE_HTML = YES) | doxygen -;
    4138
    4239# this is not supported by automake - there is no target latex
    43 latex-local: doxygen.config FORCE
    44   @(cat doxygen.config; $(ECHO) GENERATE_HTML = NO) | doxygen -;
     40latex-local: doxygen.config
     41  @(cat doxygen.config; $(ECHO) GENERATE_LATEX = YES) | doxygen -;
     42
     43yat.dvi: latex-local
     44  cd latex && latex refman.tex && latex refman.tex
     45  cp latex/refman.dvi yat.dvi
     46
     47yat.ps: yat.dvi
     48  dvips latex/refman.dvi -o yat.ps
    4549
    4650
     51yat.pdf: latex-local
     52  cd latex && $(MAKE) pdf;
     53  cp latex/refman.pdf yat.pdf
    4754endif
    4855
    4956mostlyclean-local:
    50   rm -rf *.toc *.log *.dvi *.aux *~
     57  rm -f yat.dvi *~
    5158
    5259clean-local:
    53   rm -rf doxygen*.config html latex
     60  rm -rf doxygen.config html latex yat.dvi yat.ps yat.pdf
    5461
    5562FORCE:
  • trunk/doc/doxygen.config.in

    r1226 r1254  
    144144# the path. It is allowed to use relative paths in the argument list.
    145145
    146 STRIP_FROM_PATH        = ../
     146STRIP_FROM_PATH        = @top_srcdir@
    147147
    148148# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
     
    153153# are normally passed to the compiler using the -I flag.
    154154
    155 STRIP_FROM_INC_PATH    = ../
     155STRIP_FROM_INC_PATH    = @top_srcdir@
    156156
    157157# The INTERNAL_DOCS tag determines if documentation
     
    346346# with spaces.
    347347
    348 INPUT                  = first_page.doxygen namespaces.doxygen concepts.doxygen Statistics.doxygen ../yat
     348INPUT                  = @srcdir@/first_page.doxygen @srcdir@/namespaces.doxygen @srcdir@/concepts.doxygen @srcdir@/Statistics.doxygen @top_srcdir@/yat
    349349
    350350# If the value of the INPUT tag contains directories, you can use the
     
    472472# generate HTML output.
    473473
    474 GENERATE_HTML          = YES
     474GENERATE_HTML          = NO
    475475
    476476# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
     
    563563# generate Latex output.
    564564
    565 GENERATE_LATEX         = YES
     565GENERATE_LATEX         = NO
    566566
    567567# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
Note: See TracChangeset for help on using the changeset viewer.