kdevelop
Amilcar do Carmo Lucas
amilcar at ida.ing.tu-bs.de
Tue Jun 15 14:55:08 UTC 2004
CVS commit by aclu:
Support multiple KDEDIRS with "make apidox"
This allows building the latest KDevelop HEAD APIdox on a local user directory while using the stable installed KDELIBS APIdox from SuSE.
CCMAIL: mueller at kde.org
CCMAIL: kdevelop-devel at kdevelop.org
M +6 -1 Doxyfile.am 1.30
M +1 -0 kdevelop.m4.in 1.40
--- kdevelop/Doxyfile.am #1.29:1.30
@@ -98,5 +98,10 @@
path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../\1/$$tag,"` ;\
else \
- tagpath=/home/apidox/public/cvs-api/$$tag/$$tag.tag ;\
+ tagpath=`ls -1 $(kdelibs_doxydir)/$$tag/$$tag.tag 2> /dev/null` ;\
+ if test -n "$$tagpath"; then \
+ path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,$(kdelibs_doxydir)/$$tag,"` ;\
+ else \
+ tagpath=/home/apidox/public/cvs-api/$$tag/$$tag.tag ;\
+ fi ;\
fi ;\
fi ;\
--- kdevelop/kdevelop.m4.in #1.39:1.40
@@ -62,4 +62,5 @@
AC_DEFINE_UNQUOTED(KDELIBS_DOXYDIR, "$kdelibs_doxydir", [where KDE documentation is installed])
])
+AC_SUBST(kdelibs_doxydir)
More information about the KDevelop-devel
mailing list