aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-11 23:09:15 -0600
committerTed Gould <ted@gould.cx>2010-01-11 23:09:15 -0600
commitd09369be71290ebe8bf1afe645c2382260347f81 (patch)
treecf44eb2d714195563c81703f1e183152867aafeb /bindings/mono/Makefile.am
parent9c04a328f97257e951b382262a0c38f4438d46b3 (diff)
parentaf45b19e657e5652c534d8019e1f6a374cbfcc4d (diff)
downloadayatana-indicator-application-d09369be71290ebe8bf1afe645c2382260347f81.tar.gz
ayatana-indicator-application-d09369be71290ebe8bf1afe645c2382260347f81.tar.bz2
ayatana-indicator-application-d09369be71290ebe8bf1afe645c2382260347f81.zip
Cody's customs
Diffstat (limited to 'bindings/mono/Makefile.am')
-rw-r--r--bindings/mono/Makefile.am23
1 files changed, 13 insertions, 10 deletions
diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am
index d8a0222..dbefc6d 100644
--- a/bindings/mono/Makefile.am
+++ b/bindings/mono/Makefile.am
@@ -17,15 +17,16 @@ assembly_DATA = $(TARGET)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb generated-stamp generated/*.cs $(API) $(RAW_API) $(TEST)
DISTCLEANFILES = $(ASSEMBLY).config
TEST_SOURCES = TestIndicator.cs
-EXTRA_DIST = \
- $(RAW_API) \
- $(METADATA) \
- appindicator-sharp-0.1.pc.in \
- appindicator-sharp.dll.config.in \
- app-indicator.sources.xml \
- $(ASSEMBLY_NAME).snk \
- $(TEST_SOURCES) \
- $(customs)
+customs = ApplicationIndicator.custom
+EXTRA_DIST = \
+ $(RAW_API) \
+ $(METADATA) \
+ appindicator-sharp-0.1.pc.in \
+ appindicator-sharp.dll.config.in \
+ app-indicator.sources.xml \
+ $(ASSEMBLY_NAME).snk \
+ $(customs) \
+ $(TEST_SOURCES)
GACUTIL_FLAGS="-package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"
@@ -67,10 +68,12 @@ $(API): $(MIDDLE_API) Makefile.am
api_includes = $(GTK_SHARP_CFLAGS)
+build_customs = $(addprefix $(srcdir)/, $(customs))
+
generated-stamp: $(API) $(build_customs)
rm -f generated/* && \
$(GAPI_CODEGEN) --generate $(API) $(api_includes) \
- --customdir=$(srcdir) \
+ --customdir=$(srcdir) \
--outdir=generated --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp