diff options
author | Pavan Sondur <pavan@gluster.com> | 2009-11-03 05:52:53 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-03 07:29:42 -0800 |
commit | 027f3de77d56e0eeeaf42d629b7cff73af0d6920 (patch) | |
tree | ccd0074819c4ac19ecca16cb9caec14d10679a58 | |
parent | 190cbd78add970655dbfe93182961745d16240e4 (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
-rw-r--r-- | extras/Makefile.am | 6 | ||||
-rw-r--r-- | extras/glusterfs-volgen (renamed from extras/glusterfs-volgen.py) | 0 | ||||
-rw-r--r-- | glusterfs.spec.in | 1 |
3 files changed, 6 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 d3783ab248f..d3783ab248f 100644 --- a/extras/glusterfs-volgen.py +++ b/extras/glusterfs-volgen diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 044496fcb91..173b5ddc6d0 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -171,6 +171,7 @@ fi %if 0%{!?_without_client:1} %exclude %{_libdir}/glusterfs/%{version}/xlator/mount %endif +%{_bindir}/glusterfs-volgen %{_libdir}/glusterfs %{_libdir}/*.so.* %{_sbindir}/glusterfs* |