[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KDE/kde-common/admin
From: Adriaan de Groot <groot () kde ! org>
Date: 2006-03-17 13:32:01
Message-ID: 1142602321.033853.2909.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 519547 by adridg:
DOX: The 'apidox' and similar targets have been broken with unsermake for \
considerable time in trunk/ ; the right way to generate apidox is to call the \
doxygen.sh script by hand (doxygen.sh $(top_srcdir) will do the trick) or from other \
tools. Remove the broken logic behind the targets, but leave them in with a warning \
message. For CMake this wasn't supported anyway.
CCMAIL: kde-devel@kde.org
CCMAIL: kde-core-devel@kde.org
M +7 -90 Doxyfile.am
--- trunk/KDE/kde-common/admin/Doxyfile.am #519546:519547
@@ -1,102 +1,19 @@
-## generate API documentation with doxygen
-apidox-am-yes:
- @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$DOXDATA" ; then \
- export DOXDATA=$(kde_libs_htmldir)/en/common ; \
- fi ; \
- abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
- test -d $(top_builddir)/apidocs || \
- ( cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
- --no-modulename --installdir=$(kde_libs_htmldir)/en \
- --no-recurse $(abs_top_srcdir) . ) ; \
- cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
- --recurse --no-modulename --installdir=$(kde_libs_htmldir)/en \
- $$abs_top_srcdir $(subdir)
-
-apidox-am-toplevel-yes:
- @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$ADMIN" ; then \
- export DOXDATA=$(kde_libs_htmldir)/en/common ; \
- fi ; \
- abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
- cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
- --no-modulename --installdir=$(kde_libs_htmldir)/en \
- $$abs_top_srcdir
-
-## Don't generate API documentation without doxygen
-apidox-am-no:
-
-apidox-am-toplevel-no:
-
-
apidox:
- @if test "$(subdir)" != "."; then \
- $(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
- else \
- $(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
- fi
+ @echo Building APIDOX with 'make apidox' is deprecated.
+ false
-
-
-install-data-local: install-apidox
-
-## install API documentation
install-apidox:
- @if test "$(subdir)" != "."; then \
- $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
- if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
- echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag \
$(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
- $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag \
$(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
- fi; \
- if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
- list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
- echo "installing $(top_builddir)/apidocs/$(subdir)/html" ;\
- for file in $$list; do \
- $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file \
$(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
- done; \
- fi; \
- else\
- if test -d $(top_builddir)/apidocs; then \
- $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
- list=`cd $(top_builddir)/apidocs && ls -1`; \
- echo "installing $(top_builddir)/apidocs/$$file" ;\
- echo "target directory $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs" ; \
- for file in $$list; do \
- if test -f $(top_builddir)/apidocs/$$file; then \
- $(INSTALL_DATA) $(top_builddir)/apidocs/$$file \
$(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
- fi; \
- done ; fi; \
- fi
+ @echo Building APIDOX with 'make apidox' is deprecated.
+ false
-uninstall-local: uninstall-apidox
-
-## uninstall API documentation
uninstall-apidox:
- @if test "$(subdir)" != "."; then \
- if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
- rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
- fi\
- else\
- if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
- rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
- fi\
- fi
+ @echo Building APIDOX with 'make apidox' is deprecated.
+ false
-install-apidox-recurse: install-apidox
- @set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
- list='$(SUBDIRS)'; \
- for subdir in $$list; do \
- if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am > /dev/null ; then \
\
- echo "Installing apidox from $$subdir"; \
- if test "$$subdir" != "."; then \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no install-apidox-recurse) \
|| exit 1; \
- fi ; fi ;\
- done; \
- fi
+.PHONY: install-apidox uninstall-apidox apidox
-.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
-
-
# Local Variables:
# mode: makefile
# End:
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic