1
0
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:
Simon Ruderich 2017-10-13 08:52:16 +02:00
parent 14706bcd4d
commit 554e8839e3

View File

@ -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