tests: Make "make -j distcheck" work in Python.
authorWerner Koch <wk@gnupg.org>
Tue, 20 Sep 2016 17:58:00 +0000 (19:58 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 20 Sep 2016 17:58:00 +0000 (19:58 +0200)
commit0763357e39d140b068ee9838a5da08be75426d9f
tree223b1eab08c5c122c298e4c6fb2352bfbff5039d
parentbfb6890ded99f040fe8ecf910f927a136e4acfda
tests: Make "make -j distcheck" work in Python.

* lang/python/Makefile.am (SUBDIRS): Make current dir fist.
* lang/python/tests/Makefile.am (xcheck): Depend on pubring-stamp.
(CLEANFILES): Remove private-keys-v1.d/gpg-sample.stamp.
(check-local): Remove.
(initial.py): Remove dependency.
(./pubring-stamp): Depend on conf files and the
private-keys-v1.d/gpg-sample.stamp file.  Also replace use of
basename.

--

This addresses the problem that two rules might run the private keys
copy rule and due to the files being chmod -w during make discheck the
second process running that rule's cp would get a permission error.

Signed-off-by: Werner Koch <wk@gnupg.org>
lang/python/Makefile.am
lang/python/tests/Makefile.am