summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
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 c00cdcc0f9c..9ad0442951a 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 178003cdc09..178003cdc09 100644
--- a/extras/glusterfs-volgen.py
+++ b/extras/glusterfs-volgen