jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5KB

  1. ## Process this file with automake to produce Makefile.in
  2. MAINTAINERCLEANFILES=Makefile.in
  3. DOX=reference.doxygen
  4. EXTRA_DIST=
  5. DOC_STAMPS=html-build.stamp
  6. DOC_DIR=$(HTML_DIR)
  7. all-local: doxygen-build.stamp
  8. doxygen-build.stamp: $(DOX)
  9. @echo '*** Running doxygen ***'
  10. doxygen $(DOX)
  11. touch doxygen-build.stamp
  12. clean-local:
  13. rm -f *~ *.bak $(DOC_STAMPS) || true
  14. distclean-local: clean
  15. rm -f *.stamp || true
  16. if test -d reference; then rm -rf reference; fi
  17. install-data-local:
  18. $(mkinstalldirs) $(DOC_DIR)/reference/html
  19. (installfiles=`echo reference/html/*.html`; \
  20. if test "$$installfiles" = 'reference/html/*.html'; \
  21. then echo '-- Nothing to install' ; \
  22. else \
  23. for i in $$installfiles reference/html/doxygen.gif reference/html/doxygen.css; do \
  24. echo '-- Installing '$$i ; \
  25. $(INSTALL_DATA) $$i $(DOC_DIR)/reference/html; \
  26. done; \
  27. fi)
  28. # we need doxygen stuff built so we can know what to uninstall
  29. uninstall-local: doxygen-build.stamp
  30. (installfiles=`echo reference/html/*.html`; \
  31. if test "$$installfiles" = 'reference/html/*.html'; \
  32. then echo '-- Nothing to uninstall' ; \
  33. else \
  34. for i in $$installfiles reference/html/doxygen.gif reference/html/doxygen.css; do \
  35. echo '-- Unstalling '$$i ; \
  36. rm $(DOC_DIR)/$$i; \
  37. done; \
  38. fi)
  39. dist-hook: dist-hook-local
  40. mkdir $(distdir)/reference
  41. mkdir $(distdir)/reference/html
  42. -cp reference/html/*.html reference/html/*.css \
  43. reference/html/*.gif $(distdir)/reference/html
  44. .PHONY : dist-hook-local