summaryrefslogtreecommitdiff
blob: e1375c7130bc4a13538a6a5cb2202f518d8d1320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From fcc24176398ab2f40c33ebc686c2f803782af8d6 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Sat, 15 Dec 2012 22:13:56 +0200
Subject: [PATCH] Always use DESTDIR when installing

---
 usr/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr/Makefile.am b/usr/Makefile.am
index bced120..20352d5 100644
--- a/usr/Makefile.am
+++ b/usr/Makefile.am
@@ -5,6 +5,6 @@ endif
 SUBDIRS = lib $(DAEMONDIRS)
 
 install-data-hook:
-	$(MKDIR_P) $(lockdir)
-	$(CHGRP) pkcs11 $(lockdir)
-	$(CHMOD) 0770 $(lockdir)
+	$(MKDIR_P) $(DESTDIR)$(lockdir)
+	$(CHGRP) pkcs11 $(DESTDIR)$(lockdir)
+	$(CHMOD) 0770 $(DESTDIR)$(lockdir)
-- 
1.7.8.6