[farsight2/master] Only add the _doc.c file to BUILT_SOURCES if it should be built

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:25:26 PST 2008


---
 gst/fsrtpconference/Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/Makefile.am b/gst/fsrtpconference/Makefile.am
index 7d88b91..0cf7071 100644
--- a/gst/fsrtpconference/Makefile.am
+++ b/gst/fsrtpconference/Makefile.am
@@ -18,8 +18,7 @@ libfsrtpconference_la_SOURCES = gstfsrtpconference.c $(common_SOURCES)
 
 BUILT_SOURCES = \
 		fs-rtp-marshal.c \
-		fs-rtp-marshal.h \
-		gstfsrtpconference_doc.c
+		fs-rtp-marshal.h
 
 noinst_HEADERS = \
 	fs-rtp-conference.h \
@@ -64,6 +63,8 @@ libfsrtpconference_doc_la_LIBADD = $(libfsrtpconference_la_LIBADD)
 gstfsrtpconference_doc.c: gstfsrtpconference.c
 	sed -e 's:GST_PLUGIN_DEFINE:GST_PLUGIN_DEFINE_STATIC:' \
 		gstfsrtpconference.c > gstfsrtpconference_doc.c
+
+BUILT_SOURCES += gstfsrtpconference_doc.c
 endif
 
 fs-rtp-marshal.h: fs-rtp-marshal.list Makefile
-- 
1.5.6.5




More information about the farsight-commits mailing list