summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-23 17:36:24 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-23 17:36:24 +0100
commitfe5981ca2b90978c75d3308b0f58844fabf8ea4d (patch)
tree2a3e591fc3cc703d958f61eac136297eed8d651a
parent7ef26213b5b3b46444f87a603ee3bb5c6381a56a (diff)
downloaddbus-python-fe5981ca2b90978c75d3308b0f58844fabf8ea4d.tar.gz
Make the API docs build correctly when out-of-tree
-rw-r--r--Makefile.am5
-rw-r--r--NEWS2
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index cd029e8..9bb1d82 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,10 @@ api api/index.html: $(nobase_python_PYTHON) \
_dbus_glib_bindings/_dbus_glib_bindings.la
rm -rf api
mkdir api
- PYTHONPATH=$(APIDOC_PYTHONPATH) DBUS_PYTHON_NO_DEPRECATED=1 $(PYTHON) -Wignore::DeprecationWarning $(EPYDOC) -o api --html \
+ cd $(abs_top_srcdir) && \
+ PYTHONPATH=$(APIDOC_PYTHONPATH) DBUS_PYTHON_NO_DEPRECATED=1 \
+ $(PYTHON) -Wignore::DeprecationWarning \
+ $(EPYDOC) -o $(abs_top_builddir)/api --html \
--docformat restructuredtext -v \
`find dbus -name '*.py' | grep -v dbus_bindings \
| sed -e 's#/__init__\.py##g' \
diff --git a/NEWS b/NEWS
index a6a08f0..b0fe015 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ Fixes:
* Make multiple filters added by Connection.add_message_filter work
(fd.o #15547, thanks to Huang Peng).
+* Make the API docs build correctly when out-of-tree
+
* Require dbus 1.0 so we can get rid of DBUS_API_SUBJECT_TO_CHANGE
D-Bus Python Bindings 0.82.4 (2007-12-10)