[f-spot] latest changes for distcleancheck



commit 525443de824fdc036f59edd5f2b6b18c9faa572d
Author: Stephane Delcroix <stephane delcroix org>
Date:   Thu May 28 09:11:52 2009 +0200

    latest changes for distcleancheck
---
 gio-sharp/gio/Makefile.am                    |   12 +++++++++---
 gio-sharp/gio/{gtk-sharp.snk => snk}         |  Bin 596 -> 596 bytes
 gtk-sharp-beans/Makefile.am                  |   14 +++++++++++---
 gtk-sharp-beans/{gtk-sharp-beans.snk => snk} |  Bin 596 -> 596 bytes
 4 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/gio-sharp/gio/Makefile.am b/gio-sharp/gio/Makefile.am
index 31c04a0..7a51e0b 100644
--- a/gio-sharp/gio/Makefile.am
+++ b/gio-sharp/gio/Makefile.am
@@ -14,7 +14,7 @@ CUSTOMS =							\
 	$(srcdir)/File.custom					\
 	$(srcdir)/FileEnumerator.custom
 
-SNK = 	$(srcdir)/gtk-sharp.snk
+SNK = 	$(srcdir)/snk
 
 ASSEMBLIES =					\
 	-pkg:glib-sharp-2.0
@@ -34,9 +34,11 @@ generated/File.cs: gio-api.xml $(CUSTOMS) $(top_builddir)/gio-sharp/generator/ga
 	@echo -e "\n*** Generating C# code"
 	$(MONO) $(top_builddir)/gio-sharp/generator/gapi_codegen.exe $(GLIBSHARP_CFLAGS) --outdir=generated --customdir=$(srcdir) --generate gio-api.xml
 
-gio-sharp.dll: generated/File.cs $(SRCS) $(SNK)
+gtk-sharp.snk: $(SNK)
+	cp $< $@
+
+gio-sharp.dll: generated/File.cs $(SRCS) gtk-sharp.snk
 	@echo -e "\n*** Building $@"
-	if ! test -e gtk-sharp.snk; then cp $(srcdir)/gtk-sharp.snk .; fi
 	$(CSC) -target:library -out:$@ $(UNSAFE) $(DEBUG) $(ASSEMBLIES) $(SRCS) generated/*.cs
 
 assemblydir = $(pkglibdir)
@@ -50,6 +52,10 @@ CLEANFILES = 			\
 	gio-sharp.dll.mdb \
 	gio-api.xml
 
+DISTCLEANFILES =		\
+	generated/*.cs		\
+	gtk-sharp.snk
+
 EXTRA_DIST =			\
 	$(SRCS)			\
 	$(CUSTOMS)		\
diff --git a/gio-sharp/gio/gtk-sharp.snk b/gio-sharp/gio/snk
similarity index 100%
rename from gio-sharp/gio/gtk-sharp.snk
rename to gio-sharp/gio/snk
diff --git a/gtk-sharp-beans/Makefile.am b/gtk-sharp-beans/Makefile.am
index 33aff02..00259c5 100644
--- a/gtk-sharp-beans/Makefile.am
+++ b/gtk-sharp-beans/Makefile.am
@@ -20,6 +20,8 @@ ASSEMBLIES =					\
 	$(LINK_GIOSHARP)			\
 	-pkg:gtk-sharp-2.0
 
+SNK = snk
+
 all: gtk-sharp-beans.dll
 
 gtk-api.xml: $(srcdir)/gtk-api.raw $(srcdir)/Gtk.metadata
@@ -32,9 +34,11 @@ gtk_generated/Builder.cs: gtk-api.xml $(GTK_CUSTOMS)
 	@echo -e "\n*** Generating C# code"
 	gapi2-codegen $(GLIBSHARP_CFLAGS) --outdir=gtk_generated --customdir=$(srcdir) --generate gtk-api.xml
 
-gtk-sharp-beans.dll: gtk_generated/Builder.cs $(SRCS) $(SNK)
+gtk-sharp-beans.snk: $(SNK)
+	cp $< $@
+
+gtk-sharp-beans.dll: gtk_generated/Builder.cs $(SRCS) gtk-sharp-beans.snk
 	@echo -e "\n*** Building $@"
-	if ! test -e gtk-sharp-beans.snk; then cp $(srcdir)/gtk-sharp-beans.snk .; fi
 	$(CSC) -target:library -out:$@ -unsafe $(ASSEMBLIES) $(SRCS) gtk_generated/*.cs
 
 CLEANFILES = 			\
@@ -42,10 +46,14 @@ CLEANFILES = 			\
 	gtk-sharp-beans.dll.mdb \
 	gtk-api.xml
 
+DISTCLEANFILES =		\
+	gtk_generated/*.cs	\
+	gtk-sharp-beans.snk
+
 EXTRA_DIST =			\
 	$(SRCS)			\
 	$(CUSTOMS)		\
-	gtk-sharp-beans.snk	\
+	$(SNK)		\
 	gtk-sharp-beans.dll.config	\
 	Gtk.metadata		\
 	gtk-api.raw
diff --git a/gtk-sharp-beans/gtk-sharp-beans.snk b/gtk-sharp-beans/snk
similarity index 100%
rename from gtk-sharp-beans/gtk-sharp-beans.snk
rename to gtk-sharp-beans/snk



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