aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-14 09:59:12 -0600
committerTed Gould <ted@gould.cx>2009-12-14 09:59:12 -0600
commit04e218db5fd996ebb04503949ff73584b73c80a9 (patch)
tree1b8cef1ca9a9db98f77d4a712bd3e1984c4a9c18 /bindings
parentaebb91e11ed149e1f48e9f05e3d4680304f42620 (diff)
downloadayatana-indicator-application-04e218db5fd996ebb04503949ff73584b73c80a9.tar.gz
ayatana-indicator-application-04e218db5fd996ebb04503949ff73584b73c80a9.tar.bz2
ayatana-indicator-application-04e218db5fd996ebb04503949ff73584b73c80a9.zip
Adding the test files to dist and making sure we find them in the right directory.
Diffstat (limited to 'bindings')
-rw-r--r--bindings/mono/Makefile.am14
1 files changed, 10 insertions, 4 deletions
diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am
index cfae87a..b03cde8 100644
--- a/bindings/mono/Makefile.am
+++ b/bindings/mono/Makefile.am
@@ -15,7 +15,13 @@ assemblydir = $(libdir)/appindicator-sharp
assembly_DATA = $(TARGET)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb generated-stamp generated/*.cs $(API) $(RAW_API) $(TEST)
DISTCLEANFILES = $(ASSEMBLY).config
-EXTRA_DIST = $(RAW_API) $(METADATA) appindicator-sharp-0.1.pc.in appindicator-sharp.dll.config.in app-indicator.sources.xml
+EXTRA_DIST = \
+ $(RAW_API) \
+ $(METADATA) \
+ appindicator-sharp-0.1.pc.in \
+ appindicator-sharp.dll.config.in \
+ app-indicator.sources.xml \
+ $(TEST_SOURCES)
TEST_SOURCES = TestIndicator.cs
@@ -43,9 +49,9 @@ generated-stamp: $(API)
$(ASSEMBLY): generated-stamp
@rm -f $(ASSEMBLY).mdb
- $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(references) $(GENERATED_SOURCES)
+ $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(references) $(builddir)/$(GENERATED_SOURCES)
-$(TEST): $(ASSEMBLY)
- $(CSC) -out:$(TEST) -target:library $(test_references) $(TEST_SOURCES)
+$(TEST): $(ASSEMBLY) $(TEST_SOURCES)
+ $(CSC) -out:$(TEST) -target:library $(test_references) $(srcdir)/$(TEST_SOURCES)
all: $(TEST)