summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-01-22 11:13:05 +0100
committerVijay Bellur <vbellur@redhat.com>2014-01-22 20:43:29 -0800
commit0f8fb23ec622ec8f96649780804019721e1bd364 (patch)
tree51ae1d6be8e7c102b65700ffc7fa9347c2a13d06
parent9b13d17f27d65c3bff68b6c6a69cf0f02c972e73 (diff)
Create /var/run/gluster at install time
This is a backport of I67c33984a797bc92c7035724695c5ef2bbdf5267 BUG: 764655 Change-Id: I9b202bd8ede20dbf2f55af2361492f5d242547b2 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/6760 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--cli/src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/Makefile.am b/cli/src/Makefile.am
index 6370c2203bb..300c00ee922 100644
--- a/cli/src/Makefile.am
+++ b/cli/src/Makefile.am
@@ -27,3 +27,6 @@ CLEANFILES =
$(top_builddir)/libglusterfs/src/libglusterfs.la:
$(MAKE) -C $(top_builddir)/libglusterfs/src/ all
+
+install-data-hook:
+ $(mkdir_p) $(DESTDIR)$(localstatedir)/run/gluster