summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 1ee3e80f884e142e1a7cc01f008d280a74da9a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
## Process this file with automake to produce Makefile.in.
##
##  	Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
##
##   This file is part of GUILE.
##
##   GUILE is free software; you can redistribute it and/or modify it
##   under the terms of the GNU Lesser General Public License as
##   published by the Free Software Foundation; either version 3, or
##   (at your option) any later version.
##
##   GUILE 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 Lesser General Public License for more details.
##
##   You should have received a copy of the GNU Lesser General Public
##   License along with GUILE; see the file COPYING.LESSER.  If not,
##   write to the Free Software Foundation, Inc., 51 Franklin Street,
##   Fifth Floor, Boston, MA 02110-1301 USA

# want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
# config.rpath is needed
#
AUTOMAKE_OPTIONS = 1.10

SUBDIRS = lib meta libguile guile-readline emacs \
	  srfi doc examples test-suite benchmark-suite lang am \
	  module testsuite

include_HEADERS = libguile.h

EXTRA_DIST = LICENSE HACKING GUILE-VERSION		\
	     m4/ChangeLog-2008 \
	     m4/autobuild.m4 ChangeLog-2008

TESTS = check-guile

ACLOCAL_AMFLAGS = -I m4

DISTCLEANFILES = check-guile.log

# Help Automake choose the right directory name (Automake 1.11 uses
# `$(PACKAGE)-$(PACKAGE_VERSION)' by default, which is wrong.)
distdir = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)

DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning

dist-hook: gen-ChangeLog

clean-local:
	rm -rf cache/

gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
.PHONY: gen-ChangeLog
gen-ChangeLog:
	if test -d .git; then						\
	  $(top_srcdir)/build-aux/gitlog-to-changelog			\
	    $(gen_start_rev)..HEAD > $(distdir)/cl-t;			\
	  rm -f $(distdir)/ChangeLog;					\
	  mv $(distdir)/cl-t $(distdir)/ChangeLog;			\
	fi

# Makefile.am ends here