mirror of
https://github.com/dynup/kpatch
synced 2025-03-25 04:16:39 +00:00
Makefile: add check target to run shellcheck
This commit is contained in:
parent
14706bcd4d
commit
554e8839e3
5
Makefile
5
Makefile
@ -6,7 +6,7 @@ INSTALL_DIRS = $(SUBDIRS:%=install-%)
|
||||
UNINSTALL_DIRS = $(SUBDIRS:%=uninstall-%)
|
||||
CLEAN_DIRS = $(SUBDIRS:%=clean-%)
|
||||
|
||||
.PHONY: all install uninstall clean
|
||||
.PHONY: all install uninstall clean check
|
||||
.PHONY: $(SUBDIRS) $(BUILD_DIRS) $(INSTALL_DIRS) $(CLEAN_DIRS)
|
||||
|
||||
|
||||
@ -25,3 +25,6 @@ $(UNINSTALL_DIRS):
|
||||
clean: $(CLEAN_DIRS)
|
||||
$(CLEAN_DIRS):
|
||||
$(MAKE) -C $(@:clean-%=%) clean
|
||||
|
||||
check:
|
||||
shellcheck kpatch/kpatch kpatch-build/kpatch-build kpatch-build/kpatch-gcc
|
||||
|
Loading…
Reference in New Issue
Block a user