New example: Import of JPEG raster image.
[shapes.git] / Makefile.am
blob3caa42e6be0c43675905e1edad04633fdbb0fe71
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                           COPYING README VERSION
30 dist_noinst_SCRIPTS     = config/oldtool
32 dist-hook :
33         cp @FLEXLEXER_HEADER@ ${distdir}/tools/include/
35 .PHONY: version_sync
36 version_sync:
37         -sed -e 's/VERSION/$(shell sed "2,$$ d" < VERSION)/' < source/exscripts/exconfig | ex -sC configure.ac
39 version_test : FORCE
40         @if test -x version_test.sh ;\
41         then \
42                 ./version_test.sh ;\
43         fi
45 FORCE :