forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
76 lines (62 loc) · 1.75 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# This file is part of project GEOS (http://trac.osgeo.org/geos/)
#
# NOTE: Make sure that 'src' appears first.
# 'capi' and 'doc' surely rely on availability of libgeos
# which is built under 'src' and it seems that automake
# is not able to detect required build order but blindly
# relies on the order items in SUBDIRS appear.
#
# foreign is needed to avoid enforced ChangeLog in EXTRA_DIST
# (we'll still take care of adding it ourselves)
AUTOMAKE_OPTIONS = foreign
SUBDIRS = \
include \
src \
capi \
doc \
macros \
swig \
tests \
benchmarks \
tools
BUILT_SOURCES =
EXTRA_DIST = \
README.md \
acsite.m4 \
.editorconfig \
Version.txt \
CMakeLists.txt \
cmake/cmake_uninstall.cmake.in \
cmake/geos-config.cmake \
cmake/FindMakeDistCheck.cmake
ACLOCAL_AMFLAGS = -I macros
dist-hook: gen-ChangeLog
gen-ChangeLog:
cd $(distdir) && owd=`pwd` && \
cd ../ && cd $(srcdir) && \
if test -d .git; then \
git log --pretty --numstat --summary | git2cl > $${owd}/ChangeLog; \
elif test -d .svn; then \
svn2cl --authors=authors.svn -i -o $${owd}/ChangeLog; \
elif test -f ChangeLog; then \
cp ChangeLog $${owd}/ChangeLog; \
fi
apidoc doxygen:
cd doc && make $@
doxygen-checked:
( set -o pipefail; \
! make doxygen 2>&1 > /dev/null | \
grep -v '\(not documented\|ignoring unsupported tag\)'; \
)
authors.git: authors.svn
cd $(srcdir) && sed -e 's/:/ = /' authors.svn > authors.git
svnrebase: authors.git
cd $(srcdir) && git svn rebase --authors-file authors.git
VALGRIND = $(LIBTOOL) --mode=execute valgrind --leak-check=full --error-exitcode=1
valgrindcheck:
$(VALGRIND) tests/unit/geos_unit
check-local:
! find $(srcdir) -name '*.cpp' -o -name '*.h' | \
grep -v tests/xmltester/tinyxml | \
xargs grep -n '[[:space:]]$$'