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 | ## | |
3742d778 | 4 | ## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011, |
d80b6acf | 5 | ## 2012, 2013, 2014 Free Software Foundation, Inc. |
2764bd99 JB |
6 | ## |
7 | ## This file is part of GUILE. | |
8 | ## | |
53befeb7 NJ |
9 | ## GUILE is free software; you can redistribute it and/or modify it |
10 | ## under the terms of the GNU Lesser General Public License as | |
11 | ## published by the Free Software Foundation; either version 3, or | |
2764bd99 JB |
12 | ## (at your option) any later version. |
13 | ## | |
14 | ## GUILE is distributed in the hope that it will be useful, but | |
15 | ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
53befeb7 | 17 | ## GNU Lesser General Public License for more details. |
2764bd99 | 18 | ## |
53befeb7 NJ |
19 | ## You should have received a copy of the GNU Lesser General Public |
20 | ## License along with GUILE; see the file COPYING.LESSER. If not, | |
21 | ## write to the Free Software Foundation, Inc., 51 Franklin Street, | |
22 | ## Fifth Floor, Boston, MA 02110-1301 USA | |
9a56cb24 | 23 | |
b8b06598 | 24 | bin_SCRIPTS = guile-config guild |
b217a822 | 25 | EXTRA_DIST= \ |
54b38caf | 26 | guile.m4 ChangeLog-2008 \ |
0c81a0c1 | 27 | guile-2.2.pc.in guile-2.2-uninstalled.pc.in \ |
b8b06598 AW |
28 | guild.in guile-config.in |
29 | ||
30 | # What we now call `guild' used to be known as `guile-tools'. | |
068adc19 | 31 | install-exec-hook: |
3742d778 | 32 | guild="`echo $(ECHO_N) guild \ |
dac5e649 | 33 | | $(SED) -e '$(program_transform_name)'`" ; \ |
3742d778 | 34 | guile_tools="`echo $(ECHO_N) guile-tools \ |
dac5e649 | 35 | | $(SED) -e '$(program_transform_name)'`" ; \ |
3742d778 LC |
36 | cd $(DESTDIR)$(bindir) && rm -f "$$guile_tools" && \ |
37 | $(LN_S) "$$guild" "$$guile_tools" | |
0b6d8fdc AW |
38 | |
39 | pkgconfigdir = $(libdir)/pkgconfig | |
0c81a0c1 | 40 | pkgconfig_DATA = guile-2.2.pc |
9a56cb24 | 41 | |
2b9fe19f JB |
42 | ## FIXME: in the future there will be direct automake support for |
43 | ## doing this. When that happens, switch over. | |
44 | aclocaldir = $(datadir)/aclocal | |
45 | aclocal_DATA = guile.m4 | |
297273e4 | 46 | |
31c94422 | 47 | guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status |
297273e4 | 48 | guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \ |
7a85f2b6 LC |
49 | $(SED) -e "s,[@]pkgconfigdir[@],$(pkgconfigdir),g" \ |
50 | -e "s,[@]PKG_CONFIG[@],$(PKG_CONFIG),g" \ | |
51 | -e "s,[@]installed_guile[@],$$guile,g" \ | |
52 | < "$(srcdir)/guile-config.in" \ | |
53 | > "$@.out" | |
54 | chmod +x "$@.out" | |
55 | mv "$@.out" "$@" | |
a16eda7a | 56 | |
d80b6acf LC |
57 | guild: $(srcdir)/guild.in $(top_builddir)/config.status |
58 | guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \ | |
7a85f2b6 LC |
59 | $(SED) -e "s,[@]installed_guile[@],$$guile,g" \ |
60 | -e "s,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g" \ | |
61 | -e "s,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g" \ | |
62 | < "$(srcdir)/guild.in" \ | |
63 | > "$@.out" | |
d80b6acf LC |
64 | chmod +x "$@.out" |
65 | mv "$@.out" "$@" | |
66 | ||
67 | CLEANFILES = guile-config guild |