[Spice-devel] [vdagent-linux v1 2/3] build-sys: get rid of noinst_HEADERS

Victor Toso victortoso at redhat.com
Wed Sep 14 16:51:49 UTC 2016


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Regular headers file should be listed in SOURCES

Signed-off-by: Victor Toso <victortoso at redhat.com>
---
 Makefile.am | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4739c44..9bc9dd8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,10 +19,15 @@ src_spice_vdagent_LDADD =			\
 
 src_spice_vdagent_SOURCES =			\
 	src/udscs.c				\
+	src/udscs.h				\
 	src/vdagent-audio.c			\
+	src/vdagent-audio.h			\
 	src/vdagent-file-xfers.c		\
+	src/vdagent-file-xfers.h		\
+	src/vdagent-x11-priv.h			\
 	src/vdagent-x11-randr.c			\
 	src/vdagent-x11.c			\
+	src/vdagent-x11.h			\
 	src/vdagent.c				\
 	$(NULL)
 
@@ -44,10 +49,17 @@ src_spice_vdagentd_LDADD =			\
 
 src_spice_vdagentd_SOURCES =			\
 	src/vdagentd.c				\
+	src/session-info.h			\
+	src/vdagentd-proto-strings.h		\
+	src/vdagentd-proto.h			\
 	src/vdagentd-uinput.c			\
+	src/vdagentd-uinput.h			\
 	src/vdagentd-xorg-conf.c		\
+	src/vdagentd-xorg-conf.h		\
 	src/vdagent-virtio-port.c		\
+	src/vdagent-virtio-port.h		\
 	src/udscs.c				\
+	src/udscs.h				\
 	$(NULL)
 
 if HAVE_CONSOLE_KIT
@@ -60,20 +72,6 @@ src_spice_vdagentd_SOURCES += src/dummy-session-info.c
 endif
 endif
 
-noinst_HEADERS =				\
-	src/session-info.h			\
-	src/udscs.h				\
-	src/vdagent-audio.h			\
-	src/vdagent-file-xfers.h		\
-	src/vdagent-virtio-port.h		\
-	src/vdagent-x11-priv.h			\
-	src/vdagent-x11.h			\
-	src/vdagentd-proto-strings.h		\
-	src/vdagentd-proto.h			\
-	src/vdagentd-uinput.h			\
-	src/vdagentd-xorg-conf.h		\
-	$(NULL)
-
 xdgautostartdir = $(sysconfdir)/xdg/autostart
 xdgautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
 
-- 
2.9.3



More information about the Spice-devel mailing list