aboutsummaryrefslogtreecommitdiff
path: root/bindings
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
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')
-rw-r--r--bindings/mono/Makefile.am7
-rw-r--r--bindings/mono/policy.2.0.appindicator-sharp.config.in (renamed from bindings/mono/policy.2.0.appindicator-sharp.config)0
2 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
diff --git a/bindings/mono/policy.2.0.appindicator-sharp.config b/bindings/mono/policy.2.0.appindicator-sharp.config.in
index dd9e6e9..dd9e6e9 100644
--- a/bindings/mono/policy.2.0.appindicator-sharp.config
+++ b/bindings/mono/policy.2.0.appindicator-sharp.config.in