summaryrefslogtreecommitdiffstats
path: root/polkit
diff options
context:
space:
mode:
Diffstat (limited to 'polkit')
-rw-r--r--polkit/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/polkit/Makefile b/polkit/Makefile
index 11591ddc..3ea36b94 100644
--- a/polkit/Makefile
+++ b/polkit/Makefile
@@ -1,7 +1,9 @@
-BINDIR = /usr/bin
-LIBEXECDIR = /usr/libexec
-BINDEST = $(PREFIX)$(BINDIR)
-POLKITPOLICYDEST = $(PREFIX)/usr/share/polkit-1/actions
+DESTDIR =
+PREFIX = /usr
+BINDIR = $(PREFIX)/bin
+BINDEST = $(DESTDIR)$(BINDIR)
+LIBEXECDIR = $(PREFIX)/libexec
+POLKITPOLICYDEST = $(DESTDIR)$(PREFIX)/share/polkit-1/actions
POLICY_IN := $(wildcard *.policy.in)
POLICY = $(POLICY_IN:.policy.in=.policy)