mirror of
https://github.com/dynup/kpatch
synced 2025-04-26 13:07:56 +00:00
unittests: skip clean if objdir is not present
Don't try to call unittest clean if objfile dir is non-existant (e.g. when objfile submodule wasn't cloned). Another solution would be to make clean target dependant on objdir but that would mean downloading a lot of unneeded data for users who don't run unit-tests. Fixes: #872 Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
74392002de
commit
b10e0b7d82
@ -8,4 +8,4 @@ all: Makefile.include
|
|||||||
$(MAKE) -C $(OBJDIR)
|
$(MAKE) -C $(OBJDIR)
|
||||||
|
|
||||||
clean: Makefile.include
|
clean: Makefile.include
|
||||||
$(MAKE) -C $(OBJDIR) clean
|
if [ -d $(OBJDIR) ]; then $(MAKE) -C $(OBJDIR) clean; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user