From 4d16f38f48e276497190c8bc03abc55c40e18eed Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Thu, 4 Apr 2013 15:54:31 +0200 Subject: [PATCH] Makefile.am: install ceph-* python scripts to /usr/bin directly 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 --- src/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 09f1e934b23..5fe7da683eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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