aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 739aefd..384d8f3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,7 +7,11 @@ if CLANG
AM_CXXFLAGS += -Wno-mismatched-tags
endif
-AM_CPPFLAGS = -D'SCITECOLIBDIR="@scitecolibdir@"'
+# These paths can be changed at install-time and
+# should not be written into config.h:
+AM_CPPFLAGS = -D'SCITECODATADIR="$(pkgdatadir)"' \
+ -D'SCITECOLIBDIR="@scitecolibdir@"'
+
if NEED_COMPAT
AM_CPPFLAGS += -I@top_srcdir@/compat
endif