Change all http://www.gnu.org in license notices to https://
[gnupg.git] / tests / migrations / Makefile.am
1 # Makefile.am - For tests/openpgp
2 # Copyright (C) 2016 g10 Code GmbH
3 #
4 # This file is part of GnuPG.
5 #
6 # GnuPG is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
18 # Process this file with automake to create Makefile.in
19
20
21 # Programs required before we can run these tests.
22 required_pgms = ../../g10/gpg$(EXEEXT) ../../agent/gpg-agent$(EXEEXT) \
23         ../../tools/gpgtar$(EXEEXT)
24
25 AM_CPPFLAGS = -I$(top_srcdir)/common
26 include $(top_srcdir)/am/cmacros.am
27
28 AM_CFLAGS =
29
30 TMP ?= /tmp
31
32 TESTS_ENVIRONMENT = GPG_AGENT_INFO= LC_ALL=C \
33         PATH=../gpgscm:$(PATH) \
34         TMP=$(TMP) \
35         GPGSCM_PATH=$(top_srcdir)/tests/gpgscm:$(top_srcdir)/tests/migrations
36
37 TESTS = from-classic.scm \
38         extended-pkf.scm \
39         issue2276.scm
40
41 TEST_FILES = from-classic.tar.asc \
42              extended-pkf.tar.asc \
43              issue2276.tar.asc
44
45 EXTRA_DIST = common.scm $(TESTS) $(TEST_FILES)
46
47 CLEANFILES = prepared.stamp x y yy z out err  $(data_files) \
48              plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
49              *.test.log gpg_dearmor gpg.conf gpg-agent.conf S.gpg-agent \
50              pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
51              secring.gpg pubring.pkr secring.skr \
52              gnupg-test.stop random_seed gpg-agent.log tofu.db
53
54 clean-local:
55         -rm -rf from-classic.gpghome/*.gpg
56
57 # We need to depend on a couple of programs so that the tests don't
58 # start before all programs are built.
59 all-local: $(required_pgms)