Update suitable examples and tests to use blank mode
[shapes.git] / Makefile.am
blob8186922eb0a373659e46028ef46579db16eaad07
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, 2010 Gustaf Hendeby
18 ACLOCAL_AMFLAGS = -I m4
20 if WITH_DOC
21   DOC_DIR = doc
22 endif
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 \
30                           m4/gsl.m4 m4/opt.m4 \
31                           config/config.rpath \
32                           COPYING README VERSION
33 dist_noinst_SCRIPTS     = config/oldtool
35 include doc/build/Makefile.goalscheck
37 dist-hook:
38         cp @FLEXLEXER_HEADER@ ${distdir}/tools/include/
40 .PHONY: version_sync
41 version_sync:
42         -sed -e 's/VERSION/$(shell sed "2,$$ d" < VERSION)/' < source/exscripts/exconfig | ex -sC configure.ac
44 version_test : FORCE
45         @if test -x version_test.sh ;\
46   then \
47     ./version_test.sh ;\
48   fi
50 FORCE :