]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefile: cleaning .pc belongs to distclean
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Apr 2017 07:11:55 +0000 (09:11 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Apr 2017 07:11:55 +0000 (09:11 +0200)
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" <yann.morin.1998@free.fr>
Makefile.am

index 020659b69c48e141c2aa2ff155a6a62d855ebabd..4106131eb07293ac48b8b5f4c9bc579797d820b7 100644 (file)
@@ -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
 
 #--------------------------