1 # Makefile.am - main makefile for GnuPG
2 # Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
4 # This file is part of GnuPG.
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.
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.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
19 ## Process this file with automake to produce Makefile.in
21 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
22 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
23 DISTCHECK_CONFIGURE_FLAGS = --enable-symcryptrun --enable-mailto
25 EXTRA_DIST = scripts/config.rpath scripts/potomo autogen.sh README.GIT
26 DISTCLEANFILES = g10defs.h
86 SUBDIRS = m4 gl include common ${kbx} \
87 ${gpg} ${keyserver} ${sm} ${agent} ${scd} ${g13} ${dirmngr} \
88 ${tools} po ${doc} ${tests}
90 dist_doc_DATA = README
94 echo "$(VERSION)" > $(distdir)/VERSION
99 for i in $$($(top_srcdir)/scripts/potomo \
100 --get-linguas $(top_srcdir)/po) ; do \
101 $(MKDIR_P) "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES" || true; \
102 rm -f "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES/gnupg2.mo" \
103 2>/dev/null || true; \
104 $(top_srcdir)/scripts/potomo $(top_srcdir)/po/$$i.po \
105 "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES/gnupg2.mo" ; \
110 $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/gnupg