Commit | Line | Data |
---|---|---|
2764bd99 JB |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## Jim Blandy <jimb@red-bean.com> --- September 1997 | |
3 | ## | |
0c81a0c1 | 4 | ## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. |
2764bd99 JB |
5 | ## |
6 | ## This file is part of GUILE. | |
7 | ## | |
53befeb7 NJ |
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 | |
2764bd99 JB |
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 | |
53befeb7 | 16 | ## GNU Lesser General Public License for more details. |
2764bd99 | 17 | ## |
53befeb7 NJ |
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 | |
9a56cb24 | 22 | |
b8b06598 | 23 | bin_SCRIPTS = guile-config guild |
b217a822 | 24 | EXTRA_DIST= \ |
54b38caf | 25 | guile.m4 ChangeLog-2008 \ |
0c81a0c1 | 26 | guile-2.2.pc.in guile-2.2-uninstalled.pc.in \ |
b8b06598 AW |
27 | guild.in guile-config.in |
28 | ||
29 | # What we now call `guild' used to be known as `guile-tools'. | |
30 | install-data-hook: | |
31 | cd $(DESTDIR)$(bindir) && rm -f guile-tools$(EXEEXT) && \ | |
32 | $(LN_S) guild$(EXEEXT) guile-tools$(EXEEXT) | |
0b6d8fdc AW |
33 | |
34 | pkgconfigdir = $(libdir)/pkgconfig | |
0c81a0c1 | 35 | pkgconfig_DATA = guile-2.2.pc |
9a56cb24 | 36 | |
2b9fe19f JB |
37 | ## FIXME: in the future there will be direct automake support for |
38 | ## doing this. When that happens, switch over. | |
39 | aclocaldir = $(datadir)/aclocal | |
40 | aclocal_DATA = guile.m4 | |
297273e4 | 41 | |
31c94422 | 42 | guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status |
297273e4 | 43 | guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \ |
f60e8928 | 44 | cat $(srcdir)/guile-config.in \ |
297273e4 | 45 | | $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g ; \ |
981ff600 LC |
46 | s,@""PKG_CONFIG@,$(PKG_CONFIG),g ; \ |
47 | s,@installed_guile@,$$guile,g" \ | |
297273e4 LC |
48 | > guile-config.out |
49 | mv guile-config.out guile-config | |
50 | chmod +x guile-config | |
a16eda7a NJ |
51 | |
52 | CLEANFILES = guile-config |