build: Use BUILT_SOURCES for generating header files
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Jul 2011 08:03:29 +0000 (10:03 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Jul 2011 08:03:29 +0000 (10:03 +0200)
Makefile.am

index ac3999b..4fde8ce 100644 (file)
@@ -88,7 +88,9 @@ src_connmand_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ \
 src_connmand_LDFLAGS = -Wl,--export-dynamic \
                                -Wl,--version-script=$(srcdir)/src/connman.ver
 
-CLEANFILES = src/connman.conf src/builtin.h $(local_headers)
+BUILT_SOURCES = $(local_headers)
+
+CLEANFILES = src/connman.conf src/builtin.h $(BUILT_SOURCES)
 
 statedir = $(localstatedir)/run/connman