# NOTES: # This Makefile.am relies on $(htmlhelpdir) being AC_SUBST'ed into place... if BUILD_HTMLHELP # ************************************************************************** # build trickery $(top_builddir)/docs/coin.doxygen: $(top_srcdir)/docs/coin.doxygen.in $(top_builddir)/config.status @( cd $(top_builddir); $(MAKE) docs/coin.doxygen ) Coin-@COIN_MAJOR_VERSION@.chm: $(top_builddir)/docs/coin.doxygen @( cd ..; \ echo " $(sim_ac_doxygen_exe) docs/coin.doxygen"; \ "$(sim_ac_doxygen_exe)" docs/coin.doxygen ) all-local: Coin-@COIN_MAJOR_VERSION@.chm # ************************************************************************** # install trickery # - uninstall after "make clean" will regenerate docs - ought to be fixed install-data-local: install-htmlhelp uninstall-local: uninstall-htmlhelp if MAC_FRAMEWORK # install-htmlhelp: filelist.txt # @$(NORMAL_INSTALL) # $(mkinstalldirs) "$(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Documentation" # @echo " ln -sf Versions/Current/Documentation $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Documentation"; \ # ln -sf Versions/Current/Documentation "$(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Documentation" # @destdir="$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Documentation"; \ # list="`cat filelist.txt`"; \ # for file in $$list; do \ # echo " $(INSTALL_DATA) $$file $(DESTDIR)$$destdir/$$file"; \ # $(INSTALL_DATA) $$file "$(DESTDIR)$$destdir/$$file"; \ # done # uninstall-html: filelist.txt # @$(NORMAL_UNINSTALL) # @destdir="$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Documentation"; \ # list="`cat filelist.txt`"; \ # for file in $$list; do \ # echo " rm -f $(DESTDIR)$(destdir)/$$file"; \ # rm -f "$(DESTDIR)$(destdir)/$$file"; \ # done # @echo " rmdir $(DESTDIR)$(destdir)"; \ # rmdir $(DESTDIR)$(destdir) 2>/dev/null; \ # : else install-htmlhelp: Coin-@COIN_MAJOR_VERSION@.chm @$(NORMAL_INSTALL) @if test -d $(DESTDIR)/$(htmlhelpdir); then :; else \ echo " $(mkinstalldirs) $(DESTDIR)$(htmlhelpdir)"; \ $(mkinstalldirs) $(DESTDIR)$(htmlhelpdir); \ fi for file in Coin-@COIN_MAJOR_VERSION@.chm; do \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(htmlhelpdir)/$$file"; \ $(INSTALL_DATA) $$file "$(DESTDIR)$(htmlhelpdir)/$$file"; \ done uninstall-htmlhelp: Coin-@COIN_MAJOR_VERSION@.chm @$(NORMAL_UNINSTALL) for file in Coin-@COIN_MAJOR_VERSION@.chm; do \ echo " rm -f $(DESTDIR)$(htmlhelpdir)/$$file"; \ rm -f "$(DESTDIR)$(htmlhelpdir)/$$file"; \ done @echo " rmdir $(DESTDIR)$(htmlhelpdir)"; \ rmdir $(DESTDIR)$(htmlhelpdir) 2>/dev/null; \ : endif endif # IRIX make barfs if clean-local is moved inside the conditional clause. # Automake bug? 20011025 larsa clean-local: @if test -f Coin-@COIN_MAJOR_VERSION@.chm.txt; then \ echo " rm Coin-@COIN_MAJOR_VERSION@.chm"; \ rm Coin-@COIN_MAJOR_VERSION@.chm; \ fi