Changeset 325

Show
Ignore:
Timestamp:
03/26/08 12:54:24 (8 months ago)
Author:
powell
Message:

Support for bibtex, reorganization of latex targets.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/matml/src/ternary/Makefile.am

    r322 r325  
    5959endif # HAVE_CXREF 
    6060 
     61if HAVE_LATEX 
     62@PACKAGE@.aux: cxref-tex 
     63        @LATEX@ @PACKAGE@ 
     64 
     65if HAVE_BIBTEX 
     66@PACKAGE@.bbl: @PACKAGE@.aux @PACKAGE@.bib 
     67        @BIBTEX@ @PACKAGE@ 
     68endif # HAVE_BIBTEX 
     69 
     70DVI_DOCS = @PACKAGE@.dvi 
     71@PACKAGE@.dvi: cxref-tex @PACKAGE@.html @PACKAGE@.aux @PACKAGE@.bbl 
     72        @LATEX@ @PACKAGE@ 
     73        @LATEX@ @PACKAGE@ 
     74        grep -v HAVE_LATEX @PACKAGE@.html > @PACKAGE@.html.new 
     75        mv -f @PACKAGE@.html.new @PACKAGE@.html 
     76 
    6177if HAVE_PDFLATEX 
    6278PDF_DOCS = @PACKAGE@.pdf 
    63 @PACKAGE@.pdf: cxref-tex @PACKAGE@.html 
    64         @PDFLATEX@ @PACKAGE@.tex # We run pdflatex thrice to make sure .toc is good! 
    65         @PDFLATEX@ @PACKAGE@.tex 
    66         @PDFLATEX@ @PACKAGE@.tex 
     79@PACKAGE@.pdf: cxref-tex @PACKAGE@.html @PACKAGE@.aux @PACKAGE@.bbl 
     80        @PDFLATEX@ @PACKAGE@ 
     81        @PDFLATEX@ @PACKAGE@ 
    6782        grep -v HAVE_PDFLATEX @PACKAGE@.html > @PACKAGE@.html.new 
    6883        mv -f @PACKAGE@.html.new @PACKAGE@.html 
     
    7186endif # HAVE_PDFLATEX 
    7287 
    73 if HAVE_LATEX 
    74 DVI_DOCS = @PACKAGE@.dvi 
    75 @PACKAGE@.dvi: cxref-tex @PACKAGE@.html 
    76         @LATEX@ @PACKAGE@.tex # We run latex thrice to make sure .toc is good! 
    77         @LATEX@ @PACKAGE@.tex 
    78         @LATEX@ @PACKAGE@.tex 
    79         grep -v HAVE_LATEX @PACKAGE@.html > @PACKAGE@.html.new 
    80         mv -f @PACKAGE@.html.new @PACKAGE@.html 
    8188if HAVE_DVIPS 
    8289PS_DOCS = @PACKAGE@.ps @PACKAGE@.ps.gz 
     
    134141        touch $@ 
    135142 
    136 CLEANFILES = *.aux *.log *.toc *.sty *.dvi *.pdf *.ps *.ps.gz *.tar.gz *.css \ 
    137   $(BUILT_TEXFILES) $(CXREF_HTML_DOCS) cxref-tex cxref-html @PACKAGE@-tex.html\ 
    138   stamp-doc 
     143CLEANFILES = *.aux *.log *.bbl *.blg *.toc *.sty *.dvi *.pdf *.ps *.ps.gz \ 
     144  *.tar.gz *.css $(BUILT_TEXFILES) $(CXREF_HTML_DOCS) cxref-tex cxref-html \ 
     145  @PACKAGE@-tex.html stamp-doc 
    139146 
    140147clean-local: