Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kir@openvz.org>2016-12-17 14:22:12 +0300
committerAndrei Vagin <avagin@virtuozzo.com>2017-03-15 00:09:56 +0300
commitd4ddc01654035900f7d4dbbde1ec06ee15062f56 (patch)
treed40723f999eca2f18bfb49c02d9af8f28ca5e244 /compel/Makefile
parent9f41af0325dade01d7fbf8aad4e96b70ecd3d664 (diff)
compel/Makefile: install to bin not sbin
compel tool doesn't need to be run as root, so it makes no sense to install it to SBINDIR. Fix to use BINDIR. travis-ci: success for More polishing for compel cli Signed-off-by: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'compel/Makefile')
-rw-r--r--compel/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/compel/Makefile b/compel/Makefile
index 670654e0e..8920281fb 100644
--- a/compel/Makefile
+++ b/compel/Makefile
@@ -59,8 +59,8 @@ cleanup-y += compel/libcompel.so
install: compel/compel compel/$(LIBCOMPEL_SO) compel/$(LIBCOMPEL_A)
$(E) " INSTALL " compel
- $(Q) mkdir -p $(DESTDIR)$(SBINDIR)
- $(Q) install -m 755 compel/compel $(DESTDIR)$(SBINDIR)
+ $(Q) mkdir -p $(DESTDIR)$(BINDIR)
+ $(Q) install -m 755 compel/compel $(DESTDIR)$(BINDIR)
$(E) " INSTALL " $(LIBCOMPEL_SO)
$(Q) mkdir -p $(DESTDIR)$(LIBDIR)
$(Q) install -m 0644 compel/$(LIBCOMPEL_SO) $(DESTDIR)$(LIBDIR)
@@ -80,7 +80,7 @@ install: compel/compel compel/$(LIBCOMPEL_SO) compel/$(LIBCOMPEL_A)
uninstall:
$(E) " UNINSTALL" compel
- $(Q) $(RM) $(addprefix $(DESTDIR)$(SBINDIR)/,compel)
+ $(Q) $(RM) $(addprefix $(DESTDIR)$(BINDIR)/,compel)
$(E) " UNINSTALL" $(LIBCOMPEL_SO)
$(Q) $(RM) $(addprefix $(DESTDIR)$(LIBDIR)/,$(LIBCOMPEL_SO))
$(Q) $(RM) $(addprefix $(DESTDIR)$(LIBDIR)/,$(LIBCOMPEL_SO).$(COMPEL_SO_VERSION_MAJOR))