]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
share/mk/, etc/: Fix dependencies
authorAlejandro Colomar <alx@kernel.org>
Mon, 26 Feb 2024 12:28:29 +0000 (13:28 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 26 Feb 2024 15:12:55 +0000 (16:12 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
.checkpatch.conf
CPPLINT.cfg
etc/checkpatch/checkpatch.conf [moved from etc/checkpatch/config with 100% similarity]
etc/cpplint/cpplint.cfg [moved from etc/cpplint/CPPLINT.cfg with 100% similarity]
share/mk/lint/c/checkpatch.mk
share/mk/lint/c/clang-tidy.mk
share/mk/lint/c/cppcheck.mk
share/mk/lint/c/cpplint.mk

index b381a71794a94421b6ed19377b3dcc81b6071c3a..a614af48743208b5d496094ef6f30954e90973e6 120000 (symlink)
@@ -1 +1 @@
-etc/checkpatch/config
\ No newline at end of file
+etc/checkpatch/checkpatch.conf
\ No newline at end of file
index 766718cd04cf4728a6a3074459756c22aa3532ac..7afed40cbe58c422527be7a07a0e09ff585f7d02 120000 (symlink)
@@ -1 +1 @@
-etc/cpplint/CPPLINT.cfg
\ No newline at end of file
+etc/cpplint/cpplint.cfg
\ No newline at end of file
index d7d5f61b0a5656d4039a1e338aebf9c41a8fb505..76af2f80b7acac8c7f005d266485761899e5287d 100644 (file)
@@ -22,7 +22,7 @@ _LINT_c_checkpatch := $(filter-out $(_XFAIL_LINT_c_checkpatch), $(_LINT_c_checkp
 endif
 
 
-$(_LINT_c_checkpatch): %.lint-c.checkpatch.touch: %.c $(MK)
+$(_LINT_c_checkpatch): %.lint-c.checkpatch.touch: %.c $(CHECKPATCH_CONF) $(MK)
        $(info  $(INFO_)CHECKPATCH      $@)
        $(CHECKPATCH) $(CHECKPATCHFLAGS) -f $< >&2
        $(TOUCH) $@
index 113f611e92cca6aec17c05d457cb7bdaf916d321..fd2e53632c0d21a02fa75956e56628a7b00ce504 100644 (file)
@@ -174,7 +174,7 @@ _LINT_c_clang_tidy := $(filter-out $(_XFAIL_LINT_c_clang_tidy), $(_LINT_c_clang_
 endif
 
 
-$(_LINT_c_clang_tidy): %.lint-c.clang-tidy.touch: %.c $(MK)
+$(_LINT_c_clang_tidy): %.lint-c.clang-tidy.touch: %.c $(CLANG_TIDY_CONF) $(MK)
        $(info  $(INFO_)CLANG_TIDY      $@)
        $(CLANG_TIDY) $(CLANG_TIDYFLAGS) $< -- $(CPPFLAGS) $(CLANGFLAGS) 2>&1 \
        | $(SED) '/generated\.$$/d' >&2
index 9cdc70a5dab16030b7a9b2b9f38b17cc640a025e..5fa74ace7dc4fe3e6283ea3da03c1b084b7e0c72 100644 (file)
@@ -61,7 +61,7 @@ _LINT_c_cppcheck := $(filter-out $(_XFAIL_LINT_c_cppcheck), $(_LINT_c_cppcheck))
 endif
 
 
-$(_LINT_c_cppcheck): %.lint-c.cppcheck.touch: %.c $(MK)
+$(_LINT_c_cppcheck): %.lint-c.cppcheck.touch: %.c $(CPPCHECK_SUPPRESS) $(MK)
        $(info  $(INFO_)CPPCHECK        $@)
        $(CPPCHECK) $(CPPCHECKFLAGS) $<
        $(TOUCH) $@
index 235e8449675185af1cca4a4a3ea847e3b14101fd..8eb39846b1341bcef4946ea398d8dc80c3c0b7b5 100644 (file)
@@ -14,7 +14,7 @@ include $(MAKEFILEDIR)/configure/build-depends/cpplint.mk
 _LINT_c_cpplint := $(patsubst %.c, %.lint-c.cpplint.touch, $(_UNITS_ex_c))
 
 
-$(_LINT_c_cpplint): %.lint-c.cpplint.touch: %.c $(MK)
+$(_LINT_c_cpplint): %.lint-c.cpplint.touch: %.c $(CPPLINT_CONF) $(MK)
        $(info  $(INFO_)CPPLINT         $@)
        $(CPPLINT) $(CPPLINTFLAGS) $< >/dev/null
        $(TOUCH) $@