1From bfd32d68cfc9f1e31dab88e07446d1c02bc80b5e Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 12 Feb 2015 00:39:29 -0800
4Subject: [PATCH] Makefile.am: do not ship version.h
5
6The HEADERS' name has been changed to pkginclude_HEADERS, so use
7nodist_pkginclude_HEADERS, otherwise version.h would be shipped.
8
9Upstream-Status: Pending
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 Makefile.am |    4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/Makefile.am b/Makefile.am
17index 3334790..69cd58f 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -10,11 +10,11 @@ pkginclude_HEADERS = include/types.h include/log.h include/plugin.h \
21 			include/tlv.h include/setting.h include/device.h \
22 			include/nfc_copy.h include/snep.h
23
24-nodist_include_HEADERS = include/version.h
25+nodist_pkginclude_HEADERS = include/version.h
26
27 noinst_HEADERS = include/dbus.h
28
29-local_headers = $(foreach file,$(pkginclude_HEADERS) $(nodist_include_HEADERS) \
30+local_headers = $(foreach file,$(pkginclude_HEADERS) $(nodist_pkginclude_HEADERS) \
31 			$(noinst_HEADERS), include/near/$(notdir $(file)))
32
33 gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
34--
351.7.9.5
36
37