1# Copyright 2000-2016 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 13 14# ACLOCAL_AMFLAGS will be fully deprecated in Automake 2.0; 15# AC_CONFIG_MACRO_DIRS (introduced in Automake 1.13) is now used instead, 16# but we still set ACLOCAL_AMFLAGS to avoid a warning message from 17# libtoolize and in case some developer needs to switch back to an 18# old Automake version. 19ACLOCAL_AMFLAGS = -I m4 20 21SUBDIRS = doc src tests tune 22 23nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LESSER NEWS TODO \ 24 examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \ 25 examples/version.c 26 27EXTRA_DIST = PATCHES VERSION \ 28 tools/ck-copyright-notice tools/ck-news tools/ck-version-info \ 29 tools/get_patches.sh \ 30 $(DATAFILES) 31 32# Various checks for "make dist". 33# * Check consistency concerning -version-info. Moreover if the VERSION 34# file doesn't end with "-dev", check that the -version-info value is 35# up-to-date. Note: this is a heuristic, to detect some mistakes. 36# * Check that copyright notices exist and appear to be correct. 37# * Check the NEWS file. 38dist-hook: 39 cd $(srcdir) && tools/ck-version-info 40 cd $(srcdir) && tools/ck-copyright-notice 41 cd $(srcdir) && tools/ck-news 42