Changeset 957 for trunk/doc


Ignore:
Timestamp:
Oct 9, 2007, 10:07:24 PM (16 years ago)
Author:
Peter
Message:

Generation of documentation is disabled if software is missing. For
example if doxygen is missing doxygen is not issued, but for example
Statistics.pdf is generated and so on and so forth.

Also, I added variables dvi-local, pdf-local, and html-local. This
means that one now can issue ,e.g., 'make pdf' and hopefully get what one was
hoping for.

I divided clean-local into clean-local and mostlyclean-local. The
latter is included in a 'make mostlyclean' call and both are included
in a 'make clean' call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Makefile.am

    r865 r957  
    2727doc: doxygen.config doxygen-local Statistics-local
    2828
     29dvi-local: Statistics.dvi
     30
     31pdf-local: Statistics.pdf
     32
     33html-local: doxygen.config doxygen-local html/Statistics/Statistics.html
     34
     35mostlyclean-local:
     36  rm -rf *.toc *.log *.dvi *.aux *~
     37
    2938clean-local:
    30   rm -rf doxygen.config html latex \
    31  *.toc *.log *.dvi *.aux *~
     39  rm -rf doxygen.config html latex Statistics.pdf
    3240
    3341doxygen-local:
    34   doxygen doxygen.config
     42  @if $(HAVE_DOXYGEN); then \
     43  doxygen doxygen.config; \
     44  fi
    3545
    3646doxygen.config:
     
    3848
    3949
    40 html/Statistics: Statistics.tex
    41   latex2html Statistics.tex
    42   @mv Statistics html/.
     50html/Statistics/Statistics.html: Statistics.tex
     51  @$(install_sh) -d html/Statistics
     52  @if $(HAVE_LATEX2HTML); then \
     53  latex2html -t "Weighted Statistics used in yat." \
     54  --dir html/Statistics Statistics.tex;\
     55  fi
    4356
    44 Statistics-local: html/Statistics \
     57Statistics-local: html/Statistics/Statistics.html \
    4558  html/Statistics/Statistics.pdf
    4659
    4760Statistics.dvi: Statistics.tex
    48   @latex Statistics.tex
    49   @latex Statistics.tex
     61  @if $(HAVE_LATEX); then \
     62  @latex Statistics.tex; \
     63  @latex Statistics.tex; \
     64  fi
    5065
    5166Statistics.pdf: Statistics.dvi
    52   @dvipdfm Statistics.dvi
     67  @if $(HAVE_DVIPDFM); then \
     68  dvipdfm Statistics.dvi; \
     69  fi
    5370
    54 html/Statistics/Statistics.pdf: Statistics.pdf
    55   @cp Statistics.pdf html/Statistics/.
    56 
     71html/Statistics/Statistics.pdf: $(pdf)
     72  @if test -f Statistics.pdf; then \
     73    $(install_sh) -d html/Statistics; \
     74    cp Statistics.pdf html/Statistics/.; \
     75  fi
Note: See TracChangeset for help on using the changeset viewer.