diff options
author | Alon Bar-Lev <[email protected]> | 2017-04-07 14:32:18 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-10 12:42:10 +0000 |
commit | ebefc6cbf937d14ced65f7ded79c4ba901507d23 (patch) | |
tree | 445eb9bccb794d528bcddeaf2ca7b691918754ff /tests | |
parent | python: support .pydistutils.cfg mode (diff) | |
download | gpgme-ebefc6cbf937d14ced65f7ded79c4ba901507d23.tar.gz gpgme-ebefc6cbf937d14ced65f7ded79c4ba901507d23.zip |
tests: Do not use check-local magic as dependency
* tests/gpg/Makefile.am: Use BUILT_SOURCES instead of check-local
and initial.test.
* lang/qt/tests/Makefile.am: Ditto.
--
This fixes "make dist" failure when source tree is clean:
git clean -dxf
autoreconf -ivf
./configure
make dist
BUILT_SOURCES should be used when file as generated without explicit
dependency. The check-local is all-am dependency, this means that it
will be resolved also in "make dist".
Signed-off-by: Alon Bar-Lev <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gpg/Makefile.am | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index 9b74ba65..1d9a6dfe 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -60,6 +60,8 @@ EXTRA_DIST = initial.test final.test \ pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \ geheim.txt pubkey-1.asc seckey-1.asc pinentry $(private_keys) +BUILT_SOURCES = gpg.conf gpg-agent.conf pubring-stamp \ + private-keys-v1.d/gpg-sample.stamp AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ AM_LDFLAGS = -no-install LDADD = ../../src/libgpgme.la @@ -82,13 +84,6 @@ clean-local: -$(top_srcdir)/tests/start-stop-agent --stop -rm -fR private-keys-v1.d -check-local: ./gpg.conf ./gpg-agent.conf ./pubring-stamp \ - ./private-keys-v1.d/gpg-sample.stamp - -# To guarantee that check-local is run before any tests we -# add this dependency: -initial.test : check-local - export GNUPGHOME := $(abs_builddir) export GPG_AGENT_INFO := |