diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-09-19 17:31:26 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-09-19 17:31:26 +0200 |
| commit | 00f6873a159806cf08a3f51d90776e2840ede946 (patch) | |
| tree | fb7679be7326ad672613e60d30d15545edd88f27 /data | |
| parent | 4ea0c2d72c80120a6074b97577a2659e23015f5c (diff) | |
| download | PROJ-00f6873a159806cf08a3f51d90776e2840ede946.tar.gz PROJ-00f6873a159806cf08a3f51d90776e2840ede946.zip | |
autoconf: fix 'make check' on out-of-tree builds
Diffstat (limited to 'data')
| -rw-r--r-- | data/Makefile.am | 8 |
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 |
