Changeset 3474 for ThirdParty/FilterSQP


Ignore:
Timestamp:
Mar 18, 2015 12:25:06 AM (4 years ago)
Author:
tkr
Message:

Re-running the autotools after adding doxygen targets

File:
1 edited

Legend:

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

    r3100 r3474  
    276276# Files that are generated and should be cleaned with make distclean
    277277DISTCLEANFILES = $(am__append_2) $(VPATH_DISTCLEANFILES)
    278 DocFiles = README AUTHORS LICENSE
     278DocFiles = README AUTHORS LICENSE 
    279279DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
     280COIN_HAS_DOXYGEN = @COIN_HAS_DOXYGEN_TRUE@TRUE
     281COIN_HAS_LATEX = @COIN_HAS_LATEX_TRUE@TRUE
    280282all: all-am
    281283
     
    702704        @echo "No test available for FilterSQP."
    703705
    704 install-doc: $(DocFiles)
     706doxygen-docs:
     707        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     708          if test -d "doxydoc/"; then \
     709            doxygen doxydoc/doxygen.conf;\
     710          fi;\
     711          if test -d "doxydoc/latex"; then \
     712            if test "$(COIN_HAS_LATEX)" = TRUE; then \
     713              cd doxydoc/latex;\
     714              make pdf;\
     715              cd -;\
     716            fi;\
     717          fi;\
     718        fi
     719
     720clean-doxygen-docs:
     721        if test -d "doxydoc/"; then \
     722          cd doxydoc ;\
     723          rm -rf html latex *.log *.tag;\
     724        fi
     725
     726install-doxygen-docs: doxygen-docs
     727        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     728          if test -d "doxydoc/"; then \
     729            $(INSTALL_DATA) @coin_doxy_tagname@ "$(DESTDIR)$(DocInstallDir)/@coin_doxy_tagname@";\
     730            test -d "$(DocInstallDir)/doxydoc" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc"; \
     731            if test -f "doxydoc/latex/refman.pdf"; then \
     732              $(INSTALL_DATA) doxydoc/latex/refman.pdf "$(DESTDIR)$(DocInstallDir)";\
     733            fi;\
     734            if test -d "doxydoc/html"; then \
     735              test -d "$(DocInstallDir)/doxydoc/search/" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc/search/"; \
     736              $(INSTALL_DATA) doxydoc/html/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc";\
     737              $(INSTALL_DATA) doxydoc/html/search/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc/search";\
     738            fi;\
     739          fi;\
     740        fi
     741
     742uninstall-doxygen-docs:
     743        if test -d "$(DESTDIR)$(DocInstallDir)/doxydoc/"; then \
     744          rm -rf "$(DESTDIR)$(DocInstallDir)/doxydoc/"; \
     745        fi
     746        if test -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; then \
     747          rm -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; \
     748        fi
     749
     750install-doc: $(DocFiles)
    705751        test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
    706752        for file in $(DocFiles); do \
    707753          if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
    708754          if test -f "$$dir$$file"; then $(INSTALL_DATA) "$$dir$$file" "$(DESTDIR)$(DocInstallDir)/$$file"; fi; \
    709         done
     755        done 
    710756
    711757uninstall-doc:
Note: See TracChangeset for help on using the changeset viewer.