Changeset 2297 for trunk/doc


Ignore:
Timestamp:
Jul 12, 2010, 3:22:39 PM (11 years ago)
Author:
Peter
Message:

dvi, ps, and pdf docs are no longer supported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Makefile.am

    r2266 r2297  
    5656$(top_builddir)/yat/utility/doxygen.mk
    5757
    58 doc: html dvi ps pdf
     58doc: html
    5959
    6060
    6161# these are supported by automake and *-local will add target to *
    62 if DX_ENABLE_DVI
    63 dvi-local: $(PACKAGE).dvi
    64 endif
    65 if DX_ENABLE_PS
    66 ps-local: $(PACKAGE).ps
    67 endif
    68 if DX_ENABLE_PDF
    69 pdf-local: $(PACKAGE).pdf
    70 endif
    7162if DX_ENABLE_HTML
    7263html-local: $(DX_HTML_OUTPUT)/index.html
    73 endif
    74 
    75 # this is not supported by automake - there is no target latex
    76 if DX_ENABLE_LATEX
    77 latex-local: $(DX_LATEX_OUTPUT)/refman.tex
    7864endif
    7965
     
    8268  echo GENERATE_HTML = YES) | $(DOXYGEN) -;
    8369
    84 $(DX_LATEX_OUTPUT)/refman.tex: $(DOXYGEN_DEPS)
    85   @(cat doxygen.config && echo "INPUT = $(DOXYGEN_INPUT)" && \
    86   echo GENERATE_LATEX = YES) | $(DOXYGEN) -;
    87 
    88 $(PACKAGE).dvi: $(DX_LATEX_OUTPUT)/refman.tex
    89   cd $(DX_LATEX_OUTPUT) && $(latex) refman.tex && $(latex) refman.tex
    90   cp $(DX_LATEX_OUTPUT)/refman.dvi $(PACKAGE).dvi
    91 
    92 $(PACKAGE).ps: $(PACKAGE).dvi
    93   cd $(DX_LATEX_OUTPUT) && $(dvips) -q -o refman.ps refman.dvi;
    94   cp $(DX_LATEX_OUTPUT)/refman.ps $(PACKAGE).ps
    95 
    96 $(PACKAGE).pdf: $(DX_LATEX_OUTPUT)/refman.tex
    97   cd $(DX_LATEX_OUTPUT) && $(MAKE) pdf;
    98   cp $(DX_LATEX_OUTPUT)/refman.pdf $(PACKAGE).pdf
    99 
    10070
    10171install-data-hook:
    10272  @$(NORMAL_INSTALL)
    103   @$(MAKE) $(AM_MAKEFLAGS) install-dvi install-ps install-pdf install-html
     73  @$(MAKE) $(AM_MAKEFLAGS) install-html
    10474
    10575uninstall-hook:
    10676  @$(NORMAL_UNINSTALL)
    107   rm -rf $(DESTDIR)$(htmldir)/html $(DESTDIR)$(dvidir)/$(PACKAGE).dvi \
    108   $(DESTDIR)$(psdir)/$(PACKAGE).ps $(DESTDIR)$(pdfdir)/$(PACKAGE).pdf
     77  rm -rf $(DESTDIR)$(htmldir)/html
    10978
    11079installdirs-local:
     
    12897  fi
    12998
    130 install-dvi-local:
    131   @if test -f "$(PACKAGE).dvi"; then \
    132     test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)";\
    133     $(INSTALL_DATA) $(PACKAGE).dvi "$(DESTDIR)$(dvidir)/$(PACKAGE).dvi"; \
    134     echo "$(INSTALL_DATA) $(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi";\
    135   fi
    136 
    137 install-ps-local:
    138   @if test -f "$(PACKAGE).ps"; then \
    139     test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)";\
    140     $(INSTALL_DATA) $(PACKAGE).ps "$(DESTDIR)$(psdir)/$(PACKAGE).ps"; \
    141     echo "$(INSTALL_DATA) $(PACKAGE).ps $(DESTDIR)$(psdir)/$(PACKAGE).ps";\
    142   fi
    143 
    144 install-pdf-local:
    145   @if test -f "$(PACKAGE).pdf"; then \
    146     test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)";\
    147     $(INSTALL_DATA) $(PACKAGE).pdf "$(DESTDIR)$(pdfdir)/$(PACKAGE).pdf"; \
    148     echo "$(INSTALL_DATA) $(PACKAGE).pdf $(DESTDIR)$(pdfdir)/$(PACKAGE).pdf";\
    149   fi
    150 
    151 
    15299mostlyclean-local:
    153100  rm -f doxygen.error *~
    154101
    155102clean-local:
    156   rm -rf $(PACKAGE).dvi $(PACKAGE).ps $(PACKAGE).pdf $(DX_HTML_OUTPUT) \
    157   $(DX_LATEX_OUTPUT) stamp-doxygen
     103  rm -rf $(DX_HTML_OUTPUT)
    158104
    159105FORCE:
Note: See TracChangeset for help on using the changeset viewer.