aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-18 10:57:02 -0500
committerTed Gould <ted@gould.cx>2010-06-18 10:57:02 -0500
commitc0f64171958d491764b961278e0947b7a19d570c (patch)
treeb64acbe9433365fcbc0c81dc80c50093baeeb127 /bindings/mono/Makefile.am
parent5ea2df7ffe6c3f84353a696caa3e34e9ad97c09f (diff)
downloadlibayatana-appindicator-c0f64171958d491764b961278e0947b7a19d570c.tar.gz
libayatana-appindicator-c0f64171958d491764b961278e0947b7a19d570c.tar.bz2
libayatana-appindicator-c0f64171958d491764b961278e0947b7a19d570c.zip
Readjusting so that the policy file is in the same directory as the DLL
Diffstat (limited to 'bindings/mono/Makefile.am')
-rw-r--r--bindings/mono/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am
index 97b4f26..41eea3f 100644
--- a/bindings/mono/Makefile.am
+++ b/bindings/mono/Makefile.am
@@ -27,7 +27,7 @@ EXTRA_DIST = \
appindicator-sharp.dll.config.in \
app-indicator.sources.xml \
$(ASSEMBLY_NAME).snk \
- policy.2.0.$(ASSEMBLY_NAME).config \
+ policy.2.0.$(ASSEMBLY_NAME).config.in \
$(customs) \
$(TEST_SOURCES)
@@ -86,6 +86,9 @@ $(TEST): $(ASSEMBLY) $(TEST_SOURCES)
all: $(TEST)
+policy.2.0.$(ASSEMBLY_NAME).config: policy.2.0.$(ASSEMBLY_NAME).config.in Makefile
+ cp $< $@
+
$(DLLPOLICY): policy.2.0.$(ASSEMBLY_NAME).config $(ASSEMBLY_NAME).snk Makefile
- (cd $(srcdir) ; $(AL) -link:policy.2.0.$(ASSEMBLY_NAME).config -out:$(abs_builddir)/$(DLLPOLICY) -keyfile:$(ASSEMBLY_NAME).snk)
+ $(AL) -link:policy.2.0.$(ASSEMBLY_NAME).config -out:$(DLLPOLICY) -keyfile:$(srcdir)/$(ASSEMBLY_NAME).snk