Makefile.am 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 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., 51 Franklin Street, Fifth
  21. ## Floor, Boston, MA 02110-1301 USA
  22. bin_SCRIPTS=guile-config
  23. CLEANFILES=guile-config
  24. EXTRA_DIST=guile-config.in guile.m4 ChangeLog-2008
  25. ## FIXME: in the future there will be direct automake support for
  26. ## doing this. When that happens, switch over.
  27. aclocaldir = $(datadir)/aclocal
  28. aclocal_DATA = guile.m4
  29. ## We use @-...-@ as the substitution brackets here, instead of the
  30. ## usual @...@, so autoconf doesn't go and substitute the values
  31. ## directly into the left-hand sides of the sed substitutions. *sigh*
  32. guile-config: guile-config.in ${top_builddir}/libguile/libpath.h
  33. rm -f guile-config.tmp
  34. sed < ${srcdir}/guile-config.in > guile-config.tmp \
  35. -e 's|@-bindir-@|${bindir}|' \
  36. -e s:@-GUILE_VERSION-@:${GUILE_VERSION}:
  37. chmod +x guile-config.tmp
  38. mv guile-config.tmp guile-config
  39. ## Get rid of any copies of the configuration script under the old
  40. ## name, so people don't end up running ancient copies of it.
  41. install-exec-local:
  42. rm -f ${bindir}/build-guile