Import Gnulib's `git-version-gen' module.
[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
0b6d8fdc 27SUBDIRS = lib meta libguile guile-readline emacs \
c55cb58a 28 srfi examples test-suite benchmark-suite am \
aa592f96 29 module doc
733943b9 30
718815d7
AW
31libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
32libguileinclude_HEADERS = libguile.h
0479e5b7 33
61db429e 34EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
e33779e3 35 m4/ChangeLog-2008 \
61db429e 36 m4/autobuild.m4 ChangeLog-2008
94f7baaf 37
1ff7abbe
DH
38TESTS = check-guile
39
d051899d 40ACLOCAL_AMFLAGS = -I m4
0520dabb 41
9ea1cfc6 42DISTCLEANFILES = check-guile.log
0520dabb 43
13922e3f
LC
44DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
45
5b55e293
AW
46dist-hook: gen-ChangeLog
47
48a0fe4d
AW
48clean-local:
49 rm -rf cache/
50
a6e60a95
AW
51CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
52
5b55e293
AW
53gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
54.PHONY: gen-ChangeLog
55gen-ChangeLog:
56 if test -d .git; then \
57 $(top_srcdir)/build-aux/gitlog-to-changelog \
58 $(gen_start_rev)..HEAD > $(distdir)/cl-t; \
59 rm -f $(distdir)/ChangeLog; \
60 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
61 fi
62
0520dabb 63# Makefile.am ends here