[Spice-devel] [PATCH 13/13] client/smartcard: add files to Makefile.am for make dist

Alon Levy alevy at redhat.com
Mon Dec 6 08:16:06 PST 2010


---
 client/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/client/Makefile.am b/client/Makefile.am
index 166ce5e..da859f4 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -28,8 +28,10 @@ else
 GL_SRCS =
 endif
 
+SMARTCARD_SRC_ENABLED = smartcard_channel.cpp smartcard_channel.h
+
 if SUPPORT_SMARTCARD
-SMARTCARD_SRCS = smartcard_channel.cpp
+SMARTCARD_SRCS = $(SMARTCARD_SRC_ENABLED)
 else
 SMARTCARD_SRCS =
 endif
@@ -140,6 +142,6 @@ GDI_FILES =				\
 
 MAINTAINERCLEANFILES = $(spice_built_sources)
 
-EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources) $(GL_SRCS) $(GDI_FILES) $(SMARTCARD_SRCS)
+EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources) $(GL_SRCS) $(GDI_FILES) $(SMARTCARD_SRC_ENABLED)
 
 BUILT_SOURCES = $(spice_built_sources)
-- 
1.7.3.2



More information about the Spice-devel mailing list