Skip to content
Browse files

Avoid copying around .snk file meaninglessly

  • Loading branch information...
1 parent d8f3aeb commit c14a63139fd3ed3f13072da6d4c3a9f57b0f2534 @hyperair hyperair committed Jul 8, 2010
Showing with 4 additions and 8 deletions.
  1. +0 −1 GKeyFile/AssemblyInfo.cs.in
  2. +4 −7 GKeyFile/Makefile.am
View
1 GKeyFile/AssemblyInfo.cs.in
@@ -3,4 +3,3 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(false)]
-[assembly:AssemblyKeyFile("gkeyfile-sharp.snk")]
View
11 GKeyFile/Makefile.am
@@ -8,9 +8,9 @@ ASSEMBLY= $(ASSEMBLY_NAME).dll
CODEGEN=gapi2-codegen
FIXUP=gapi2-fixup
-sources =
+sources = AssemblyInfo.cs
-build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
+build_sources = $(addprefix $(srcdir)/, $(sources))
customs = GKeyFile.custom
@@ -33,11 +33,8 @@ $(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
generated-stamp: $(API)
$(CODEGEN) --generate $(srcdir)/$(API) $(GLIB_SHARP_CFLAGS) --outdir=generated --customdir=$(srcdir) --assembly-name=gkeyfile-sharp && touch generated-stamp
-gkeyfile-sharp.snk: $(top_srcdir)/gkeyfile-sharp.snk
- cp $(top_srcdir)/gkeyfile-sharp.snk .
-
-gkeyfile-sharp.dll: $(build_sources) generated-stamp gkeyfile-sharp.snk
- $(CSC) -out:gkeyfile-sharp.dll -unsafe -target:library $(GLIB_SHARP_LIBS) \
+gkeyfile-sharp.dll: $(build_sources) generated-stamp
+ $(CSC) -keyfile:$(top_srcdir)/gkeyfile-sharp.snk -out:gkeyfile-sharp.dll -unsafe -target:library $(GLIB_SHARP_LIBS) \
$(build_sources) $(GENERATED_SOURCES)
install-data-local:

0 comments on commit c14a631

Please sign in to comment.
Something went wrong with that request. Please try again.