Updating the changelog in the VERSION file, and version_sync.
[shapes.git] / Makefile.am
blobe986a79980b75501d87681b8c9181ef57f7fab34
1 # This file is part of Shapes.
3 # Shapes is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # any later version.
8 # Shapes is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with Shapes.  If not, see <http://www.gnu.org/licenses/>.
16 # Copyright 2008 Gustaf Hendeby
18 ACLOCAL_AMFLAGS = -I m4
20 SUBDIRS                 = source doc resources test
21 CLEANFILES              = configure-stamp build-stamp
22 BUILT_SOURCES = version_test
24 dist_noinst_DATA        = m4/lib-ld.m4 m4/lib-prefix.m4 m4/lib-link.m4 \
25                           m4/iconv.m4 m4/zlib.m4 \
26                           m4/bison.m4 m4/flex.m4 \
27                           m4/gsl.m4 m4/opt.m4 \
28                           config/config.rpath \
29                           VERSION
30 dist_noinst_SCRIPTS     = config/oldtool
32 .PHONY: version_sync
33 version_sync:
34         -sed -e 's/VERSION/$(shell sed "2,$$ d" < VERSION)/' < source/exscripts/exconfig | ex -sC configure.ac
36 version_test : FORCE
37         @if test -x version_test.sh ;\
38         then \
39                 ./version_test.sh ;\
40         fi
42 FORCE :