Makefile.am 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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, 2009, 2011 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 it
  9. ## under the terms of the GNU Lesser General Public License as
  10. ## published by the Free Software Foundation; either version 3, 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 Lesser General Public License for more details.
  17. ##
  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
  22. bin_SCRIPTS = guile-config guild
  23. EXTRA_DIST= \
  24. guile.m4 ChangeLog-2008 \
  25. guile-2.2.pc.in guile-2.2-uninstalled.pc.in \
  26. guild.in guile-config.in
  27. # What we now call `guild' used to be known as `guile-tools'.
  28. install-data-hook:
  29. cd $(DESTDIR)$(bindir) && rm -f guile-tools$(EXEEXT) && \
  30. $(LN_S) guild$(EXEEXT) guile-tools$(EXEEXT)
  31. pkgconfigdir = $(libdir)/pkgconfig
  32. pkgconfig_DATA = guile-2.2.pc
  33. ## FIXME: in the future there will be direct automake support for
  34. ## doing this. When that happens, switch over.
  35. aclocaldir = $(datadir)/aclocal
  36. aclocal_DATA = guile.m4
  37. guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status
  38. guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \
  39. cat $(srcdir)/guile-config.in \
  40. | $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g ; \
  41. s,@""PKG_CONFIG@,$(PKG_CONFIG),g ; \
  42. s,@installed_guile@,$$guile,g" \
  43. > guile-config.out
  44. mv guile-config.out guile-config
  45. chmod +x guile-config
  46. CLEANFILES = guile-config