Add the targets "includecheck" and "versioncheck" to no-dot-config-targets, and make a number of targets PHONY. Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> --- feel free to tweak if i missed anything. diff --git a/Makefile b/Makefile index 67cc457..023c085 100644 --- a/Makefile +++ b/Makefile @@ -390,7 +390,8 @@ endif no-dot-config-targets := clean mrproper distclean \ cscope TAGS tags help %docs check% \ include/linux/version.h headers_% \ - kernelrelease kernelversion + kernelrelease kernelversion includecheck \ + versioncheck config-targets := 0 mixed-targets := 0 @@ -1441,6 +1442,8 @@ tags: FORCE # Scripts to check various things for consistency # --------------------------------------------------------------------------- +PHONY += includecheck versioncheck namespacecheck export_report + includecheck: find * $(RCS_FIND_IGNORE) \ -name '*.[hcS]' -type f -print | sort \ ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== - To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html