Changeset 1265 for trunk/doc


Ignore:
Timestamp:
Apr 9, 2008, 2:04:37 PM (13 years ago)
Author:
Peter
Message:

Changing so generated docs are not distributed and consequently docs can be generated in builddir

Location:
trunk/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Makefile.am

    r1264 r1265  
    2525# 02111-1307, USA.
    2626
    27 DX_HTML_OUTPUT=$(srcdir)/html
    28 DX_LATEX_OUTPUT=$(srcdir)/latex
    2927
    3028stamp-doxygen: doxygen.config Makefile
     
    5755doc: html dvi ps pdf
    5856
    59 EXTRA_DIST = $(srcdir)/$(PACKAGE).dvi $(srcdir)/$(PACKAGE).ps \
    60 $(srcdir)/$(PACKAGE).pdf $(DX_LATEX_OUTPUT) $(DX_HTML_OUTPUT)
    6157
    6258# these are supported by automake and *-local will add target to *
    63 dvi-local: update-stamp-doxygen $(srcdir)/$(PACKAGE).dvi
    64 ps-local: update-stamp-doxygen $(srcdir)/$(PACKAGE).ps
    65 pdf-local: update-stamp-doxygen $(srcdir)/$(PACKAGE).pdf
     59dvi-local: update-stamp-doxygen $(PACKAGE).dvi
     60ps-local: update-stamp-doxygen $(PACKAGE).ps
     61pdf-local: update-stamp-doxygen $(PACKAGE).pdf
    6662html-local: update-stamp-doxygen $(DX_HTML_OUTPUT)/index.html
    6763
     
    7571  @(cat doxygen.config; $(ECHO) GENERATE_LATEX = YES) | doxygen -;
    7672
    77 $(srcdir)/$(PACKAGE).dvi: $(DX_LATEX_OUTPUT)/refman.tex
     73$(PACKAGE).dvi: $(DX_LATEX_OUTPUT)/refman.tex
    7874  cd $(DX_LATEX_OUTPUT) && latex refman.tex && latex refman.tex
    79   cp $(DX_LATEX_OUTPUT)/refman.dvi $(srcdir)/$(PACKAGE).dvi
     75  cp $(DX_LATEX_OUTPUT)/refman.dvi $(PACKAGE).dvi
    8076
    81 $(srcdir)/$(PACKAGE).ps: $(PACKAGE).dvi
     77$(PACKAGE).ps: $(PACKAGE).dvi
    8278  cd $(DX_LATEX_OUTPUT) && dvips -o refman.ps refman.dvi;
    83   cp $(DX_LATEX_OUTPUT)/refman.ps $(srcdir)/$(PACKAGE).ps
     79  cp $(DX_LATEX_OUTPUT)/refman.ps $(PACKAGE).ps
    8480
    85 
    86 $(srcdir)/$(PACKAGE).pdf: $(DX_LATEX_OUTPUT)/refman.tex
     81$(PACKAGE).pdf: $(DX_LATEX_OUTPUT)/refman.tex
    8782  cd $(DX_LATEX_OUTPUT) && $(MAKE) pdf;
    88   cp $(DX_LATEX_OUTPUT)/refman.pdf $(srcdir)/$(PACKAGE).pdf
     83  cp $(DX_LATEX_OUTPUT)/refman.pdf $(PACKAGE).pdf
    8984
    9085endif
     
    107102  @if test -f "$(PACKAGE).dvi"; then \
    108103  test -d $(DESTDIR)$(dvidir) || $(MKDIR_P) $(DESTDIR)$(dvidir);\
    109   $(INSTALL_DATA) $(srcdir)$(PACKAGE).dvi \
     104  $(INSTALL_DATA) $(PACKAGE).dvi \
    110105   $(DESTDIR)$(dvidir)/$(PACKAGE).dvi; \
    111106  $(ECHO) $(INSTALL_DATA) $(PACKAGE).dvi \
     
    116111  @if test -f "$(PACKAGE).ps"; then \
    117112  test -d $(DESTDIR)$(psdir) || $(MKDIR_P) $(DESTDIR)$(psdir);\
    118   $(INSTALL_DATA) $(srcdir)$(PACKAGE).ps \
     113  $(INSTALL_DATA) $(PACKAGE).ps \
    119114   $(DESTDIR)$(psdir)/$(PACKAGE).ps; \
    120115  $(ECHO) $(INSTALL_DATA) $(PACKAGE).ps $(DESTDIR)$(psdir)/$(PACKAGE).ps;\
     
    124119  @if test -f "$(PACKAGE).pdf"; then \
    125120  test -d $(DESTDIR)$(pdfdir) || $(MKDIR_P) $(DESTDIR)$(pdfdir);\
    126   $(INSTALL_DATA) $(srcdir)$(PACKAGE).pdf \
     121  $(INSTALL_DATA) $(PACKAGE).pdf \
    127122   $(DESTDIR)$(pdfdir)/$(PACKAGE).pdf; \
    128123  $(ECHO) $(INSTALL_DATA) $(PACKAGE).pdf \
     
    135130
    136131clean-local:
    137   rm -rf doxygen.config
     132  rm -rf $(PACKAGE).dvi $(PACKAGE).ps $(PACKAGE).pdf $(DX_HTML_OUTPUT) \
     133  $(DX_LATEX_OUTPUT)
    138134
    139135FORCE:
  • trunk/doc/doxygen.config.in

    r1259 r1265  
    478478# put in front of it. If left blank `html' will be used as the default path.
    479479
    480 HTML_OUTPUT            = @srcdir@/html
     480HTML_OUTPUT            = @DX_HTML_OUTPUT@
    481481
    482482# The HTML_HEADER tag can be used to specify a personal HTML header for
     
    569569# put in front of it. If left blank `latex' will be used as the default path.
    570570
    571 LATEX_OUTPUT           = @srcdir@/latex
     571LATEX_OUTPUT           = @DX_LATEX_OUTPUT@
    572572
    573573# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
Note: See TracChangeset for help on using the changeset viewer.