From aa9bdf2e3da158323676980c85dd27dac4a19193 Mon Sep 17 00:00:00 2001 From: Alvaro Soliverez Date: Mon, 27 Feb 2012 11:35:57 -0300 Subject: Copy plugin-base files to salut directory This is needed because in some platforms (eg Android) the files cannot be compiled twice. Therefore, we copy the files to salut's directory and build there. The copied files are added to .gitignore to prevent those files from being added to the repository --- .gitignore | 5 +++++ salut/Makefile.am | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 66cee7a..25cd052 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,8 @@ gabble/caps-manager.c gabble/channel-manager.c gabble/utils.c gabble/ytstenut.c + +salut/caps-manager.c +salut/channel-manager.c +salut/utils.c +salut/ytstenut.c diff --git a/salut/Makefile.am b/salut/Makefile.am index ffe3bc2..0267b4d 100644 --- a/salut/Makefile.am +++ b/salut/Makefile.am @@ -16,6 +16,9 @@ ytstenut_salut_la_LIBADD = \ $(TELEPATHY_YTSTENUT_LIBS) \ $(WOCKY_LIBS) +$(copied_files): + cp $(top_srcdir)/plugin-base/$@ . + copied_files = \ ytstenut.c \ caps-manager.c \ -- cgit v1.2.3