| 1 |
From d7e6b921cd34f7ad8fc4d05065c75d13ba330896 Mon Sep 17 00:00:00 2001
|
| 2 |
From: Tomas Mraz <tmraz@fedoraproject.org>
|
| 3 |
Date: Fri, 17 Aug 2012 14:46:40 +0200
|
| 4 |
Subject: [PATCH] Add missing $(DESTDIR) when making directories on install.
|
| 5 |
MIME-Version: 1.0
|
| 6 |
Content-Type: text/plain; charset=UTF-8
|
| 7 |
Content-Transfer-Encoding: 8bit
|
| 8 |
|
| 9 |
modules/pam_namespace/Makefile.am: Add missing $(DESTDIR) when making
|
| 10 |
$(namespaceddir) on install.
|
| 11 |
modules/pam_sepermit/Makefile.am: Add missing $(DESTDIR) when making
|
| 12 |
$(sepermitlockdir) on install.
|
| 13 |
|
| 14 |
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
| 15 |
---
|
| 16 |
modules/pam_namespace/Makefile.am | 2 +-
|
| 17 |
modules/pam_sepermit/Makefile.am | 2 +-
|
| 18 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
| 19 |
|
| 20 |
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
|
| 21 |
index a28f196..ebb00f3 100644
|
| 22 |
--- a/modules/pam_namespace/Makefile.am
|
| 23 |
+++ b/modules/pam_namespace/Makefile.am
|
| 24 |
@@ -40,7 +40,7 @@ if HAVE_UNSHARE
|
| 25 |
secureconf_SCRIPTS = namespace.init
|
| 26 |
|
| 27 |
install-data-local:
|
| 28 |
- mkdir -p $(namespaceddir)
|
| 29 |
+ mkdir -p $(DESTDIR)$(namespaceddir)
|
| 30 |
endif
|
| 31 |
|
| 32 |
|
| 33 |
diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am
|
| 34 |
index cfc5594..bc82275 100644
|
| 35 |
--- a/modules/pam_sepermit/Makefile.am
|
| 36 |
+++ b/modules/pam_sepermit/Makefile.am
|
| 37 |
@@ -35,7 +35,7 @@ if HAVE_LIBSELINUX
|
| 38 |
securelib_LTLIBRARIES = pam_sepermit.la
|
| 39 |
|
| 40 |
install-data-local:
|
| 41 |
- mkdir -p $(sepermitlockdir)
|
| 42 |
+ mkdir -p $(DESTDIR)$(sepermitlockdir)
|
| 43 |
endif
|
| 44 |
if ENABLE_REGENERATE_MAN
|
| 45 |
noinst_DATA = README pam_sepermit.8 sepermit.conf.5
|
| 46 |
--
|
| 47 |
1.7.8.6
|
| 48 |
|