~noskcaj/ubuntu/trusty/gpgme1.0/1.4.3

« back to all changes in this revision

Viewing changes to tests/gpg/Makefile.in

  • Committer: Jackson Doak
  • Date: 2013-10-23 07:02:39 UTC
  • mfrom: (13.1.1 sid)
  • Revision ID: noskcaj@ubuntu.com-20131023070239-bbtonk3q5jdsnamr
* Merge from debian unstable. Remaining changes:
  - debian/rules: Switch back to using /usr/bin/gpg and add back gnupg build
    dependency, as we don't install gnupg2 by default. This was missing in the
    previous upload, and unbreaks nautilus-dropbox, seahorse, bzr, and other
    libgpgme consumers.
  - debian/control: Depends on "gnupg | gnupg2" rather than gnupg2,
    default to the old version since the new one depends on gpg-agent, 
    pinentry-gtk2, and a bunch of other packages we don't need/want in the
    default installation
* NMU
* New upstream release.
* debian/control (Build-Depends): Dropped dirmngr (closes: #712813). It is
  not necessary for the build.
  (Vcs-Browser, Vcs-Svn): Fixed vcs-field-not-canonical.
* debian/libgpgme11.symbols: Updated symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
# Copyright (C) 2000 Werner Koch (dd9jn)
19
19
# Copyright (C) 2001, 2004, 2005, 2009 g10 Code GmbH
20
 
 
20
#
21
21
# This file is part of GPGME.
22
 
 
22
#
23
23
# GPGME is free software; you can redistribute it and/or modify it
24
24
# under the terms of the GNU Lesser General Public License as
25
25
# published by the Free Software Foundation; either version 2.1 of the
26
26
# License, or (at your option) any later version.
27
 
 
27
#
28
28
# GPGME is distributed in the hope that it will be useful, but WITHOUT
29
29
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30
30
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
31
31
# Public License for more details.
32
 
 
32
#
33
33
# You should have received a copy of the GNU Lesser General Public
34
34
# License along with this program; if not, write to the Free Software
35
35
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
71
71
POST_UNINSTALL = :
72
72
build_triplet = @build@
73
73
host_triplet = @host@
74
 
TESTS = t-encrypt$(EXEEXT) t-encrypt-sym$(EXEEXT) \
75
 
        t-encrypt-sign$(EXEEXT) t-sign$(EXEEXT) t-signers$(EXEEXT) \
76
 
        t-decrypt$(EXEEXT) t-verify$(EXEEXT) t-decrypt-verify$(EXEEXT) \
77
 
        t-sig-notation$(EXEEXT) t-export$(EXEEXT) t-import$(EXEEXT) \
78
 
        t-trustlist$(EXEEXT) t-edit$(EXEEXT) t-keylist$(EXEEXT) \
79
 
        t-keylist-sig$(EXEEXT) t-wait$(EXEEXT) \
80
 
        t-encrypt-large$(EXEEXT) t-file-name$(EXEEXT) \
81
 
        t-gpgconf$(EXEEXT) $(am__EXEEXT_1)
 
74
TESTS = initial.test $(am__EXEEXT_2) final.test
82
75
noinst_PROGRAMS = $(am__EXEEXT_2) t-genkey$(EXEEXT)
83
76
subdir = tests/gpg
84
77
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
388
381
top_build_prefix = @top_build_prefix@
389
382
top_builddir = @top_builddir@
390
383
top_srcdir = @top_srcdir@
391
 
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) GPG_AGENT_INFO=
 
384
GPG_AGENT = @GPG_AGENT@
 
385
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) LC_ALL=C GPG_AGENT_INFO=
392
386
 
393
387
# The keylist tests must come after the import and the edit test.
394
388
noinst_HEADERS = t-support.h
395
389
@HAVE_W32_SYSTEM_FALSE@tests_unix = t-eventloop t-thread1
396
390
@HAVE_W32_SYSTEM_TRUE@tests_unix = 
 
391
c_tests = \
 
392
        t-encrypt t-encrypt-sym t-encrypt-sign t-sign t-signers         \
 
393
        t-decrypt t-verify t-decrypt-verify t-sig-notation t-export     \
 
394
        t-import t-trustlist t-edit t-keylist t-keylist-sig t-wait      \
 
395
        t-encrypt-large t-file-name t-gpgconf $(tests_unix)
 
396
 
397
397
CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
398
398
        gpg-agent.conf pubring.kbx~ S.gpg-agent gpg.conf pubring.gpg~ \
399
 
        random_seed
400
 
 
401
 
EXTRA_DIST = pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \
402
 
        geheim.txt pubkey-1.asc seckey-1.asc pinentry
 
399
        random_seed S.gpg-agent
 
400
 
 
401
private_keys = \
 
402
        13CD0F3BDF24BE53FE192D62F18737256FF6E4FD \
 
403
        76F7E2B35832976B50A27A282D9B87E44577EB66 \
 
404
        A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD \
 
405
        13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F \
 
406
        7A030357C0F253A5BBCD282FFC4E521B37558F5C
 
407
 
 
408
EXTRA_DIST = start-stop-agent initial.test final.test \
 
409
        pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \
 
410
        geheim.txt pubkey-1.asc seckey-1.asc pinentry $(private_keys)
403
411
 
404
412
INCLUDES = -I$(top_builddir)/src
405
413
AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
871
879
 
872
880
 
873
881
clean-local:
874
 
        -gpg-connect-agent KILLAGENT /bye
 
882
        -$(srcdir)/start-stop-agent --stop
875
883
        -rm -fR private-keys-v1.d
876
884
 
877
 
all-local: ./gpg.conf ./gpg-agent.conf ./pubring.gpg 
 
885
all-local: ./gpg.conf ./gpg-agent.conf ./pubring.gpg \
 
886
           ./private-keys-v1.d/gpg-sample.stamp
878
887
 
879
888
export GNUPGHOME := $(abs_builddir)
880
889
 
881
 
export GPG_AGENT_INFO := 
 
890
export GPG_AGENT_INFO :=
 
891
 
 
892
./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
 
893
        test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
 
894
        for k in $(private_keys); do \
 
895
          cp $(srcdir)/$$k private-keys-v1.d/$$k.key; \
 
896
        done
 
897
        echo x > ./private-keys-v1.d/gpg-sample.stamp
882
898
 
883
899
./pubring.gpg: $(srcdir)/pubdemo.asc
884
900
        -$(GPG) --no-permission-warning \