1 # Makefile.am for libgpg-error.
2 # Copyright (C) 2003, 2006, 2007 g10 Code GmbH
4 # This file is part of libgpg-error.
6 # libgpg-error is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of the
9 # License, or (at your option) any later version.
11 # libgpg-error 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 Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 ACLOCAL_AMFLAGS = -I m4
21 AUTOMAKE_OPTIONS = dist-bzip2
23 EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in COPYING COPYING.LIB
31 SUBDIRS = m4 src tests po $(lang_subdirs)
35 sed -e 's/@pkg_version@/$(VERSION)/g' \
36 $(top_srcdir)/libgpg-error.spec.in > $(distdir)/libgpg-error.spec
37 @set -e; echo "$(VERSION)" > $(distdir)/VERSION
40 $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/libgpg-error