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
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, 2010 Gustaf Hendeby
18 ACLOCAL_AMFLAGS = -I m4
23 SUBDIRS = source $(DOC_DIR) resources test edit
24 CLEANFILES = configure-stamp build-stamp
25 BUILT_SOURCES = version_test
27 dist_noinst_DATA = m4/lib-ld.m4 m4/lib-prefix.m4 m4/lib-link.m4 \
28 m4/iconv.m4 m4/zlib.m4 \
29 m4/bison.m4 m4/flex.m4 \
32 COPYING README VERSION
33 dist_noinst_SCRIPTS = config/oldtool
35 include doc/build/Makefile.goalscheck
38 cp @FLEXLEXER_HEADER@ ${distdir}/tools/include/
42 -sed -e 's/VERSION/$(shell sed "2,$$ d" < VERSION)/' < source/exscripts/exconfig | ex -sC configure.ac
45 @if test -x version_test.sh ;\