[f-spot] Ship the .addins file in FSpot.Core.



commit 2cb328e73a76194f7819f7ca83a68809b31de553
Author: Ruben Vermeersch <ruben savanne be>
Date:   Mon Aug 9 11:13:10 2010 +0200

    Ship the .addins file in FSpot.Core.

 extensions/Makefile.am                             |    6 ------
 .../Core/FSpot.Core/FSpot.Core.addins              |    0
 src/Core/FSpot.Core/FSpot.Core.csproj              |    5 +++++
 src/Core/FSpot.Core/Makefile.am                    |    4 +++-
 4 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index 628616f..5c6087c 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -3,9 +3,3 @@ SUBDIRS = 			\
 	Exporters		\
 	Tools			\
 	Transitions
-
-addinsdir = $(pkglibdir)
-addins_DATA = f-spot.global.addins
-
-EXTRA_DIST = f-spot.global.addins
-
diff --git a/extensions/f-spot.global.addins b/src/Core/FSpot.Core/FSpot.Core.addins
similarity index 100%
rename from extensions/f-spot.global.addins
rename to src/Core/FSpot.Core/FSpot.Core.addins
diff --git a/src/Core/FSpot.Core/FSpot.Core.csproj b/src/Core/FSpot.Core/FSpot.Core.csproj
index 2a42e1b..b3555f7 100644
--- a/src/Core/FSpot.Core/FSpot.Core.csproj
+++ b/src/Core/FSpot.Core/FSpot.Core.csproj
@@ -85,4 +85,9 @@
       <HintPath>..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
     </Reference>
   </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="FSpot.Core.addins">
+      <LogicalName>FSpot.Core.addins</LogicalName>
+    </EmbeddedResource>
+  </ItemGroup>
 </Project>
diff --git a/src/Core/FSpot.Core/Makefile.am b/src/Core/FSpot.Core/Makefile.am
index 9b49d01..61e438c 100644
--- a/src/Core/FSpot.Core/Makefile.am
+++ b/src/Core/FSpot.Core/Makefile.am
@@ -26,7 +26,9 @@ SOURCES =  \
 	FSpot.Core/Roll.cs \
 	FSpot.Core/Tag.cs
 
-RESOURCES =
+RESOURCES = FSpot.Core.addins
+
+module_DATA = FSpot.Core.addins
 
 include $(top_srcdir)/build/build.mk
 



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