diff options
author | Kir Kolyshkin <kir@openvz.org> | 2017-02-23 02:15:43 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@virtuozzo.com> | 2017-03-06 20:44:08 +0300 |
commit | e906f7cdd5dadd1f7cc4ed55680452d9aaac8184 (patch) | |
tree | fffced884b90044664473a463fe290169ef3e2dc /Makefile.install | |
parent | 2a9d9c66150e20e0d9ef13b42cfb083e2a4d2d38 (diff) |
Makefile.install: fix uninstall target
It was not working:
> $ make DESTDIR=`pwd`/inst3 uninstall
> UNINSTALL crit.1
> UNINSTALL criu.8
> UNINSTALL libcriu.so
> UNINSTALL pkgconfig/criu.pc
> UNINSTALL crit
> /media/ts/kir/git/criu/scripts/nmk/scripts/build.mk:83: criu/arch/x86/Makefile: Not a directory
> make[2]: *** No rule to make target 'criu/arch/x86/Makefile'. Stop.
> Makefile:48: recipe for target 'criu/arch/x86/crtools.built-in.o' failed
> make[1]: *** [criu/arch/x86/crtools.built-in.o] Error 2
> Makefile.install:49: recipe for target 'uninstall' failed
> make: *** [uninstall] Error 2
This is a fix to commit 7a36048 ("build/make: return to make from top
directory").
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'Makefile.install')
-rw-r--r-- | Makefile.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.install b/Makefile.install index a2ebde3e8..7c3da2027 100644 --- a/Makefile.install +++ b/Makefile.install @@ -43,5 +43,5 @@ install: install-man install-lib install-criu uninstall: $(Q) $(MAKE) -C Documentation $@ $(Q) $(MAKE) $(build)=lib $@ - $(Q) $(MAKE) -C criu $@ + $(Q) $(MAKE) $(build)=criu $@ .PHONY: uninstall |