summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2009-11-03 05:52:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-03 07:29:42 -0800
commit027f3de77d56e0eeeaf42d629b7cff73af0d6920 (patch)
treeccd0074819c4ac19ecca16cb9caec14d10679a58 /extras
parent190cbd78add970655dbfe93182961745d16240e4 (diff)
Include glusterfs-volgen in the rpm build.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 343 (GlusterFS volume generator - 'volgen') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=343
Diffstat (limited to 'extras')
-rw-r--r--extras/Makefile.am6
-rw-r--r--extras/glusterfs-volgen (renamed from extras/glusterfs-volgen.py)0
2 files changed, 5 insertions, 1 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index c00cdcc..9ad0442 100644
--- a/extras/Makefile.am
+++ b/extras/Makefile.am
@@ -5,7 +5,11 @@ EditorMode_DATA = glusterfs-mode.el glusterfs.vim
SUBDIRS = init.d benchmarking
-EXTRA_DIST = specgen.scm MacOSX/Portfile glusterfs-mode.el glusterfs.vim migrate-unify-to-distribute.sh backend-xattr-sanitize.sh glusterfs-volgen.py
+EXTRA_DIST = specgen.scm MacOSX/Portfile glusterfs-mode.el glusterfs.vim migrate-unify-to-distribute.sh backend-xattr-sanitize.sh
+dist_bin_SCRIPTS = glusterfs-volgen
+
+install-exec-hook:
+ chmod 755 $(DESTDIR)$(bindir)/glusterfs-volgen
CLEANFILES =
diff --git a/extras/glusterfs-volgen.py b/extras/glusterfs-volgen
index d3783ab..d3783ab 100644
--- a/extras/glusterfs-volgen.py
+++ b/extras/glusterfs-volgen