summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-07-23 11:26:47 +0100
committerSimon McVittie <smcv@collabora.com>2019-07-23 11:29:22 +0100
commit5c8520fc9972e807587278dfa2de636116d7ca9d (patch)
tree31c6b3b886aad244f46a9ff239fb5b9b53411671
parentb24fd92dcaac567568641df0490acac334dd94c9 (diff)
downloaddbus-python-5c8520fc9972e807587278dfa2de636116d7ca9d.tar.gz
uninstall: Delete dbus/__pycache__
This fixes distcheck on python3.7. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7057a99..265a53d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -410,8 +410,13 @@ EXTRA_DIST += \
$(NULL)
install-data-local: install-data-local-sphinx
+uninstall-local: uninstall-local-pycache
uninstall-local: uninstall-local-sphinx
+uninstall-local-pycache:
+ rm -fr $(DESTDIR)$(pythondir)/dbus/__pycache__
+ rm -fr $(DESTDIR)$(pythondir)/dbus/mainloop/__pycache__
+
if ENABLE_DOCUMENTATION
all: doc/_build/.stamp