Changeset 14528


Ignore:
Timestamp:
10/25/12 17:11:11 (12 years ago)
Author:
tbretz
Message:
Updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/aminclude.am

    r10183 r14528  
    22## Format-independent Doxygen rules. ##
    33## --------------------------------- ##
     4
    45if DX_COND_doc
    5 @DX_CONFIG@:
    6         $(DX_DOXYGEN) -g
     6
    77## ------------------------------- ##
    88## Rules specific for HTML output. ##
    99## ------------------------------- ##
     10
    1011if DX_COND_html
     12
    1113DX_CLEAN_HTML = @DX_DOCDIR@/html
     14
    1215endif DX_COND_html
     16
    1317## ------------------------------ ##
    1418## Rules specific for CHM output. ##
    1519## ------------------------------ ##
     20
    1621if DX_COND_chm
     22
    1723DX_CLEAN_CHM = @DX_DOCDIR@/chm
     24
    1825if DX_COND_chi
     26
    1927DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi
     28
    2029endif DX_COND_chi
     30
    2131endif DX_COND_chm
     32
    2233## ------------------------------ ##
    2334## Rules specific for MAN output. ##
    2435## ------------------------------ ##
     36
    2537if DX_COND_man
     38
    2639DX_CLEAN_MAN = @DX_DOCDIR@/man
     40
    2741endif DX_COND_man
     42
    2843## ------------------------------ ##
    2944## Rules specific for RTF output. ##
    3045## ------------------------------ ##
     46
    3147if DX_COND_rtf
     48
    3249DX_CLEAN_RTF = @DX_DOCDIR@/rtf
     50
    3351endif DX_COND_rtf
     52
    3453## ------------------------------ ##
    3554## Rules specific for XML output. ##
    3655## ------------------------------ ##
     56
    3757if DX_COND_xml
     58
    3859DX_CLEAN_XML = @DX_DOCDIR@/xml
     60
    3961endif DX_COND_xml
     62
    4063## ----------------------------- ##
    4164## Rules specific for PS output. ##
    4265## ----------------------------- ##
     66
    4367if DX_COND_ps
     68
    4469DX_CLEAN_PS = @DX_DOCDIR@/@PACKAGE@.ps
     70
    4571DX_PS_GOAL = doxygen-ps
     72
    4673doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
     74
    4775@DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
    4876        cd @DX_DOCDIR@/latex; \
     
    5381        countdown=5; \
    5482        while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
    55                 refman.log > /dev/null 2>&1 && test $$countdown -gt 0; \
     83               refman.log > /dev/null 2>&1 && test $$countdown -gt 0; \
    5684        do \
    57                 $(DX_LATEX) refman.tex; \
    58                 countdown=`expr $$countdown - 1`; \
     85           $(DX_LATEX) refman.tex; \
     86           countdown=`expr $$countdown - 1`; \
    5987        done; \
    6088        $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
     89
    6190endif DX_COND_ps
     91
    6292## ------------------------------ ##
    6393## Rules specific for PDF output. ##
    6494## ------------------------------ ##
     95
    6596if DX_COND_pdf
     97
    6698DX_CLEAN_PDF = @DX_DOCDIR@/@PACKAGE@.pdf
     99
    67100DX_PDF_GOAL = doxygen-pdf
     101
    68102doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf
     103
    69104@DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag
    70105        cd @DX_DOCDIR@/latex; \
     
    79114                $(DX_PDFLATEX) refman.tex; \
    80115                countdown=`expr $$countdown - 1`; \
    81         done; \
     116        done; \
    82117        mv refman.pdf ../@PACKAGE@.pdf
     118
    83119endif DX_COND_pdf
     120
    84121## ------------------------------------------------- ##
    85122## Rules specific for LaTeX (shared for PS and PDF). ##
    86123## ------------------------------------------------- ##
     124
    87125if DX_COND_latex
     126
    88127DX_CLEAN_LATEX = @DX_DOCDIR@/latex
     128
    89129endif DX_COND_latex
     130
    90131.PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)
     132
    91133.INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
     134
    92135doxygen-run: @DX_DOCDIR@/@PACKAGE@.tag
     136
    93137doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
     138
    94139@DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS)
    95140        rm -rf @DX_DOCDIR@
    96141        $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
     142
    97143DX_CLEANFILES = \
    98         @DX_DOCDIR@/@PACKAGE@.tag \
    99         -r \
    100         $(DX_CLEAN_HTML) \
    101         $(DX_CLEAN_CHM) \
    102         $(DX_CLEAN_CHI) \
    103         $(DX_CLEAN_MAN) \
    104         $(DX_CLEAN_RTF) \
    105         $(DX_CLEAN_XML) \
    106         $(DX_CLEAN_PS) \
    107         $(DX_CLEAN_PDF) \
    108         $(DX_CLEAN_LATEX)
     144    @DX_DOCDIR@/@PACKAGE@.tag \
     145    -r \
     146    $(DX_CLEAN_HTML) \
     147    $(DX_CLEAN_CHM) \
     148    $(DX_CLEAN_CHI) \
     149    $(DX_CLEAN_MAN) \
     150    $(DX_CLEAN_RTF) \
     151    $(DX_CLEAN_XML) \
     152    $(DX_CLEAN_PS) \
     153    $(DX_CLEAN_PDF) \
     154    $(DX_CLEAN_LATEX)
     155
    109156endif DX_COND_doc
Note: See TracChangeset for help on using the changeset viewer.