From 4c2af9da565cd047f3383233682159ab92306835 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 9 Apr 2017 09:11:55 +0200 Subject: [PATCH] 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" --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #-------------------------- -- 2.39.5