aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-30 11:41:41 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-30 12:33:02 +0100
commit73d0cd4af1cb18c13f697b8486b773ed5c9412d9 (patch)
tree9b6b7c99d0212269719caeef06040069dea258e7
parent8c633c6a6baf8a308bd82ec9b9a167a81ab35698 (diff)
downloadpaludis-73d0cd4af1cb18c13f697b8486b773ed5c9412d9.tar.gz
paludis-73d0cd4af1cb18c13f697b8486b773ed5c9412d9.tar.xz
Don't clobber LD_LIBRARY_PATH
-rw-r--r--doc/api/python/Makefile.am14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/api/python/Makefile.am b/doc/api/python/Makefile.am
index 05391f4..d01e5e2 100644
--- a/doc/api/python/Makefile.am
+++ b/doc/api/python/Makefile.am
@@ -24,14 +24,12 @@ python : $(top_builddir)/python/paludis.so epydoc.css python_syntax.css create_p
rm -fr python
mkdir python
env \
- LD_LIBRARY_PATH=`echo "\`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/util/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/environments/paludis/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/environments/no_config/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/e/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/fake/.libs\`: \
- \`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/python/.libs\`" \
- | tr -d ' '` \
+ LD_LIBRARY_PATH="`echo $$LD_LIBRARY_PATH: | sed -e 's,^:,,'`` \
+ $(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/.libs/ \
+ `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/util/.libs/ \
+ `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/ruby/.libs/ \
+ `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/python/.libs/ \
+ `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/e/.libs/`" \
PYTHONPATH="./.libs" \
epydoc --name Paludis -o python --url http://paludis.pioto.org --no-frames --css $(srcdir)/epydoc.css \
$(top_builddir)/python/paludis.so