]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefile: generated yacc/lex/gperf source are maintainer-clean
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Apr 2017 08:20:19 +0000 (10:20 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Apr 2017 08:22:06 +0000 (10:22 +0200)
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" <yann.morin.1998@free.fr>
Makefile.am

index 014294041269c4e2e83ebe288837632c48365529..058690a78656ae97b111228bff69c2bc2fdea9ef 100644 (file)
@@ -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