aboutsummaryrefslogtreecommitdiffstats
path: root/Make.Rules
diff options
context:
space:
mode:
authorBenedikt Morbach <benedikt.morbach@googlemail.com>2014-05-20 23:30:53 +0200
committerAndrew G Morgan <morgan@kernel.org>2014-05-31 13:19:10 -0700
commit0ee94211e95096750ede752acd13b163aa6d5046 (patch)
tree9886ea7d4c85b9b3f416007e6e1693f52bf63eba /Make.Rules
parentaefbe6a08325798814932efe6c390417468c1e25 (diff)
downloadlibcap-0ee94211e95096750ede752acd13b163aa6d5046.tar.gz
don't include FAKEROOT in Makefile variables
instead, prepend it when actually using them. This makes the variables more useful for specifying on the make invocation, as you don't have to repeat your FAKEROOT/DESTDIR for every variable you want to set. Just like you can set 'lib' without specifying lib_prefix. compare: make DESTDIR="${somevar}" prefix=/usr/local LIBDIR="${somevar}"/usr/local/lib96 MANDIR="${somevar}"/usr/share/man to: make DESTDIR="${somevar}" prefix=/usr/local LIBDIR=/usr/local/lib96 MANDIR=/usr/share/man Signed-off-by: Andrew G Morgan <morgan@kernel.org>
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/Make.Rules b/Make.Rules
index 882b033..18b7cf7 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -31,11 +31,11 @@ endif
# Target directories
-MANDIR=$(FAKEROOT)$(man_prefix)/man
-SBINDIR=$(FAKEROOT)$(exec_prefix)/sbin
-INCDIR=$(FAKEROOT)$(inc_prefix)/include
-LIBDIR=$(FAKEROOT)$(lib_prefix)/$(lib)
-PKGCONFIGDIR=$(FAKEROOT)$(prefix)/$(lib)/pkgconfig
+MANDIR=$(man_prefix)/man
+SBINDIR=$(exec_prefix)/sbin
+INCDIR=$(inc_prefix)/include
+LIBDIR=$(lib_prefix)/$(lib)
+PKGCONFIGDIR=$(prefix)/$(lib)/pkgconfig
# common defines for libcap
LIBTITLE=libcap