bump effective version to 2.2
[bpt/guile.git] / meta / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ## Jim Blandy <jimb@red-bean.com> --- September 1997
3 ##
4 ## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
5 ##
6 ## This file is part of GUILE.
7 ##
8 ## GUILE is free software; you can redistribute it and/or modify it
9 ## under the terms of the GNU Lesser General Public License as
10 ## published by the Free Software Foundation; either version 3, or
11 ## (at your option) any later version.
12 ##
13 ## GUILE is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU Lesser General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU Lesser General Public
19 ## License along with GUILE; see the file COPYING.LESSER. If not,
20 ## write to the Free Software Foundation, Inc., 51 Franklin Street,
21 ## Fifth Floor, Boston, MA 02110-1301 USA
22
23 bin_SCRIPTS = guile-config guile-tools
24 EXTRA_DIST= \
25 guile.m4 ChangeLog-2008 \
26 guile-2.2.pc.in guile-2.2-uninstalled.pc.in \
27 guile-tools.in guile-config.in
28
29 pkgconfigdir = $(libdir)/pkgconfig
30 pkgconfig_DATA = guile-2.2.pc
31
32 ## FIXME: in the future there will be direct automake support for
33 ## doing this. When that happens, switch over.
34 aclocaldir = $(datadir)/aclocal
35 aclocal_DATA = guile.m4
36
37 guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status
38 guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \
39 cat $(srcdir)/guile-config.in \
40 | $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g ; \
41 s,@""PKG_CONFIG@,$(PKG_CONFIG),g ; \
42 s,@installed_guile@,$$guile,g" \
43 > guile-config.out
44 mv guile-config.out guile-config
45 chmod +x guile-config
46
47 CLEANFILES = guile-config