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 13:14:58 +0000 (15:14 +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 b9cba11..e0f4b80 100644 (file)
@@ -30,7 +30,7 @@ TESTS = $(jnlib_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