From a2728539d917e3f046da56daaaa3138c8d1b8471 Mon Sep 17 00:00:00 2001 From: Alvaro Soliverez Date: Fri, 24 Feb 2012 14:16:43 -0300 Subject: [PATCH] Copy plugin-base files to gabble directory This is needed because in some platforms (eg Android) the files cannot be compiled twice. Therefore, we copy the files to gabble's directory and build there. The copied files are added to .gitignore to prevent those files from being added to the repository --- .gitignore | 5 +++++ gabble/Makefile.am | 3 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 0052753..66cee7a 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,8 @@ stamp-h1 /tests/twisted/tmp-*/ /tests/twisted/config.py /tests/twisted/with-session-bus* + +gabble/caps-manager.c +gabble/channel-manager.c +gabble/utils.c +gabble/ytstenut.c diff --git a/gabble/Makefile.am b/gabble/Makefile.am index b0d384a..4c60b92 100644 --- a/gabble/Makefile.am +++ b/gabble/Makefile.am @@ -16,6 +16,9 @@ ytstenut_gabble_la_LIBADD = \ $(TELEPATHY_YTSTENUT_LIBS) \ $(WOCKY_LIBS) +$(copied_files): + cp $(top_srcdir)/plugin-base/$@ . + copied_files = \ ytstenut.c \ caps-manager.c \ -- 1.7.7.3