From: Yann E. MORIN Date: Sun, 9 Apr 2017 07:11:55 +0000 (+0200) Subject: Makefile: cleaning .pc belongs to distclean X-Git-Tag: v4.11.0.0~7 X-Git-Url: https://git.sur5r.net/?p=kconfig-frontends;a=commitdiff_plain;h=4c2af9da565cd047f3383233682159ab92306835 Makefile: cleaning .pc belongs to distclean As suggested by the standard, documented heuristic in automake, files created by ./configure should be removed by distclean, not clean: https://www.gnu.org/software/automake/manual/automake.html#Clean Signed-off-by: "Yann E. MORIN" --- diff --git a/Makefile.am b/Makefile.am index 020659b..4106131 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,6 +14,7 @@ lib_LTLIBRARIES = noinst_LIBRARIES = CLEANFILES = +DISTCLEANFILES = BUILT_SOURCES = #=============================================================================== @@ -95,7 +96,7 @@ EXTRA_DIST += libs/parser/hconf.c libs/parser/yconf.y.patch # libs/parser/kconfig-parser.pc generated by AC_CONFIG_FILES in configure.ac pkgconfigdir = $(libdir)/pkg-config pkgconfig_DATA = libs/parser/kconfig-parser.pc -CLEANFILES += libs/parser/kconfig-parser.pc +DISTCLEANFILES += libs/parser/kconfig-parser.pc EXTRA_DIST += libs/parser/kconfig-parser.pc.in #--------------------------