mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
compel Makefiles: simplify headers [un]install
* install 'cp' can copy recursively, create directories, and even dereference symlinks. Everything we have in uapi/ is to be installed. NOTE we can't use -r for compel includes, as there is some extra stuff in there we don't want to take with us (in particular, plugins/ and 'compel -> .' symlinks). * uninstall rm -rf everything under compel includedir While at it, fix some minor things here and there. Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com> Acked-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
31eab3e36d
commit
ef849f2df8
2 changed files with 5 additions and 14 deletions
|
|
@ -84,10 +84,8 @@ install: compel/plugins/std.built-in.o
|
|||
$(Q) mkdir -p $(DESTDIR)$(LIBEXECDIR)/compel/scripts
|
||||
$(Q) install -m 0644 compel/arch/$(ARCH)/scripts/compel-pack.lds.S $(DESTDIR)$(LIBEXECDIR)/compel/scripts
|
||||
$(E) " INSTALL " compel plugins uapi
|
||||
$(Q) mkdir -p $(DESTDIR)$(INCLUDEDIR)/compel/plugins/std/asm
|
||||
$(Q) cp -fr compel/include/uapi/compel/plugins/plugin-std.h $(DESTDIR)$(INCLUDEDIR)/compel/plugins
|
||||
$(Q) cp -fr compel/include/uapi/compel/plugins/std/*.h $(DESTDIR)$(INCLUDEDIR)/compel/plugins/std
|
||||
$(Q) cp -fr compel/arch/$(ARCH)/plugins/include/asm/syscall-types.h $(DESTDIR)$(INCLUDEDIR)/compel/plugins/std/asm
|
||||
$(Q) mkdir -p $(DESTDIR)$(INCLUDEDIR)/compel/plugins
|
||||
$(Q) cp -frL compel/plugins/include/uapi/* $(DESTDIR)$(INCLUDEDIR)/compel/plugins/
|
||||
.PHONY: install
|
||||
|
||||
uninstall:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue