Changeset 1254 for trunk/doc/Makefile.am


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

File:
1 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:
Note: See TracChangeset for help on using the changeset viewer.