]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile.am: install ceph-* python scripts to /usr/bin directly
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 4 Apr 2013 13:54:31 +0000 (15:54 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 4 Apr 2013 13:54:31 +0000 (15:54 +0200)
Install ceph-* scripts directly to $(prefix)$(sbindir) (which
normaly would be /usr/sbin) instead of moving it around after
installation in SPEC file or debian files.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/Makefile.am

index 09f1e934b23a80932ef22ec401a730436b25555a..5fe7da683eb2aa563e09757728b12e67fd354cc1 100644 (file)
@@ -27,12 +27,17 @@ bin_PROGRAMS =
 # like bin_PROGRAMS, but these targets are only built for debug builds
 bin_DEBUGPROGRAMS =
 sbin_PROGRAMS =
-sbin_SCRIPTS = \
+# like sbin_SCRIPTS but can be used to install to e.g. /usr/sbin
+ceph_sbindir = $(prefix)$(sbindir)
+ceph_sbin_SCRIPTS = \
        ceph-disk \
        ceph-disk-prepare \
        ceph-disk-activate \
-       ceph-create-keys \
+       ceph-create-keys
+
+sbin_SCRIPTS = \
        mount.fuse.ceph
+
 bin_SCRIPTS = ceph-run $(srcdir)/ceph-clsinfo ceph-debugpack ceph-rbdnamer
 dist_bin_SCRIPTS =
 # C/C++ tests to build will be appended to this