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 | ## | |
4 | ## Copyright (C) 1998 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 | |
9 | ## it under the terms of the GNU General Public License as | |
10 | ## published by the Free Software Foundation; either version 2, 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 General Public License for more details. | |
17 | ## | |
18 | ## You should have received a copy of the GNU General Public | |
19 | ## License along with GUILE; see the file COPYING. If not, write | |
20 | ## to the Free Software Foundation, Inc., 59 Temple Place, Suite | |
21 | ## 330, Boston, MA 02111-1307 USA | |
9a56cb24 JB |
22 | |
23 | bin_SCRIPTS=guile-config | |
24 | CLEANFILES=guile-config | |
25 | EXTRA_DIST=guile-config.in | |
26 | ||
27 | ## We use @-...-@ as the substitution brackets here, instead of the | |
28 | ## usual @...@, so autoconf doesn't go and substitute the values | |
29 | ## directly into the left-hand sides of the sed substitutions. *sigh* | |
30 | guile-config: guile-config.in | |
31 | rm -f guile-config.tmp | |
32 | sed < ${srcdir}/guile-config.in > guile-config.tmp \ | |
33 | -e s:@-bindir-@:${bindir}: \ | |
34 | -e s:@-GUILE_VERSION-@:${GUILE_VERSION}: | |
35 | chmod +x guile-config.tmp | |
36 | mv guile-config.tmp guile-config | |
37 | ||
38 | ## Get rid of any copies of the configuration script under the old | |
39 | ## name, so people don't end up running ancient copies of it. | |
40 | install-exec-local: | |
41 | rm -f ${bindir}/build-guile |