Changeset 3470


Ignore:
Timestamp:
Mar 18, 2015 12:24:58 AM (5 years ago)
Author:
tkr
Message:

Re-running the autotools after adding doxygen targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/Makefile.in

    r3140 r3470  
    333333# Files that are generated and should be cleaned with make distclean
    334334DISTCLEANFILES = $(MAKEOKFILE) $(am__append_2) $(VPATH_DISTCLEANFILES)
    335 DocFiles = README AUTHORS LICENSE
     335DocFiles = README AUTHORS LICENSE 
    336336DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
     337COIN_HAS_DOXYGEN = @COIN_HAS_DOXYGEN_TRUE@TRUE
     338COIN_HAS_LATEX = @COIN_HAS_LATEX_TRUE@TRUE
    337339all: all-am
    338340
     
    729731        @echo "No test available for Blas."
    730732
    731 install-doc: $(DocFiles)
     733doxygen-docs:
     734        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     735          if test -d "doxydoc/"; then \
     736            doxygen doxydoc/doxygen.conf;\
     737          fi;\
     738          if test -d "doxydoc/latex"; then \
     739            if test "$(COIN_HAS_LATEX)" = TRUE; then \
     740              cd doxydoc/latex;\
     741              make pdf;\
     742              cd -;\
     743            fi;\
     744          fi;\
     745        fi
     746
     747clean-doxygen-docs:
     748        if test -d "doxydoc/"; then \
     749          cd doxydoc ;\
     750          rm -rf html latex *.log *.tag;\
     751        fi
     752
     753install-doxygen-docs: doxygen-docs
     754        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     755          if test -d "doxydoc/"; then \
     756            $(INSTALL_DATA) @coin_doxy_tagname@ "$(DESTDIR)$(DocInstallDir)/@coin_doxy_tagname@";\
     757            test -d "$(DocInstallDir)/doxydoc" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc"; \
     758            if test -f "doxydoc/latex/refman.pdf"; then \
     759              $(INSTALL_DATA) doxydoc/latex/refman.pdf "$(DESTDIR)$(DocInstallDir)";\
     760            fi;\
     761            if test -d "doxydoc/html"; then \
     762              test -d "$(DocInstallDir)/doxydoc/search/" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc/search/"; \
     763              $(INSTALL_DATA) doxydoc/html/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc";\
     764              $(INSTALL_DATA) doxydoc/html/search/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc/search";\
     765            fi;\
     766          fi;\
     767        fi
     768
     769uninstall-doxygen-docs:
     770        if test -d "$(DESTDIR)$(DocInstallDir)/doxydoc/"; then \
     771          rm -rf "$(DESTDIR)$(DocInstallDir)/doxydoc/"; \
     772        fi
     773        if test -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; then \
     774          rm -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; \
     775        fi
     776
     777install-doc: $(DocFiles)
    732778        test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
    733779        for file in $(DocFiles); do \
    734780          if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
    735781          if test -f "$$dir$$file"; then $(INSTALL_DATA) "$$dir$$file" "$(DESTDIR)$(DocInstallDir)/$$file"; fi; \
    736         done
     782        done 
    737783
    738784uninstall-doc:
Note: See TracChangeset for help on using the changeset viewer.