]> granicus.if.org Git - linux-pam/commitdiff
New autotools do not create empty directories on install.
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 23 Jul 2012 16:32:16 +0000 (18:32 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 23 Jul 2012 16:32:16 +0000 (18:32 +0200)
modules/pam_namespace/Makefile.am: Add install-data-local target to create
namespaceddir.
modules/pam_sepermit/Makefile.am: Add install-data-local target to create
sepermitlockdir.

modules/pam_namespace/Makefile.am
modules/pam_sepermit/Makefile.am

index 586a5436f07bf93826f00ecc6d8c77d6f055963e..a28f1960fa736fcb22147cbf8852085e10899ccd 100644 (file)
@@ -38,7 +38,9 @@ if HAVE_UNSHARE
 
   secureconf_DATA = namespace.conf
   secureconf_SCRIPTS = namespace.init
-  namespaced_DATA =
+
+install-data-local:
+       mkdir -p $(namespaceddir)
 endif
 
 
index d1a557f62e5449407086a1a4574ff8230114b2af..cfc55947c611d7131c498a6ddb1ec00b6a85a884 100644 (file)
@@ -32,9 +32,10 @@ endif
 
 if HAVE_LIBSELINUX
   secureconf_DATA = sepermit.conf
-  sepermitlock_DATA =
-
   securelib_LTLIBRARIES = pam_sepermit.la
+
+install-data-local:
+       mkdir -p $(sepermitlockdir)
 endif
 if ENABLE_REGENERATE_MAN
 noinst_DATA = README pam_sepermit.8 sepermit.conf.5