Diff between d7f192abc05f03abf2a7b94484a864f52e4dbe29 and c5d2a5e5700189fa462ac6cb7523b8ef955ce763

Changed Files

File Additions Deletions Status
Makefile.am +2 -3 modified

Full Patch

diff --git a/Makefile.am b/Makefile.am
index f61c9a8..2b5701c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,6 +53,8 @@ lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h lib/mgmt.h \
 		lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h
 local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file)))
 
+BUILT_SOURCES = $(local_headers)
+
 include_HEADERS += $(lib_headers)
 
 lib_LTLIBRARIES += lib/libbluetooth.la
@@ -62,9 +64,6 @@ lib_libbluetooth_la_SOURCES = $(lib_headers) \
 lib_libbluetooth_la_LDFLAGS = -version-info 14:3:11
 lib_libbluetooth_la_DEPENDENCIES = $(local_headers)
 
-CLEANFILES += $(local_headers)
-
-
 if SBC
 noinst_LTLIBRARIES += sbc/libsbc.la