aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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