[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] [PATCH mediastreamer2] Make alldescs.h depend

From: Simon Morlat
Subject: Re: [Linphone-developers] [PATCH mediastreamer2] Make alldescs.h depend on Makefile.
Date: Tue, 22 Nov 2011 12:50:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111031 Thunderbird/7.0.1

Hi Thierry,

Thanks for your patches.
I integrated all of them in the git tree.



On 15/11/2011 16:07, Thierry Reding wrote:
The dependency on is not enough. If mediastreamer2 is
reconfigured, the libmediastreamer_la_SOURCES variable in Makefile may
change as a result, requiring a rebuild of alldescs.h, even if is untouched.
  src/ |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/ b/src/
index 293cdda..fee7a1a 100644
--- a/src/
+++ b/src/
@@ -188,7 +188,7 @@ endif

-alldescs.h: $(libmediastreamer_la_SOURCES)
+alldescs.h:    Makefile $(libmediastreamer_la_SOURCES)
        builddir=`pwd`&&  cd $(srcdir)&&  \
        awk 'BEGIN { FS="[()]" ; }; /^\t*MS_FILTER_DESC_EXPORT/{ printf("%s\n", $$2) } 
'>  $$builddir/filterdescs.txt $(libmediastreamer_la_SOURCES)&&  \
        awk 'BEGIN { print("#include \"mediastreamer2/msfilter.h\"\n") } { printf("extern 
MSFilterDesc %s;\n",$$1) } ' $$builddir/filterdescs.txt>  $$builddir/$@&&  \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]