[totem] Add git.mk support



commit 05b427a509e77a755e6b275b814f64c5a905fde5
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Sep 4 17:11:22 2010 +0100

    Add git.mk support
    
    Add git.mk from Pango to automatically generate and update .gitignore files.

 .gitignore                                    |  142 -------------------
 Makefile.am                                   |    1 +
 browser-plugin/Makefile.am                    |    2 +
 data/Makefile.am                              |    2 +
 data/icons/16x16/Makefile.am                  |    2 +
 data/icons/22x22/Makefile.am                  |    2 +
 data/icons/24x24/Makefile.am                  |    2 +
 data/icons/32x32/Makefile.am                  |    2 +
 data/icons/48x48/Makefile.am                  |    2 +
 data/icons/Makefile.am                        |    2 +
 data/icons/scalable/Makefile.am               |    2 +
 docs/Makefile.am                              |    2 +
 docs/reference/Makefile.am                    |    2 +
 git.mk                                        |  187 +++++++++++++++++++++++++
 help/Makefile.am                              |    1 +
 lib/Makefile.am                               |    1 +
 src/Makefile.am                               |    2 +
 src/backend/Makefile.am                       |    2 +
 src/plugins/Makefile.am                       |    1 +
 src/plugins/bemused/Makefile.am               |    1 +
 src/plugins/brasero-disc-recorder/Makefile.am |    1 +
 src/plugins/chapters/Makefile.am              |    1 +
 src/plugins/coherence_upnp/Makefile.am        |    2 +
 src/plugins/dbus-service/Makefile.am          |    2 +
 src/plugins/galago/Makefile.am                |    2 +
 src/plugins/gromit/Makefile.am                |    1 +
 src/plugins/iplayer/Makefile.am               |    2 +
 src/plugins/jamendo/Makefile.am               |    2 +
 src/plugins/lirc/Makefile.am                  |    1 +
 src/plugins/media-player-keys/Makefile.am     |    1 +
 src/plugins/mythtv/Makefile.am                |    1 +
 src/plugins/ontop/Makefile.am                 |    1 +
 src/plugins/opensubtitles/Makefile.am         |    2 +
 src/plugins/properties/Makefile.am            |    1 +
 src/plugins/publish/Makefile.am               |    2 +
 src/plugins/pythonconsole/Makefile.am         |    2 +
 src/plugins/sample-python/Makefile.am         |    2 +
 src/plugins/sample-vala/Makefile.am           |    2 +
 src/plugins/screensaver/Makefile.am           |    1 +
 src/plugins/screenshot/Makefile.am            |    2 +
 src/plugins/sidebar-test/Makefile.am          |    1 +
 src/plugins/skipto/Makefile.am                |    2 +
 src/plugins/thumbnail/Makefile.am             |    1 +
 src/plugins/tracker/Makefile.am               |    1 +
 src/plugins/youtube/Makefile.am               |    1 +
 45 files changed, 255 insertions(+), 142 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index efe0da8..447abc2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,3 +36,4 @@ dist: ChangeLog
 
 .PHONY: ChangeLog
 
+-include $(top_srcdir)/git.mk
diff --git a/browser-plugin/Makefile.am b/browser-plugin/Makefile.am
index ee1ff21..872a064 100644
--- a/browser-plugin/Makefile.am
+++ b/browser-plugin/Makefile.am
@@ -383,3 +383,5 @@ libtotem_cone_plugin_la_LDFLAGS = \
 	$(AM_LDFLAGS)
 
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/data/Makefile.am b/data/Makefile.am
index 693690d..d1c0b49 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -97,3 +97,5 @@ CLEANFILES = \
 DISTCLEANFILES = $(gsettings_SCHEMAS)
 
 MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 6d98ee6..18710f9 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -5,3 +5,5 @@ tvicondir = $(datadir)/icons/hicolor/16x16/devices/
 tvicon_DATA = totem-tv.png
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA) totem-tv.svg
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index 3fce578..dd3c4a1 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -5,3 +5,5 @@ tvicondir = $(datadir)/icons/hicolor/22x22/devices/
 tvicon_DATA = totem-tv.png
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA) totem-tv.svg
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
index d40cb46..9c5fb42 100644
--- a/data/icons/24x24/Makefile.am
+++ b/data/icons/24x24/Makefile.am
@@ -5,3 +5,5 @@ tvicondir = $(datadir)/icons/hicolor/24x24/devices/
 tvicon_DATA = totem-tv.png
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
index ec42608..7b7459b 100644
--- a/data/icons/32x32/Makefile.am
+++ b/data/icons/32x32/Makefile.am
@@ -5,3 +5,5 @@ tvicondir = $(datadir)/icons/hicolor/32x32/devices/
 tvicon_DATA = totem-tv.png
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA) totem-tv.svg
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 0f4fb4d..490fa43 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -5,3 +5,5 @@ tvicondir = $(datadir)/icons/hicolor/48x48/devices/
 tvicon_DATA = totem-tv.png
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 31513f3..014b2e4 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable
+
+-include $(top_srcdir)/git.mk
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
index a153c4e..d234056 100644
--- a/data/icons/scalable/Makefile.am
+++ b/data/icons/scalable/Makefile.am
@@ -8,3 +8,5 @@ sidebaricondir = $(datadir)/icons/hicolor/scalable/actions/
 sidebaricon_DATA = view-sidebar-symbolic.svg
 
 EXTRA_DIST = $(icon_DATA) $(tvicon_DATA) $(sidebaricon_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/docs/Makefile.am b/docs/Makefile.am
index f3ddc22..034926c 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = reference
+
+-include $(top_srcdir)/git.mk
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 0b5824f..9fe75ba 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -158,3 +158,5 @@ if ENABLE_GTK_DOC
 TESTS_ENVIRONMENT = cd $(srcdir) && 
 TESTS = $(GTKDOC_CHECK)
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
new file mode 100644
index 0000000..5ab41ba
--- /dev/null
+++ b/git.mk
@@ -0,0 +1,187 @@
+# git.mk
+#
+# Copyright 2009, Red Hat, Inc.
+# Written by Behdad Esfahbod
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+#
+# The canonical source for this file is pango/git.mk, or whereever the
+# header of pango/git.mk suggests in the future.
+#
+# To use in your project, import this file in your git repo's toplevel,
+# then do "make -f git.mk".  This modifies all Makefile.am files in
+# your project to include git.mk.
+#
+# This enables automatic .gitignore generation.  If you need to ignore
+# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
+# But think twice before doing that.  If a file has to be in .gitignore,
+# chances are very high that it's a generated file and should be in one
+# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
+#
+# The only case that you need to manually add a file to GITIGNOREFILES is
+# when remove files in one of mostlyclean-local, clean-local, distclean-local,
+# or maintainer-clean-local.
+#
+# Note that for files like editor backup, etc, there are better places to
+# ignore them.  See "man gitignore".
+#
+# If "make maintainer-clean" removes the files but they are not recognized
+# by this script (that is, if "git status" shows untracked files still), send
+# me the output of "git status" as well as your Makefile.am and Makefile for
+# the directories involved.
+#
+# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
+# pango/Makefile.am.
+#
+# Don't EXTRA_DIST this file.  It is supposed to only live in git clones,
+# not tarballs.  It serves no useful purpose in tarballs and clutters the
+# build dir.
+#
+# This file knows how to handle autoconf, automake, libtool, gtk-doc,
+# gnome-doc-utils, intltool.
+#
+#
+# KNOWN ISSUES:
+#
+# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
+#   submodule doesn't find us.  If you have configure.{in,ac} files in
+#   subdirs, add a proxy git.mk file in those dirs that simply does:
+#   "include $(top_srcdir)/../git.mk".  Add more ..'s to your taste.
+#   And add those files to git.  See vte/gnome-pty-helper/git.mk for
+#   example.
+#
+
+git-all: git-mk-install
+
+git-mk-install:
+	@echo Installing git makefile
+	@any_failed=; find $(top_srcdir) -name Makefile.am | while read x; do \
+		if grep 'include .*/git.mk' $$x >/dev/null; then \
+			echo $$x already includes git.mk; \
+		else \
+			failed=; \
+			echo "Updating $$x"; \
+			{ cat $$x; \
+			  echo ''; \
+			  echo '-include $$(top_srcdir)/git.mk'; \
+			} > $$x.tmp || failed=1; \
+			if test x$$failed = x; then \
+				mv $$x.tmp $$x || failed=1; \
+			fi; \
+			if test x$$failed = x; then : else \
+				echo Failed updating $$x; >&2 \
+				any_failed=1; \
+			fi; \
+	fi; done; test -z "$$any_failed"
+
+.PHONY: git-all git-mk-install
+
+
+### .gitignore generation
+
+$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
+	$(AM_V_GEN) \
+	{ \
+		if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
+			for x in \
+				$(DOC_MODULE)-decl-list.txt \
+				$(DOC_MODULE)-decl.txt \
+				tmpl/$(DOC_MODULE)-unused.sgml \
+				"tmpl/*.bak" \
+				xml html \
+			; do echo /$$x; done; \
+		fi; \
+		if test "x$(DOC_MODULE)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
+			for x in \
+				$(_DOC_C_DOCS) \
+				$(_DOC_LC_DOCS) \
+				$(_DOC_OMF_ALL) \
+				$(_DOC_DSK_ALL) \
+				$(_DOC_HTML_ALL) \
+				$(_DOC_POFILES) \
+				"*/.xml2po.mo" \
+				"*/*.omf.out" \
+			; do echo /$$x; done; \
+		fi; \
+		if test -f $(srcdir)/po/Makefile.in.in; then \
+			for x in \
+				po/Makefile.in.in \
+				po/Makefile.in \
+				po/Makefile \
+				po/POTFILES \
+				po/stamp-it \
+				po/.intltool-merge-cache \
+				"po/*.gmo" \
+				"po/*.mo" \
+				po/$(GETTEXT_PACKAGE).pot \
+				intltool-extract.in \
+				intltool-merge.in \
+				intltool-update.in \
+			; do echo /$$x; done; \
+		fi; \
+		if test -f $(srcdir)/configure; then \
+			for x in \
+				autom4te.cache \
+				configure \
+				config.h \
+				stamp-h1 \
+				libtool \
+				config.lt \
+			; do echo /$$x; done; \
+		fi; \
+		for x in \
+			.gitignore \
+			$(GITIGNOREFILES) \
+			$(CLEANFILES) \
+			$(PROGRAMS) \
+			$(check_PROGRAMS) \
+			$(EXTRA_PROGRAMS) \
+			$(LTLIBRARIES) \
+			so_locations \
+			.libs _libs \
+			$(MOSTLYCLEANFILES) \
+			"*.$(OBJEXT)" \
+			"*.lo" \
+			$(DISTCLEANFILES) \
+			$(am__CONFIG_DISTCLEAN_FILES) \
+			$(CONFIG_CLEAN_FILES) \
+			TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
+			"*.tab.c" \
+			$(MAINTAINERCLEANFILES) \
+			$(BUILT_SOURCES) \
+			$(DEPDIR) \
+			Makefile \
+			Makefile.in \
+			"*.orig" \
+			"*.rej" \
+			"*.bak" \
+			"*~" \
+			".*.sw[nop]" \
+		; do echo /$$x; done; \
+	} | \
+	sed "s ^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
+	sed 's@/[.]/@/@g' | \
+	LC_ALL=C sort | uniq > $  tmp && \
+	mv $  tmp $@;
+
+all: $(srcdir)/.gitignore gitignore-recurse-maybe
+gitignore-recurse-maybe:
+	@if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \
+		$(MAKE) $(AM_MAKEFLAGS) gitignore-recurse; \
+	fi;
+gitignore-recurse:
+	@for subdir in $(DIST_SUBDIRS); do \
+	  case " $(SUBDIRS) " in \
+	    *" $$subdir "*) :;; \
+	    *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir");; \
+	  esac; \
+	done
+gitignore: $(srcdir)/.gitignore gitignore-recurse
+
+maintainer-clean: gitignore-clean
+gitignore-clean:
+	-rm -f $(srcdir)/.gitignore
+
+.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
diff --git a/help/Makefile.am b/help/Makefile.am
index d1277aa..db5f61b 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -18,3 +18,4 @@ DOC_FIGURES  = 	figures/totem_show_playlist_button.png 	\
 
 DOC_LINGUAS = bg ca cs da de el en_GB es eu fi fr it ja oc pa pl pt_BR ru sv uk zh_CN zh_HK zh_TW
 
+-include $(top_srcdir)/git.mk
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b659b91..8d223ed 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -29,3 +29,4 @@ libtotemscrsaver_la_LIBADD =				\
 	$(DBUS_LIBS)					\
 	$(XTEST_LIBS)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/Makefile.am b/src/Makefile.am
index 7d174df..481f03b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -417,3 +417,5 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 CLEANFILES += $(gir_DATA) $(typelib_DATA)
 
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index d1fffb9..1c5984a 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -90,3 +90,5 @@ CLEANFILES = $(BUILT_SOURCES)
 
 EXTRA_DIST = \
 	baconvideowidget-marshal.list
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 9357e7f..516d7a2 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -1,3 +1,4 @@
 SUBDIRS = $(PLUGINS)
 DIST_SUBDIRS = $(ALL_PLUGINS)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/bemused/Makefile.am b/src/plugins/bemused/Makefile.am
index 103b756..38239ff 100644
--- a/src/plugins/bemused/Makefile.am
+++ b/src/plugins/bemused/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(noinst_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/brasero-disc-recorder/Makefile.am b/src/plugins/brasero-disc-recorder/Makefile.am
index 5688b65..a5f1be1 100644
--- a/src/plugins/brasero-disc-recorder/Makefile.am
+++ b/src/plugins/brasero-disc-recorder/Makefile.am
@@ -42,3 +42,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/chapters/Makefile.am b/src/plugins/chapters/Makefile.am
index 0ca54a4..f63546a 100644
--- a/src/plugins/chapters/Makefile.am
+++ b/src/plugins/chapters/Makefile.am
@@ -44,3 +44,4 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/coherence_upnp/Makefile.am b/src/plugins/coherence_upnp/Makefile.am
index 2d6e297..016d87a 100644
--- a/src/plugins/coherence_upnp/Makefile.am
+++ b/src/plugins/coherence_upnp/Makefile.am
@@ -12,3 +12,5 @@ EXTRA_DIST = $(plugin_in_files) coherence_upnp.py
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/dbus-service/Makefile.am b/src/plugins/dbus-service/Makefile.am
index fe9fbac..16c7a08 100644
--- a/src/plugins/dbus-service/Makefile.am
+++ b/src/plugins/dbus-service/Makefile.am
@@ -12,3 +12,5 @@ EXTRA_DIST = $(plugin_in_files) dbus-service.py
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/galago/Makefile.am b/src/plugins/galago/Makefile.am
index a43f735..e9cfd24 100644
--- a/src/plugins/galago/Makefile.am
+++ b/src/plugins/galago/Makefile.am
@@ -40,3 +40,5 @@ EXTRA_DIST = $(plugin_in_files)
 
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/gromit/Makefile.am b/src/plugins/gromit/Makefile.am
index 0432ff8..8bcef22 100644
--- a/src/plugins/gromit/Makefile.am
+++ b/src/plugins/gromit/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/iplayer/Makefile.am b/src/plugins/iplayer/Makefile.am
index bb71cdd..affa71a 100644
--- a/src/plugins/iplayer/Makefile.am
+++ b/src/plugins/iplayer/Makefile.am
@@ -12,3 +12,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA) $(plugin_PYTHON)
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/jamendo/Makefile.am b/src/plugins/jamendo/Makefile.am
index 0c30c7b..1a0a674 100644
--- a/src/plugins/jamendo/Makefile.am
+++ b/src/plugins/jamendo/Makefile.am
@@ -21,3 +21,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA) jamendo.py org.gnome.totem.plugins.ja
 CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/lirc/Makefile.am b/src/plugins/lirc/Makefile.am
index 4814c47..2aef54d 100644
--- a/src/plugins/lirc/Makefile.am
+++ b/src/plugins/lirc/Makefile.am
@@ -44,3 +44,4 @@ EXTRA_DIST = $(plugin_in_files) $(config_DATA)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/media-player-keys/Makefile.am b/src/plugins/media-player-keys/Makefile.am
index 5ffa06b..b0be3a6 100644
--- a/src/plugins/media-player-keys/Makefile.am
+++ b/src/plugins/media-player-keys/Makefile.am
@@ -53,3 +53,4 @@ EXTRA_DIST = totem-marshal.list $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/mythtv/Makefile.am b/src/plugins/mythtv/Makefile.am
index 9034092..29d577c 100644
--- a/src/plugins/mythtv/Makefile.am
+++ b/src/plugins/mythtv/Makefile.am
@@ -42,3 +42,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(noinst_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/ontop/Makefile.am b/src/plugins/ontop/Makefile.am
index 605221f..331702c 100644
--- a/src/plugins/ontop/Makefile.am
+++ b/src/plugins/ontop/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/opensubtitles/Makefile.am b/src/plugins/opensubtitles/Makefile.am
index b0f895b..7e2f2f3 100644
--- a/src/plugins/opensubtitles/Makefile.am
+++ b/src/plugins/opensubtitles/Makefile.am
@@ -22,3 +22,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA) opensubtitles.py hash.py org.gnome.to
 CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/properties/Makefile.am b/src/plugins/properties/Makefile.am
index 96a63d3..5f6895c 100644
--- a/src/plugins/properties/Makefile.am
+++ b/src/plugins/properties/Makefile.am
@@ -57,3 +57,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/publish/Makefile.am b/src/plugins/publish/Makefile.am
index abfb7fc..2811e80 100644
--- a/src/plugins/publish/Makefile.am
+++ b/src/plugins/publish/Makefile.am
@@ -53,3 +53,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA) org.gnome.totem.plugins.publish.gsche
 CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/pythonconsole/Makefile.am b/src/plugins/pythonconsole/Makefile.am
index 88bd68d..6384983 100644
--- a/src/plugins/pythonconsole/Makefile.am
+++ b/src/plugins/pythonconsole/Makefile.am
@@ -20,3 +20,5 @@ EXTRA_DIST = $(plugin_in_files) pythonconsole.py console.py org.gnome.totem.plug
 CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
 MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/sample-python/Makefile.am b/src/plugins/sample-python/Makefile.am
index 6bd8f03..32c93f6 100644
--- a/src/plugins/sample-python/Makefile.am
+++ b/src/plugins/sample-python/Makefile.am
@@ -11,3 +11,5 @@ EXTRA_DIST = $(plugin_in_files) sample-python.py
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/sample-vala/Makefile.am b/src/plugins/sample-vala/Makefile.am
index 67ea72d..e5f707f 100644
--- a/src/plugins/sample-vala/Makefile.am
+++ b/src/plugins/sample-vala/Makefile.am
@@ -56,3 +56,5 @@ MAINTAINERCLEANFILES = \
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/screensaver/Makefile.am b/src/plugins/screensaver/Makefile.am
index 5d52e92..e7309bf 100644
--- a/src/plugins/screensaver/Makefile.am
+++ b/src/plugins/screensaver/Makefile.am
@@ -42,3 +42,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/screenshot/Makefile.am b/src/plugins/screenshot/Makefile.am
index 5af3423..888266e 100644
--- a/src/plugins/screenshot/Makefile.am
+++ b/src/plugins/screenshot/Makefile.am
@@ -52,3 +52,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA)
 
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/sidebar-test/Makefile.am b/src/plugins/sidebar-test/Makefile.am
index 42ea659..21d6cf3 100644
--- a/src/plugins/sidebar-test/Makefile.am
+++ b/src/plugins/sidebar-test/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(noinst_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/skipto/Makefile.am b/src/plugins/skipto/Makefile.am
index 0712b27..6d3f8e6 100644
--- a/src/plugins/skipto/Makefile.am
+++ b/src/plugins/skipto/Makefile.am
@@ -50,3 +50,5 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA)
 
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/thumbnail/Makefile.am b/src/plugins/thumbnail/Makefile.am
index 14d4fed..9cc7111 100644
--- a/src/plugins/thumbnail/Makefile.am
+++ b/src/plugins/thumbnail/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/tracker/Makefile.am b/src/plugins/tracker/Makefile.am
index 0ce8322..2995d28 100644
--- a/src/plugins/tracker/Makefile.am
+++ b/src/plugins/tracker/Makefile.am
@@ -41,3 +41,4 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk
diff --git a/src/plugins/youtube/Makefile.am b/src/plugins/youtube/Makefile.am
index 78b0e88..b916134 100644
--- a/src/plugins/youtube/Makefile.am
+++ b/src/plugins/youtube/Makefile.am
@@ -47,3 +47,4 @@ EXTRA_DIST = $(plugin_in_files) $(ui_DATA)
 CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 DISTCLEANFILES = $(plugin_DATA)
 
+-include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]