From 0763357e39d140b068ee9838a5da08be75426d9f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 20 Sep 2016 19:58:00 +0200 Subject: 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 --- lang/python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/Makefile.am') diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index da626d1b..897c2a6d 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -25,7 +25,7 @@ EXTRA_DIST = \ examples \ pyme -SUBDIRS = tests +SUBDIRS = . tests COPY_FILES = \ $(srcdir)/gpgme.i \ -- cgit v1.2.3