aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-02-04 01:32:52 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-02-04 01:32:52 +0100
commitc58fd3faa5fa27bd1500377caa2ae4908798b0fd (patch)
tree9b4f7b784bb74a4faf5db9952587dcca172b5ebb
parent3f2a4ba6563e8d5ba35e65710dc70e81214baaf1 (diff)
downloadlibayatana-appindicator-c58fd3faa5fa27bd1500377caa2ae4908798b0fd.tar.gz
libayatana-appindicator-c58fd3faa5fa27bd1500377caa2ae4908798b0fd.tar.bz2
libayatana-appindicator-c58fd3faa5fa27bd1500377caa2ae4908798b0fd.zip
Include gir metadata file in built_sources
Now make distcheck will work ;)
-rw-r--r--src/AppIndicator-0.1.metadata.in (renamed from src/AppIndicator-0.1.metadata)0
-rw-r--r--src/AppIndicator3-0.1.metadata.in3
-rw-r--r--src/Makefile.am8
3 files changed, 10 insertions, 1 deletions
diff --git a/src/AppIndicator-0.1.metadata b/src/AppIndicator-0.1.metadata.in
index 5790ddb..5790ddb 100644
--- a/src/AppIndicator-0.1.metadata
+++ b/src/AppIndicator-0.1.metadata.in
diff --git a/src/AppIndicator3-0.1.metadata.in b/src/AppIndicator3-0.1.metadata.in
new file mode 100644
index 0000000..5790ddb
--- /dev/null
+++ b/src/AppIndicator3-0.1.metadata.in
@@ -0,0 +1,3 @@
+AppIndicator name="AppIndicator"
+Indicator.priv hidden="1"
+IndicatorPrivate hidden="1"
diff --git a/src/Makefile.am b/src/Makefile.am
index b9696c5..f83a6c4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@ BUILT_SOURCES =
EXTRA_DIST = \
appindicator-0.1.pc.in \
appindicator3-0.1.pc.in \
- AppIndicator-0.1.metadata
+ AppIndicator$(VER)-0.1.metadata.in
include $(top_srcdir)/Makefile.am.enum
include $(top_srcdir)/Makefile.am.marshal
@@ -164,6 +164,12 @@ AppIndicator3_0_1_gir_FILES = $(AppIndicator_0_1_gir_FILES)
INTROSPECTION_GIRS += AppIndicator$(VER)-0.1.gir
+AppIndicator$(VER)-0.1.metadata: AppIndicator$(VER)-0.1.gir
+ cp -f $(srcdir)/$@.in $@
+
+BUILT_SOURCES += AppIndicator$(VER)-0.1.metadata
+CLEANFILES += AppIndicator$(VER)-0.1.metadata
+
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)