Shared admin folder
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.

Doxyfile.am 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ## generate API documentation with doxygen
  2. apidox-am-yes:
  3. @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$DOXDATA" ; then \
  4. export DOXDATA=$(kde_libs_htmldir)/en/common ; \
  5. fi ; \
  6. abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
  7. test -d $(top_builddir)/apidocs || \
  8. ( cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
  9. --no-modulename --installdir=$(kde_libs_htmldir)/en \
  10. --no-recurse $(abs_top_srcdir) . ) ; \
  11. cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
  12. --recurse --no-modulename --installdir=$(kde_libs_htmldir)/en \
  13. $$abs_top_srcdir $(subdir)
  14. apidox-am-toplevel-yes:
  15. @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$ADMIN" ; then \
  16. export DOXDATA=$(kde_libs_htmldir)/en/common ; \
  17. fi ; \
  18. abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
  19. cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
  20. --no-modulename --installdir=$(kde_libs_htmldir)/en \
  21. $$abs_top_srcdir
  22. ## Don't generate API documentation without doxygen
  23. apidox-am-no:
  24. apidox-am-toplevel-no:
  25. apidox:
  26. @if test "$(subdir)" != "."; then \
  27. $(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
  28. else \
  29. $(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
  30. fi
  31. install-data-local: install-apidox
  32. ## install API documentation
  33. install-apidox:
  34. @if test "$(subdir)" != "."; then \
  35. $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
  36. if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
  37. echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
  38. $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
  39. fi; \
  40. if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
  41. list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
  42. echo "installing $(top_builddir)/apidocs/$(subdir)/html" ;\
  43. for file in $$list; do \
  44. $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
  45. done; \
  46. fi; \
  47. else\
  48. if test -d $(top_builddir)/apidocs; then \
  49. $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
  50. list=`cd $(top_builddir)/apidocs && ls -1`; \
  51. echo "installing $(top_builddir)/apidocs/$$file" ;\
  52. echo "target directory $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs" ; \
  53. for file in $$list; do \
  54. if test -f $(top_builddir)/apidocs/$$file; then \
  55. $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
  56. fi; \
  57. done ; fi; \
  58. fi
  59. uninstall-local: uninstall-apidox
  60. ## uninstall API documentation
  61. uninstall-apidox:
  62. @if test "$(subdir)" != "."; then \
  63. if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
  64. rm -rf $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
  65. fi \
  66. else \
  67. if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
  68. rm -rf $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
  69. fi \
  70. fi
  71. install-apidox-recurse: install-apidox
  72. @set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
  73. list='$(SUBDIRS)'; \
  74. for subdir in $$list; do \
  75. if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am > /dev/null ; then \
  76. echo "Installing apidox from $$subdir"; \
  77. if test "$$subdir" != "."; then \
  78. (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no install-apidox-recurse) || exit 1; \
  79. fi ; fi ;\
  80. done; \
  81. fi
  82. .PHONY: apidox-am-yes apidox-am-no install-data-local install-apidox install-apidox uninstall-local uninstall-apidox uninstall-apidox apidox apidox-am-toplevel-no apidox-am-toplevel-yes
  83. # Local Variables:
  84. # mode: makefile
  85. # End: