diff options
author | Simon McVittie <smcv@collabora.com> | 2018-05-02 12:38:05 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-05-02 12:43:43 +0100 |
commit | 5421e3703ca98ba278f67cab133e030949b01997 (patch) | |
tree | 8f34df9cadf16e4dee52108e335cc6ef9d657029 | |
parent | 9dbabdb569c949bd319a294c822d945dfe18bfa4 (diff) |
Fix distcheck
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 8d4eb6d..fd510de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,7 @@ EXTRA_DIST = \ COPYING \ ChangeLog \ dbus-python.pc.in \ + doc/_static/.gitignore \ examples/example-async-client.py \ examples/example-client.py \ examples/example-service.py \ @@ -455,14 +456,13 @@ doc/_build/stamp: $(nobase_python_PYTHON) \ Makefile \ $(NULL) rm -rf doc/_build - mkdir doc/_build - cd $(abs_top_srcdir) && \ + $(MKDIR_P) doc/_build abs_top_srcdir='$(abs_top_srcdir)' \ abs_top_builddir='$(abs_top_builddir)' \ DBUS_PYTHON_NO_DEPRECATED=1 \ $(PYTHON) -m sphinx -b html $(abs_top_srcdir)/doc doc/_build DBUS_TOP_SRCDIR="$(abs_top_srcdir)" \ - $(PYTHON) doc/redirects.py + $(PYTHON) $(srcdir)/doc/redirects.py touch $@ _maintainer-update-apidocs: doc/_build/stamp @@ -474,6 +474,9 @@ _maintainer-update-apidocs: @echo "*** and configure with --enable-api-docs" endif +clean-local: + rm -rf doc/_build + check_c_sources = \ $(_dbus_bindings_la_SOURCES) \ $(_dbus_glib_bindings_la_SOURCES) \ |