From: Yann E. MORIN Date: Sun, 9 Apr 2017 08:20:19 +0000 (+0200) Subject: Makefile: generated yacc/lex/gperf source are maintainer-clean X-Git-Tag: v4.11.0.0~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=11ed31bfe7de07707b2be506b4dde4322f478b9f;p=kconfig-frontends Makefile: generated yacc/lex/gperf source are maintainer-clean Those files should not be cleaned using the standard distclean or clean rules, because they "may require special tools to rebuild" and thus should be kept, especially in released tree. They should only be removed inmaintainer mode (but a "git clean -dX" will remove them too!). Signed-off-by: "Yann E. MORIN" --- diff --git a/Makefile.am b/Makefile.am index 0142940..058690a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,6 +15,7 @@ noinst_LIBRARIES = CLEANFILES = DISTCLEANFILES = +MAINTAINERCLEANFILES = BUILT_SOURCES = #=============================================================================== @@ -96,7 +97,7 @@ BUILT_SOURCES += \ libs/parser/lconf.c # Still, .c files generated from .y files are not cleaned by default, # so yconf.c must be explicitly listed: -CLEANFILES += \ +MAINTAINERCLEANFILES += \ libs/parser/hconf.c \ libs/parser/lconf.c \ libs/parser/yconf.c