Changeset 3469


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

Re-running the autotools after adding doxygen targets

File:
1 edited

Legend:

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

    r3129 r3469  
    307307# Files that are generated and should be cleaned with make distclean
    308308DISTCLEANFILES = $(am__append_5) $(VPATH_DISTCLEANFILES)
    309 DocFiles = README AUTHORS LICENSE
     309DocFiles = README AUTHORS LICENSE 
    310310DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
     311COIN_HAS_DOXYGEN = @COIN_HAS_DOXYGEN_TRUE@TRUE
     312COIN_HAS_LATEX = @COIN_HAS_LATEX_TRUE@TRUE
    311313all: all-am
    312314
     
    751753        @echo "No test available for ASL."
    752754
    753 install-doc: $(DocFiles)
     755doxygen-docs:
     756        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     757          if test -d "doxydoc/"; then \
     758            doxygen doxydoc/doxygen.conf;\
     759          fi;\
     760          if test -d "doxydoc/latex"; then \
     761            if test "$(COIN_HAS_LATEX)" = TRUE; then \
     762              cd doxydoc/latex;\
     763              make pdf;\
     764              cd -;\
     765            fi;\
     766          fi;\
     767        fi
     768
     769clean-doxygen-docs:
     770        if test -d "doxydoc/"; then \
     771          cd doxydoc ;\
     772          rm -rf html latex *.log *.tag;\
     773        fi
     774
     775install-doxygen-docs: doxygen-docs
     776        if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
     777          if test -d "doxydoc/"; then \
     778            $(INSTALL_DATA) @coin_doxy_tagname@ "$(DESTDIR)$(DocInstallDir)/@coin_doxy_tagname@";\
     779            test -d "$(DocInstallDir)/doxydoc" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc"; \
     780            if test -f "doxydoc/latex/refman.pdf"; then \
     781              $(INSTALL_DATA) doxydoc/latex/refman.pdf "$(DESTDIR)$(DocInstallDir)";\
     782            fi;\
     783            if test -d "doxydoc/html"; then \
     784              test -d "$(DocInstallDir)/doxydoc/search/" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc/search/"; \
     785              $(INSTALL_DATA) doxydoc/html/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc";\
     786              $(INSTALL_DATA) doxydoc/html/search/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc/search";\
     787            fi;\
     788          fi;\
     789        fi
     790
     791uninstall-doxygen-docs:
     792        if test -d "$(DESTDIR)$(DocInstallDir)/doxydoc/"; then \
     793          rm -rf "$(DESTDIR)$(DocInstallDir)/doxydoc/"; \
     794        fi
     795        if test -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; then \
     796          rm -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; \
     797        fi
     798
     799install-doc: $(DocFiles)
    754800        test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
    755801        for file in $(DocFiles); do \
    756802          if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
    757803          if test -f "$$dir$$file"; then $(INSTALL_DATA) "$$dir$$file" "$(DESTDIR)$(DocInstallDir)/$$file"; fi; \
    758         done
     804        done 
    759805
    760806uninstall-doc:
Note: See TracChangeset for help on using the changeset viewer.