diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-08-21 01:33:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-08-21 01:49:42 +0200 |
commit | 1549532ccb4eb13143bbce43ab6fdc80e6bbfb37 (patch) | |
tree | e7d34f6f0fa99031979a2c79e6e9c1349bbef227 /guile-readline | |
parent | 7a5ab3693ca5be77f1014130eff3bb3cf483e8be (diff) |
Aggregate `guile-readline' makefiles.
* configure.ac: Don't produce `guile-readline/ice-9/Makefile'.
* guile-readline/Makefile.am (SUBDIRS): Remove.
(ice9dir, nobase_ice9_DATA): New, formerly under `ice-9'.
(ETAGS_ARGS, EXTRA_DIST): Augment.
(DEFS): Move outside of `if'.
(MKDEP): Remove.
* guile-readline/ice-9/Makefile.am: Remove.
Diffstat (limited to 'guile-readline')
-rw-r--r-- | guile-readline/Makefile.am | 17 | ||||
-rw-r--r-- | guile-readline/ice-9/Makefile.am | 28 |
2 files changed, 12 insertions, 33 deletions
diff --git a/guile-readline/Makefile.am b/guile-readline/Makefile.am index f505ed228..efdcd7523 100644 --- a/guile-readline/Makefile.am +++ b/guile-readline/Makefile.am @@ -19,12 +19,17 @@ ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth ## Floor, Boston, MA 02110-1301 USA -SUBDIRS = ice-9 +## Prevent automake from adding extra -I options +DEFS = @DEFS@ @EXTRA_DEFS@ if HAVE_READLINE -## Prevent automake from adding extra -I options -DEFS = @DEFS@ @EXTRA_DEFS@ +# `ice-9' subdirectory. +ice9dir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION) +nobase_ice9_DATA = ice-9/readline.scm +EXTRA_DIST = $(nobase_ice9_DATA) + + ## Check for headers in $(srcdir)/.., so that #include ## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're ## building. Also look for Gnulib headers in `lib'. @@ -56,9 +61,11 @@ SUFFIXES = .x .c.x: $(GUILE_SNARF) -o $@ $< $(snarfcppopts) -EXTRA_DIST = LIBGUILEREADLINE-VERSION ChangeLog-2008 +EXTRA_DIST += LIBGUILEREADLINE-VERSION ChangeLog-2008 -MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) +ETAGS_ARGS = \ + $(nobase_ice9_DATA) \ + $(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_SOURCES) CLEANFILES = *.x diff --git a/guile-readline/ice-9/Makefile.am b/guile-readline/ice-9/Makefile.am deleted file mode 100644 index ffa767e99..000000000 --- a/guile-readline/ice-9/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Process this file with Automake to create Makefile.in -## -## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2008 Free Software Foundation, Inc. -## -## This file is part of guile-readline. -## -## guile-readline is free software; you can redistribute it and/or -## modify it under the terms of the GNU General Public License as -## published by the Free Software Foundation; either version 3, or -## (at your option) any later version. -## -## guile-readline is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with guile-readline; see the file COPYING. If not, write -## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth -## Floor, Boston, MA 02110-1301 USA - -# Guile's `pkgdatadir'. -guile_pdd = $(datadir)/guile - -ice9dir = $(guile_pdd)/$(GUILE_EFFECTIVE_VERSION)/ice-9 -ice9_DATA = readline.scm -ETAGS_ARGS = $(ice9_DATA) -EXTRA_DIST = $(ice9_DATA) |