1 | # Process this file with automake to create Makefile.in
|
---|
2 | #
|
---|
3 | # Copyright 1997-1998, 2005-2012 Free Software Foundation, Inc.
|
---|
4 | #
|
---|
5 | # This program is free software; you can redistribute it and/or modify
|
---|
6 | # it under the terms of the GNU General Public License as published by
|
---|
7 | # the Free Software Foundation; either version 3, or (at your option)
|
---|
8 | # any later version.
|
---|
9 | #
|
---|
10 | # This program is distributed in the hope that it will be useful,
|
---|
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
13 | # GNU General Public License for more details.
|
---|
14 | #
|
---|
15 | # You should have received a copy of the GNU General Public License
|
---|
16 | # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
17 | #
|
---|
18 | AUTOMAKE_OPTIONS = gnu 1.10
|
---|
19 | ACLOCAL_AMFLAGS = -I m4
|
---|
20 |
|
---|
21 | SUBDIRS = po lib doc src tests gnulib-tests
|
---|
22 |
|
---|
23 | EXTRA_DIST = \
|
---|
24 | ChangeLog-2009 \
|
---|
25 | Makefile.boot \
|
---|
26 | README \
|
---|
27 | README-alpha \
|
---|
28 | README-boot \
|
---|
29 | TODO \
|
---|
30 | cfg.mk
|
---|
31 |
|
---|
32 | # Shortcut target to make it easier to run expensive tests.
|
---|
33 | .PHONY: check-expensive
|
---|
34 | check-expensive:
|
---|
35 | $(MAKE) check RUN_EXPENSIVE_TESTS=yes
|
---|
36 |
|
---|
37 | # Run syntax-check rules before creating a distribution tarball.
|
---|
38 | .PHONY: run-syntax-check
|
---|
39 | run-syntax-check:
|
---|
40 | $(AM_V_GEN)test ! -d .git || $(MAKE) syntax-check
|
---|
41 |
|
---|
42 | # Arrange so that .tarball-version appears only in the distribution
|
---|
43 | # tarball, and never in a checked-out repository.
|
---|
44 | dist-hook: gen-ChangeLog run-syntax-check
|
---|
45 | $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
|
---|
46 |
|
---|
47 | gen_start_date = 2009-11-27
|
---|
48 | .PHONY: gen-ChangeLog
|
---|
49 | gen-ChangeLog:
|
---|
50 | $(AM_V_GEN)if test -d .git; then \
|
---|
51 | $(top_srcdir)/build-aux/gitlog-to-changelog \
|
---|
52 | --since=$(gen_start_date) > $(distdir)/cl-t; \
|
---|
53 | rm -f $(distdir)/ChangeLog; \
|
---|
54 | mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
---|
55 | fi
|
---|