Make `object->string' explicitly close its string output port.
[bpt/guile.git] / Makefile.am
CommitLineData
733943b9 1## Process this file with automake to produce Makefile.in.
2764bd99 2##
718815d7 3## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
2764bd99
JB
4##
5## This file is part of GUILE.
14353f06 6##
53befeb7
NJ
7## GUILE is free software; you can redistribute it and/or modify it
8## under the terms of the GNU Lesser General Public License as
9## published by the Free Software Foundation; either version 3, or
2764bd99 10## (at your option) any later version.
14353f06 11##
2764bd99
JB
12## GUILE is distributed in the hope that it will be useful, but
13## WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53befeb7 15## GNU Lesser General Public License for more details.
14353f06 16##
53befeb7
NJ
17## You should have received a copy of the GNU Lesser General Public
18## License along with GUILE; see the file COPYING.LESSER. If not,
19## write to the Free Software Foundation, Inc., 51 Franklin Street,
20## Fifth Floor, Boston, MA 02110-1301 USA
733943b9 21
329e0394
KR
22# want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
23# config.rpath is needed
24#
25AUTOMAKE_OPTIONS = 1.10
f501d0d4 26
5f8760e4
AW
27SUBDIRS = \
28 lib \
29 meta \
30 libguile \
31 module \
32 guile-readline \
33 examples \
34 emacs \
35 test-suite \
36 benchmark-suite \
37 am \
38 doc
733943b9 39
718815d7
AW
40libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
41libguileinclude_HEADERS = libguile.h
0479e5b7 42
cb5a5283
LC
43EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
44 m4/ChangeLog-2008 \
45 ChangeLog-2008 \
46 .version
94f7baaf 47
1ff7abbe
DH
48TESTS = check-guile
49
d051899d 50ACLOCAL_AMFLAGS = -I m4
0520dabb 51
9ea1cfc6 52DISTCLEANFILES = check-guile.log
0520dabb 53
13922e3f
LC
54DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
55
db10a69b 56dist-hook: gen-ChangeLog gen-tarball-version
5b55e293 57
48a0fe4d
AW
58clean-local:
59 rm -rf cache/
60
a6e60a95
AW
61CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
62
5b55e293
AW
63gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
64.PHONY: gen-ChangeLog
65gen-ChangeLog:
66 if test -d .git; then \
67 $(top_srcdir)/build-aux/gitlog-to-changelog \
68 $(gen_start_rev)..HEAD > $(distdir)/cl-t; \
69 rm -f $(distdir)/ChangeLog; \
70 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
71 fi
72
db10a69b
LC
73BUILT_SOURCES = $(top_srcdir)/.version
74$(top_srcdir)/.version:
75 echo $(VERSION) > $@-t && mv $@-t $@
76gen-tarball-version:
77 echo $(VERSION) > $(distdir)/.tarball-version
78
0520dabb 79# Makefile.am ends here