Relocate {prefix}/lib/rpm under {libdir}/rpm
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 18 May 2012 15:20:15 +0000 (18:20 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 9 Jun 2014 09:26:42 +0000 (12:26 +0300)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
configure.ac
rpm.am

index 536a115..c5b797e 100644 (file)
@@ -883,7 +883,7 @@ else
     usrprefix=$prefix
 fi
 
-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
+RPMCONFIGDIR="`echo ${libdir}/rpm`"
 AC_SUBST(RPMCONFIGDIR)
 
 AC_SUBST(OBJDUMP)
diff --git a/rpm.am b/rpm.am
index d3bad87..1f2303a 100644 (file)
--- a/rpm.am
+++ b/rpm.am
@@ -1,7 +1,7 @@
 # Internal binaries
 ## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
-rpmlibexecdir = $(prefix)/lib/rpm
+rpmlibexecdir = $(libdir)/rpm
 
 # Host independent config files
 ## HACK: it probably should be $(datadir)/rpm
-rpmconfigdir = $(prefix)/lib/rpm
+rpmconfigdir = $(libdir)/rpm