[PATCH evemu 14/16] python: explicitly specify file lists
Benjamin Tissoires
benjamin.tissoires at gmail.com
Tue Aug 12 10:48:54 PDT 2014
On Mon, Aug 11, 2014 at 9:34 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Don't use a wildcard, avoids accidentally shipping files we shouldn't, and
> clearly lists what we intend to ship.
Can you rebase this one (and the other ones I did not took) over the
new master branch?
I applied part of Peter Seiderer patches, and they conflict with this one.
I prefer you to rebase it in case I messed up with what need to be
properly done.
Cheers,
Benjamin
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> python/Makefile.am | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/python/Makefile.am b/python/Makefile.am
> index 20e50f0..1725ed4 100644
> --- a/python/Makefile.am
> +++ b/python/Makefile.am
> @@ -19,7 +19,21 @@
> SUBDIRS = evemu
>
> nobase_python_PYTHON = \
> - $(wildcard evemu/*.py)
> + evemu/__init__.py \
> + evemu/base.py \
> + evemu/const.py \
> + evemu/exception.py \
> + evemu/event_names.py # generated!
> +
> +test_sources = \
> + evemu/testing/__init__.py \
> + evemu/testing/mocker.py \
> + evemu/testing/result.py \
> + evemu/testing/runner.py \
> + evemu/testing/testcase.py \
> + evemu/tests/__init__.py \
> + evemu/tests/test_base.py \
> + evemu/tests/test_device.py
>
> check_SCRIPTS = evemu-test-runner
>
> @@ -35,5 +49,5 @@ evemu-test-runner: evemu-test-runner.in Makefile
> chmod +x $@
>
> BUILT_SOURCES = evemu-test-runner
> -EXTRA_DIST = evemu-test-runner.in $(wildcard evemu/test*)
> +EXTRA_DIST = evemu-test-runner.in $(test_sources)
> CLEANFILES = $(BUILT_SOURCES)
> --
> 1.9.3
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools
More information about the Input-tools
mailing list