aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/environments/paludis/Makefile.am4
-rw-r--r--paludis/environments/paludis/output_managers/Makefile.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/paludis/environments/paludis/Makefile.am b/paludis/environments/paludis/Makefile.am
index 5aa5cd96c..919f2055a 100644
--- a/paludis/environments/paludis/Makefile.am
+++ b/paludis/environments/paludis/Makefile.am
@@ -8,7 +8,7 @@ DEFS= \
-DLIBEXECDIR=\"$(libexecdir)\" \
-DDATADIR=\"$(datadir)\" \
-DLIBDIR=\"$(libdir)\" \
- -DSHAREDIR=\"$(sharedir)\"
+ -DSHAREDIR=\"$(datarootdir)\"
libpaludispaludisenvironment_@PALUDIS_PC_SLOT@_la_SOURCES = \
action_to_string.cc action_to_string.hh \
@@ -28,7 +28,7 @@ libpaludispaludisenvironment_@PALUDIS_PC_SLOT@_la_SOURCES = \
libpaludispaludisenvironment_@PALUDIS_PC_SLOT@_la_LDFLAGS = -version-info @VERSION_LIB_CURRENT@:@VERSION_LIB_REVISION@:0
-shareenvpaludisdir = $(sharedir)/paludis/environments/paludis/
+shareenvpaludisdir = $(datarootdir)/paludis/environments/paludis/
dist_shareenvpaludis_DATA = \
default_output.conf \
diff --git a/paludis/environments/paludis/output_managers/Makefile.am b/paludis/environments/paludis/output_managers/Makefile.am
index fd16890a0..c6bf4abcb 100644
--- a/paludis/environments/paludis/output_managers/Makefile.am
+++ b/paludis/environments/paludis/output_managers/Makefile.am
@@ -9,7 +9,7 @@ DEFS= \
-DDATADIR=\"$(datadir)\" \
-DLIBDIR=\"$(libdir)\"
-shareenvpaludisdir = $(sharedir)/paludis/environments/paludis/output_managers
+shareenvpaludisdir = $(datarootdir)/paludis/environments/paludis/output_managers
dist_shareenvpaludis_DATA = \
logged.conf \