aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-09-19 17:31:26 +0200
committerEven Rouault <even.rouault@spatialys.com>2018-09-19 17:31:26 +0200
commit00f6873a159806cf08a3f51d90776e2840ede946 (patch)
treefb7679be7326ad672613e60d30d15545edd88f27 /data
parent4ea0c2d72c80120a6074b97577a2659e23015f5c (diff)
downloadPROJ-00f6873a159806cf08a3f51d90776e2840ede946.tar.gz
PROJ-00f6873a159806cf08a3f51d90776e2840ede946.zip
autoconf: fix 'make check' on out-of-tree builds
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f85a5ddb..c77efc8b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -45,3 +45,11 @@ install-data-local: process-nad2bin
$(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/`basename $$gridfile`; \
fi; \
done
+
+# For out-of-tree builds, link all file of the source data dir to the generated data
+check-local: process-nad2bin
+ @if [ ! -f GL27 ]; then \
+ for x in $(DATAPATH)/*; do \
+ ln -sf $$x .; \
+ done \
+ fi