Commit | Line | Data |
---|---|---|
733943b9 | 1 | ## Process this file with automake to produce Makefile.in. |
2764bd99 | 2 | ## |
364b6eb7 | 3 | ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007, |
6cfdc6b8 | 4 | ## 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. |
2764bd99 JB |
5 | ## |
6 | ## This file is part of GUILE. | |
14353f06 | 7 | ## |
53befeb7 NJ |
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 | |
2764bd99 | 11 | ## (at your option) any later version. |
14353f06 | 12 | ## |
2764bd99 JB |
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 | |
53befeb7 | 16 | ## GNU Lesser General Public License for more details. |
14353f06 | 17 | ## |
53befeb7 NJ |
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 | |
733943b9 | 22 | |
329e0394 KR |
23 | # want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that |
24 | # config.rpath is needed | |
25 | # | |
26 | AUTOMAKE_OPTIONS = 1.10 | |
f501d0d4 | 27 | |
5f8760e4 AW |
28 | SUBDIRS = \ |
29 | lib \ | |
30 | meta \ | |
31 | libguile \ | |
32 | module \ | |
33 | guile-readline \ | |
34 | examples \ | |
35 | emacs \ | |
36 | test-suite \ | |
37 | benchmark-suite \ | |
364b6eb7 | 38 | gc-benchmarks \ |
5f8760e4 AW |
39 | am \ |
40 | doc | |
733943b9 | 41 | |
718815d7 AW |
42 | libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION) |
43 | libguileinclude_HEADERS = libguile.h | |
0479e5b7 | 44 | |
6cfdc6b8 LC |
45 | schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION) |
46 | schemelib_DATA = libguile/guile-procedures.txt | |
47 | ||
48 | # Build it from here so that all the modules are compiled by the time we | |
49 | # build it. | |
50 | libguile/guile-procedures.txt: libguile/guile-procedures.texi | |
51 | $(AM_V_GEN) \ | |
52 | $(top_builddir)/meta/guile --no-auto-compile \ | |
53 | "$(srcdir)/libguile/texi-fragments-to-docstrings" \ | |
54 | "$(builddir)/libguile/guile-procedures.texi" \ | |
c5c7c114 LC |
55 | > $@.tmp |
56 | @mv $@.tmp $@ | |
6cfdc6b8 | 57 | |
7e0ee59c LC |
58 | EXTRA_DIST = LICENSE HACKING GUILE-VERSION \ |
59 | m4/ChangeLog-2008 \ | |
60 | m4/gnulib-cache.m4 \ | |
61 | ChangeLog-2008 \ | |
62 | .version \ | |
63 | gnulib-local/lib/localcharset.h.diff \ | |
64 | gnulib-local/lib/localcharset.c.diff \ | |
65 | gnulib-local/m4/clock_time.m4.diff \ | |
6cfdc6b8 LC |
66 | gnulib-local/build-aux/git-version-gen.diff \ |
67 | libguile/texi-fragments-to-docstrings | |
94f7baaf | 68 | |
1ff7abbe | 69 | TESTS = check-guile |
c2c2b5a4 | 70 | TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ |
1ff7abbe | 71 | |
d051899d | 72 | ACLOCAL_AMFLAGS = -I m4 |
0520dabb | 73 | |
c5c7c114 | 74 | CLEANFILES = libguile/guile-procedures.txt |
9ea1cfc6 | 75 | DISTCLEANFILES = check-guile.log |
0520dabb | 76 | |
13922e3f LC |
77 | DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning |
78 | ||
db10a69b | 79 | dist-hook: gen-ChangeLog gen-tarball-version |
5b55e293 | 80 | |
48a0fe4d AW |
81 | clean-local: |
82 | rm -rf cache/ | |
83 | ||
a6e60a95 AW |
84 | CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION |
85 | ||
5b55e293 AW |
86 | gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b |
87 | .PHONY: gen-ChangeLog | |
88 | gen-ChangeLog: | |
89 | if test -d .git; then \ | |
90 | $(top_srcdir)/build-aux/gitlog-to-changelog \ | |
91 | $(gen_start_rev)..HEAD > $(distdir)/cl-t; \ | |
92 | rm -f $(distdir)/ChangeLog; \ | |
93 | mv $(distdir)/cl-t $(distdir)/ChangeLog; \ | |
94 | fi | |
95 | ||
db10a69b LC |
96 | BUILT_SOURCES = $(top_srcdir)/.version |
97 | $(top_srcdir)/.version: | |
98 | echo $(VERSION) > $@-t && mv $@-t $@ | |
99 | gen-tarball-version: | |
100 | echo $(VERSION) > $(distdir)/.tarball-version | |
101 | ||
0520dabb | 102 | # Makefile.am ends here |