~ubuntu-branches/ubuntu/karmic/gnupg2/karmic-updates

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
6
6
# GnuPG is free software; you can redistribute it and/or modify
7
7
# it under the terms of the GNU General Public License as published by
8
 
# the Free Software Foundation; either version 2 of the License, or
 
8
# the Free Software Foundation; either version 3 of the License, or
9
9
# (at your option) any later version.
10
10
11
11
# GnuPG is distributed in the hope that it will be useful,
14
14
# GNU General Public License for more details.
15
15
16
16
# You should have received a copy of the GNU General Public License
17
 
# along with this program; if not, write to the Free Software
18
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
17
# along with this program; if not, see <http://www.gnu.org/licenses/>.
19
18
 
20
19
## Process this file with automake to produce Makefile.in
21
20
 
22
21
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
23
 
AUTOMAKE_OPTIONS = dist-bzip2
 
22
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
 
23
DISTCHECK_CONFIGURE_FLAGS = --enable-symcryptrun --enable-mailto
24
24
 
25
 
EXTRA_DIST = scripts/config.rpath autogen.sh README.CVS
 
25
EXTRA_DIST = scripts/config.rpath autogen.sh README.SVN
26
26
DISTCLEANFILES = g10defs.h 
27
27
 
28
28
if BUILD_GPGSM
34
34
 
35
35
if BUILD_GPG
36
36
gpg = g10
 
37
keyserver = keyserver
37
38
else
38
39
gpg =
 
40
keyserver = 
39
41
endif
40
42
if BUILD_GPGSM
41
43
sm = sm
52
54
else
53
55
scd =
54
56
endif
55
 
 
56
 
## "make -C tests" doesn't work at the moment
57
 
#if HAVE_W32_SYSTEM
58
 
#tests =
59
 
#else
60
 
#tests = tests
61
 
#endif
62
 
 
63
 
SUBDIRS = m4 intl gl jnlib common ${kbx} \
64
 
 ${gpg} ${sm} ${agent} ${scd} tools po doc ${tests}
 
57
if BUILD_TOOLS
 
58
tools = tools
 
59
else
 
60
tools =
 
61
endif
 
62
if BUILD_DOC
 
63
doc = doc
 
64
else
 
65
doc =
 
66
endif
 
67
 
 
68
if HAVE_W32_SYSTEM
 
69
tests =
 
70
else
 
71
tests = tests
 
72
endif
 
73
 
 
74
SUBDIRS = m4 gl include jnlib common ${kbx} \
 
75
 ${gpg} ${keyserver} ${sm} ${agent} ${scd} ${tools} po ${doc} ${tests}
65
76
 
66
77
dist-hook:
67
 
        @set -e; \
68
 
         for file in `cd $(top_srcdir); \
69
 
                     find scripts include -type f -name distfiles`; do \
70
 
            dir=`dirname $$file` ; $(mkinstalldirs) $(distdir)/$$dir ; \
71
 
            for i in distfiles `cat $(top_srcdir)/$$file` ; do \
72
 
                ln $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i 2> /dev/null \
73
 
                || cp -p $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i; \
74
 
            done ; \
75
 
        done
76
78
        echo "$(VERSION)" > $(distdir)/VERSION
77
79
 
 
80
stowinstall: 
 
81
        $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/gnupg
78
82
 
79
83