mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
make clean: fix
When running 'make clean' from the top dir, the following error happens: make[3]: Leaving directory `/vz/kir/git/criu/test/zdtm/live/static' make[2]: Leaving directory `/vz/kir/git/criu/test/zdtm/live' set -e; for d in lib live; do make -C $d cleanout; done make[2]: Entering directory `/vz/kir/git/criu/test/zdtm/lib' make[2]: *** No rule to make target `cleanout'. Stop. make[2]: Leaving directory `/vz/kir/git/criu/test/zdtm/lib' make[1]: *** [cleanout] Error 2 make[1]: Leaving directory `/vz/kir/git/criu/test/zdtm' make: *** [clean] Error 2 Fix by adding dummy cleanout target to test/zdtm/lib/Makefile Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
40492dc33d
commit
55fca14c80
1 changed files with 4 additions and 1 deletions
|
|
@ -26,9 +26,12 @@ clean:
|
|||
cleandep:
|
||||
$(RM) -f $(LIBDEP)
|
||||
|
||||
cleanout:
|
||||
@true
|
||||
|
||||
realclean: clean cleandep
|
||||
|
||||
.PHONY: clean cleandep realclean
|
||||
.PHONY: clean cleandep cleanout realclean
|
||||
|
||||
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
|
||||
-include $(LIBDEP)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue