python: Fix making speechd.client loadable with out-of-source builds
diff --git a/src/api/python/speechd/Makefile.am b/src/api/python/speechd/Makefile.am index bb86bf8..08407c1 100644 --- a/src/api/python/speechd/Makefile.am +++ b/src/api/python/speechd/Makefile.am
@@ -32,6 +32,8 @@ srcdir=; \ test -f ./$@.in || srcdir=$(srcdir)/; \ $(edit) $${srcdir}$@.in > $@ + test -f client.py || ln -s $(srcdir)/client.py . + test -f __init__.py || ln -s $(srcdir)/__init__.py . paths.py: $(srcdir)/paths.py.in @@ -39,4 +41,7 @@ EXTRA_DIST = paths.py.in +clean-local: + rm -fr __pycache__ + -include $(top_srcdir)/git.mk