1# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 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
12AUTOMAKE_OPTIONS = gnu
13ACLOCAL_AMFLAGS = -I m4
14
15SUBDIRS = doc src tests tune
16
17nobase_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
21EXTRA_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.
30dist-hook:
31	cd $(srcdir) && tools/ck-version-info
32	cd $(srcdir) && tools/ck-copyright-notice
33