common: Remove generated files only during maintainer-clean.
authorWerner Koch <wk@gnupg.org>
Tue, 8 May 2012 13:14:58 +0000 (15:14 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 8 May 2012 14:02:54 +0000 (16:02 +0200)
* common/Makefile.am (CLEANFILES): Rename to MAINTAINERCLEANFILES.
--

In general this is not required because automake does this for files
in BUILT_SOURCES anyway.  However, having them in CLEANFILES is wrong.
This is bug#1398.

common/Makefile.am

index 75b4623..0864d11 100644 (file)
@@ -27,7 +27,7 @@ TESTS = $(module_tests)
 
 BUILT_SOURCES = audit-events.h status-codes.h
 
-CLEANFILES = audit-events.h status-codes.h
+MAINTAINERCLEANFILES = audit-events.h status-codes.h
 
 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl