Commit | Line | Data |
---|---|---|
9a56cb24 JB |
1 | #### Makefile.in template for guile-core/guile-config. |
2 | #### Jim Blandy <jimb@red-bean.com> --- September 1997 | |
3 | ||
4 | bin_SCRIPTS=guile-config | |
5 | CLEANFILES=guile-config | |
6 | EXTRA_DIST=guile-config.in | |
7 | ||
8 | ## We use @-...-@ as the substitution brackets here, instead of the | |
9 | ## usual @...@, so autoconf doesn't go and substitute the values | |
10 | ## directly into the left-hand sides of the sed substitutions. *sigh* | |
11 | guile-config: guile-config.in | |
12 | rm -f guile-config.tmp | |
13 | sed < ${srcdir}/guile-config.in > guile-config.tmp \ | |
14 | -e s:@-bindir-@:${bindir}: \ | |
15 | -e s:@-GUILE_VERSION-@:${GUILE_VERSION}: | |
16 | chmod +x guile-config.tmp | |
17 | mv guile-config.tmp guile-config | |
18 | ||
19 | ## Get rid of any copies of the configuration script under the old | |
20 | ## name, so people don't end up running ancient copies of it. | |
21 | install-exec-local: | |
22 | rm -f ${bindir}/build-guile |