Imported Upstream version 3.1.1
[platform/upstream/mpfr.git] / Makefile.am
1 # Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
2 # This Makefile.am is free software; the Free Software Foundation
3 # gives unlimited permission to copy and/or distribute it,
4 # with or without modifications, as long as this notice is preserved.
5
6 # This program is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
8 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9 # PARTICULAR PURPOSE.
10
11
12 AUTOMAKE_OPTIONS = gnu
13 ACLOCAL_AMFLAGS = -I m4
14
15 SUBDIRS = doc src tests tune
16
17 nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LESSER NEWS TODO \
18   examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \
19   examples/version.c
20
21 EXTRA_DIST = PATCHES VERSION \
22   tools/ck-copyright-notice tools/ck-version-info tools/get_patches.sh \
23   $(DATAFILES)
24
25 # Various checks for "make dist".
26 # * Check consistency concerning -version-info. Moreover if the VERSION
27 #   file doesn't end with "-dev", check that the -version-info value is
28 #   up-to-date. Note: this is a heuristic, to detect some mistakes.
29 # * Check that copyright notices exist and appear to be correct.
30 dist-hook:
31         cd $(srcdir) && tools/ck-version-info
32         cd $(srcdir) && tools/ck-copyright-notice