[gnome-applets] Add Behdad's git.mk to autogenerate .gitignore



commit b19c7725825d6ed8b64263096f252691266eb0d8
Author: Luca Ferretti <elle uca libero it>
Date:   Wed Sep 2 00:05:09 2009 +0200

    Add Behdad's git.mk to autogenerate .gitignore

 Makefile.am                              |    2 +
 accessx-status/Makefile.am               |    2 +
 accessx-status/docs/Makefile.am          |    2 +
 accessx-status/pixmaps/Makefile.am       |    2 +
 battstat/Makefile.am                     |    2 +
 battstat/apmlib/Makefile.am              |    2 +
 battstat/docs/Makefile.am                |    2 +
 battstat/sounds/Makefile.am              |    2 +
 charpick/Makefile.am                     |    2 +
 charpick/help/Makefile.am                |    2 +
 cpufreq/Makefile.am                      |    2 +
 cpufreq/help/Makefile.am                 |    2 +
 cpufreq/pixmaps/Makefile.am              |    2 +
 cpufreq/src/Makefile.am                  |    2 +
 cpufreq/src/cpufreq-selector/Makefile.am |    2 +
 drivemount/Makefile.am                   |    2 +
 drivemount/help/Makefile.am              |    2 +
 geyes/Makefile.am                        |    2 +
 geyes/docs/Makefile.am                   |    2 +
 geyes/themes/Makefile.am                 |    2 +
 git.mk                                   |  183 ++++++++++++++++++++++++++++++
 gkb-new/Makefile.am                      |    2 +
 gkb-new/xmodmap.sun/Makefile.am          |    2 +
 gkb-new/xmodmap/Makefile.am              |    2 +
 gswitchit/Makefile.am                    |    2 +
 gswitchit/help/Makefile.am               |    2 +
 gweather/Makefile.am                     |    2 +
 gweather/docs/Makefile.am                |    2 +
 invest-applet/Makefile.am                |    2 +
 invest-applet/data/Makefile.am           |    2 +
 invest-applet/data/art/Makefile.am       |    2 +
 invest-applet/docs/Makefile.am           |    2 +
 invest-applet/invest/Makefile.am         |    2 +
 man/Makefile.am                          |    2 +
 mini-commander/Makefile.am               |    2 +
 mini-commander/help/Makefile.am          |    2 +
 mini-commander/src/Makefile.am           |    2 +
 mixer/Makefile.am                        |    2 +
 mixer/docs/Makefile.am                   |    2 +
 modemlights/Makefile.am                  |    2 +
 multiload/Makefile.am                    |    2 +
 multiload/docs/Makefile.am               |    2 +
 null_applet/Makefile.am                  |    2 +
 stickynotes/Makefile.am                  |    2 +
 stickynotes/data/Makefile.am             |    2 +
 stickynotes/docs/Makefile.am             |    2 +
 stickynotes/pixmaps/Makefile.am          |    2 +
 trashapplet/Makefile.am                  |    2 +
 trashapplet/docs/Makefile.am             |    2 +
 trashapplet/src/Makefile.am              |    2 +
 50 files changed, 281 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a048679..4cb2bc3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -125,3 +125,5 @@ DISTCLEANFILES = intltool-extract	\
 		 intltool-merge		\
 		 intltool-update	\
 		 gnome-doc-utils.make
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/Makefile.am b/accessx-status/Makefile.am
index 579bd71..3fd9842 100644
--- a/accessx-status/Makefile.am
+++ b/accessx-status/Makefile.am
@@ -34,3 +34,5 @@ EXTRA_DIST = \
 	GNOME_AccessxStatusApplet.server.in.in \
 	$(ui_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/docs/Makefile.am b/accessx-status/docs/Makefile.am
index 761daa3..54394ce 100644
--- a/accessx-status/docs/Makefile.am
+++ b/accessx-status/docs/Makefile.am
@@ -17,3 +17,5 @@ DOC_FIGURES = figures/accessx_bounce-keys.png \
 		figures/accessx_sticky-windows-key.png
 
 DOC_LINGUAS = bg ca cs de el en_GB es eu fi fr it ko nl oc sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/pixmaps/Makefile.am b/accessx-status/pixmaps/Makefile.am
index 1496a14..2993bd4 100644
--- a/accessx-status/pixmaps/Makefile.am
+++ b/accessx-status/pixmaps/Makefile.am
@@ -54,3 +54,5 @@ update-icon-cache:
 
 EXTRA_DIST = \
 	$(accessx_status_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/battstat/Makefile.am b/battstat/Makefile.am
index 6ab84bf..2c107a7 100644
--- a/battstat/Makefile.am
+++ b/battstat/Makefile.am
@@ -89,3 +89,5 @@ EXTRA_DIST = 			\
 
 @INTLTOOL_SERVER_RULE@
 
+
+-include $(top_srcdir)/git.mk
diff --git a/battstat/apmlib/Makefile.am b/battstat/apmlib/Makefile.am
index 645adc1..5a24230 100644
--- a/battstat/apmlib/Makefile.am
+++ b/battstat/apmlib/Makefile.am
@@ -14,3 +14,5 @@ noinst_LIBRARIES = libapm.a
 
 libapm_a_SOURCES = apmlib.c apm.h
 
+
+-include $(top_srcdir)/git.mk
diff --git a/battstat/docs/Makefile.am b/battstat/docs/Makefile.am
index e7cff2c..bfdf2ac 100644
--- a/battstat/docs/Makefile.am
+++ b/battstat/docs/Makefile.am
@@ -11,3 +11,5 @@ DOC_FIGURES = figures/battstat-applet-expanded.png \
 		figures/context-menu.png
 
 DOC_LINGUAS = ca cs bg de el en_GB es eu fi fr ko oc pa pt_BR sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/battstat/sounds/Makefile.am b/battstat/sounds/Makefile.am
index f6e555d..99b8c88 100644
--- a/battstat/sounds/Makefile.am
+++ b/battstat/sounds/Makefile.am
@@ -8,3 +8,5 @@ soundlist_DATA = $(soundlist_in_files:.soundlist.in=.soundlist)
 EXTRA_DIST = $(soundlist_DATA) $(soundlist_in_files)
 
 CLEANFILES = $(soundlist_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/charpick/Makefile.am b/charpick/Makefile.am
index c1c7fe8..d71a6df 100644
--- a/charpick/Makefile.am
+++ b/charpick/Makefile.am
@@ -46,3 +46,5 @@ if GCONF_SCHEMAS_INSTALL
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/charpick/help/Makefile.am b/charpick/help/Makefile.am
index 4240184..6384250 100644
--- a/charpick/help/Makefile.am
+++ b/charpick/help/Makefile.am
@@ -10,3 +10,5 @@ DOC_FIGURES = figures/charpalette_applet.png \
 		figures/charpick-preferences.png
 
 DOC_LINGUAS = bg ca cs de el en_GB es eu fi fr it ko nl oc pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/cpufreq/Makefile.am b/cpufreq/Makefile.am
index 050edd8..fec1afb 100644
--- a/cpufreq/Makefile.am
+++ b/cpufreq/Makefile.am
@@ -41,3 +41,5 @@ EXTRA_DIST = \
 	     
 					
 
+
+-include $(top_srcdir)/git.mk
diff --git a/cpufreq/help/Makefile.am b/cpufreq/help/Makefile.am
index 254385f..933d8bf 100644
--- a/cpufreq/help/Makefile.am
+++ b/cpufreq/help/Makefile.am
@@ -15,3 +15,5 @@ DOC_FIGURES = figures/cpufreq-100.png \
 		figures/cpufreq-applet-selector.png
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr nl oc pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/cpufreq/pixmaps/Makefile.am b/cpufreq/pixmaps/Makefile.am
index 6d97db0..fc8f7aa 100644
--- a/cpufreq/pixmaps/Makefile.am
+++ b/cpufreq/pixmaps/Makefile.am
@@ -60,3 +60,5 @@ install-data-local:
 		echo "*** Icon cache not updated. After install, run this:"; \
 		echo "***   $(gtk_update_icon_cache)"; \
 	fi
+
+-include $(top_srcdir)/git.mk
diff --git a/cpufreq/src/Makefile.am b/cpufreq/src/Makefile.am
index 9b82538..4d51e42 100644
--- a/cpufreq/src/Makefile.am
+++ b/cpufreq/src/Makefile.am
@@ -35,3 +35,5 @@ cpufreq_applet_LDADD =  \
 	$(LIBCPUFREQ_LIBS)
 
 	
+
+-include $(top_srcdir)/git.mk
diff --git a/cpufreq/src/cpufreq-selector/Makefile.am b/cpufreq/src/cpufreq-selector/Makefile.am
index dc9cf73..e3c975c 100644
--- a/cpufreq/src/cpufreq-selector/Makefile.am
+++ b/cpufreq/src/cpufreq-selector/Makefile.am
@@ -85,3 +85,5 @@ CLEANFILES = \
 	$(BUILT_SOURCES)	\
 	$(dbus_services_DATA)	\
 	$(polkit_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/drivemount/Makefile.am b/drivemount/Makefile.am
index 8e45c20..60a299c 100644
--- a/drivemount/Makefile.am
+++ b/drivemount/Makefile.am
@@ -54,3 +54,5 @@ install-data-local:
 else
 install-data-local:
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/drivemount/help/Makefile.am b/drivemount/help/Makefile.am
index 7de4611..4373b7b 100644
--- a/drivemount/help/Makefile.am
+++ b/drivemount/help/Makefile.am
@@ -11,3 +11,5 @@ DOC_FIGURES = figures/drivemount-applet_eject.png \
 		figures/drivemount-applet_status.png
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr it ko oc pa ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/geyes/Makefile.am b/geyes/Makefile.am
index 6e19b95..2303b24 100644
--- a/geyes/Makefile.am
+++ b/geyes/Makefile.am
@@ -100,3 +100,5 @@ install-data-local:
 if GCONF_SCHEMAS_INSTALL
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/geyes/docs/Makefile.am b/geyes/docs/Makefile.am
index dc22063..6619c27 100644
--- a/geyes/docs/Makefile.am
+++ b/geyes/docs/Makefile.am
@@ -7,3 +7,5 @@ DOC_ENTITIES = legal.xml
 DOC_FIGURES = figures/geyes_applet.png
 
 DOC_LINGUAS = bg ca cs da de el en_GB es eu fi fr it ko oc ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/geyes/themes/Makefile.am b/geyes/themes/Makefile.am
index 96745e8..fb10b23 100644
--- a/geyes/themes/Makefile.am
+++ b/geyes/themes/Makefile.am
@@ -32,3 +32,5 @@ Horrid_DATA = Horrid/config                           \
 
 EXTRA_DIST = $(Default_DATA) $(Default_tiny_DATA) $(Bizarre_DATA) $(Bloodshot_DATA) \
              $(Horrid_DATA) $(Tango_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
new file mode 100644
index 0000000..d88d409
--- /dev/null
+++ b/git.mk
@@ -0,0 +1,183 @@
+# 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
+	@echo Generating $@; \
+	{ \
+		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" \
+				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' | \
+	LANG=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:
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir"); \
+	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/gkb-new/Makefile.am b/gkb-new/Makefile.am
index c7085b1..236557f 100644
--- a/gkb-new/Makefile.am
+++ b/gkb-new/Makefile.am
@@ -5,3 +5,5 @@ gkb_DDIRS= xmodmap
 endif
 
 SUBDIRS= $(gkb_DDIRS)
+
+-include $(top_srcdir)/git.mk
diff --git a/gkb-new/xmodmap.sun/Makefile.am b/gkb-new/xmodmap.sun/Makefile.am
index 0f0f0f0..7c051dc 100644
--- a/gkb-new/xmodmap.sun/Makefile.am
+++ b/gkb-new/xmodmap.sun/Makefile.am
@@ -70,3 +70,5 @@ XMM_XML = $(xmm_xml_in_file:.xml.in=.xml)
 %.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
 		$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u \
 		-c $(top_srcdir)/po/.intltool-merge-cache
+
+-include $(top_srcdir)/git.mk
diff --git a/gkb-new/xmodmap/Makefile.am b/gkb-new/xmodmap/Makefile.am
index 58c90cf..dfcca2c 100644
--- a/gkb-new/xmodmap/Makefile.am
+++ b/gkb-new/xmodmap/Makefile.am
@@ -32,3 +32,5 @@ XMM_XML = $(xmm_xml_in_file:.xml.in=.xml)
 		-c $(top_srcdir)/po/.intltool-merge-cache
 
 CLEANFILES = base.xml
+
+-include $(top_srcdir)/git.mk
diff --git a/gswitchit/Makefile.am b/gswitchit/Makefile.am
index 3d04015..5b60ce3 100644
--- a/gswitchit/Makefile.am
+++ b/gswitchit/Makefile.am
@@ -57,3 +57,5 @@ ui_DATA = GNOME_GSwitchItApplet.xml
 
 builder_DATA = gswitchit.ui
 
+
+-include $(top_srcdir)/git.mk
diff --git a/gswitchit/help/Makefile.am b/gswitchit/help/Makefile.am
index 8416b1a..212cb0a 100644
--- a/gswitchit/help/Makefile.am
+++ b/gswitchit/help/Makefile.am
@@ -5,3 +5,5 @@ DOC_MODULE = gswitchit
 DOC_ENTITIES = legal.xml
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr oc ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/gweather/Makefile.am b/gweather/Makefile.am
index 832b02b..9eba0b3 100644
--- a/gweather/Makefile.am
+++ b/gweather/Makefile.am
@@ -45,3 +45,5 @@ EXTRA_DIST = \
 	$(ui_DATA)
 
 @INTLTOOL_SERVER_RULE@
+
+-include $(top_srcdir)/git.mk
diff --git a/gweather/docs/Makefile.am b/gweather/docs/Makefile.am
index bb1ff62..6654f17 100644
--- a/gweather/docs/Makefile.am
+++ b/gweather/docs/Makefile.am
@@ -20,3 +20,5 @@ DOC_FIGURES = figures/gweather_applet.png \
 		figures/stock_weather-sunny.png
 
 DOC_LINGUAS = ar ca cs de el en_GB es eu fi fr ko nl oc pa pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/invest-applet/Makefile.am b/invest-applet/Makefile.am
index 58d89e8..13f7ce1 100644
--- a/invest-applet/Makefile.am
+++ b/invest-applet/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = invest data docs
+
+-include $(top_srcdir)/git.mk
diff --git a/invest-applet/data/Makefile.am b/invest-applet/data/Makefile.am
index 693855c..9a31989 100644
--- a/invest-applet/data/Makefile.am
+++ b/invest-applet/data/Makefile.am
@@ -54,3 +54,5 @@ EXTRA_DIST = \
 	GNOME_GtikApplet.server \
 	$(ui_DATA) \
 	$(builder_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/invest-applet/data/art/Makefile.am b/invest-applet/data/art/Makefile.am
index c88fcdf..7f304f4 100644
--- a/invest-applet/data/art/Makefile.am
+++ b/invest-applet/data/art/Makefile.am
@@ -55,3 +55,5 @@ EXTRA_DIST = \
 	$(icons) \
 	$(art_DATA)
 	
+
+-include $(top_srcdir)/git.mk
diff --git a/invest-applet/docs/Makefile.am b/invest-applet/docs/Makefile.am
index 4c2e3fb..f2c1227 100644
--- a/invest-applet/docs/Makefile.am
+++ b/invest-applet/docs/Makefile.am
@@ -7,3 +7,5 @@ DOC_ENTITIES = legal.xml
 DOC_FIGURES = 
 
 DOC_LINGUAS = ca de el en_GB es fi ru sv zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/invest-applet/invest/Makefile.am b/invest-applet/invest/Makefile.am
index 2ee11c1..c891793 100644
--- a/invest-applet/invest/Makefile.am
+++ b/invest-applet/invest/Makefile.am
@@ -34,3 +34,5 @@ EXTRA_DIST = \
 	test.py
 
 TESTS = test.py
+
+-include $(top_srcdir)/git.mk
diff --git a/man/Makefile.am b/man/Makefile.am
index b26b3d0..d8bd9c1 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -15,3 +15,5 @@ man_MANS = \
 	whereami_applet.1
 
 EXTRA_DIST = $(man_MANS)
+
+-include $(top_srcdir)/git.mk
diff --git a/mini-commander/Makefile.am b/mini-commander/Makefile.am
index 7cd7322..8aeda4a 100644
--- a/mini-commander/Makefile.am
+++ b/mini-commander/Makefile.am
@@ -20,3 +20,5 @@ endif
 
 EXTRA_DIST = $(server_in_files)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/mini-commander/help/Makefile.am b/mini-commander/help/Makefile.am
index 3324503..cce1cad 100644
--- a/mini-commander/help/Makefile.am
+++ b/mini-commander/help/Makefile.am
@@ -9,3 +9,5 @@ DOC_FIGURES = figures/command-line.png \
 		figures/prefs.png
 
 DOC_LINGUAS = ca de el en_GB es eu fr ko oc pt_BR sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/mini-commander/src/Makefile.am b/mini-commander/src/Makefile.am
index b420406..87c9baa 100644
--- a/mini-commander/src/Makefile.am
+++ b/mini-commander/src/Makefile.am
@@ -99,3 +99,5 @@ EXTRA_DIST =					\
 	$(ui_DATA)				\
 	$(builder_DATA)				\
 	$(schemas_in_files)
+
+-include $(top_srcdir)/git.mk
diff --git a/mixer/Makefile.am b/mixer/Makefile.am
index 7546ef8..4a86951 100644
--- a/mixer/Makefile.am
+++ b/mixer/Makefile.am
@@ -55,3 +55,5 @@ if GCONF_SCHEMAS_INSTALL
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/mixer/docs/Makefile.am b/mixer/docs/Makefile.am
index 9d39b99..655bd18 100644
--- a/mixer/docs/Makefile.am
+++ b/mixer/docs/Makefile.am
@@ -7,3 +7,5 @@ DOC_ENTITIES = legal.xml
 DOC_FIGURES = figures/volumecontrol_applet.png
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr hu it ko oc pa pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/modemlights/Makefile.am b/modemlights/Makefile.am
index 2d27181..29b02ce 100644
--- a/modemlights/Makefile.am
+++ b/modemlights/Makefile.am
@@ -85,3 +85,5 @@ install-data-local:
 		echo "*** Icon cache not updated. After install, run this:"; \
 		echo "***   $(gtk_update_icon_cache)"; \
 	fi
+
+-include $(top_srcdir)/git.mk
diff --git a/multiload/Makefile.am b/multiload/Makefile.am
index d728edc..ac028ab 100644
--- a/multiload/Makefile.am
+++ b/multiload/Makefile.am
@@ -56,3 +56,5 @@ if GCONF_SCHEMAS_INSTALL
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/multiload/docs/Makefile.am b/multiload/docs/Makefile.am
index 07ba5b1..31c8b68 100644
--- a/multiload/docs/Makefile.am
+++ b/multiload/docs/Makefile.am
@@ -9,3 +9,5 @@ DOC_FIGURES = figures/multiload-preferences.png \
 		figures/system_monitor.png
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/null_applet/Makefile.am b/null_applet/Makefile.am
index d2047f8..b66f10f 100644
--- a/null_applet/Makefile.am
+++ b/null_applet/Makefile.am
@@ -38,3 +38,5 @@ EXTRA_DIST =					\
 	GNOME_MailcheckApplet_Factory.server.in	\
 	GNOME_Panel_WirelessApplet.server.in	\
 	GNOME_MixerApplet.server.in
+
+-include $(top_srcdir)/git.mk
diff --git a/stickynotes/Makefile.am b/stickynotes/Makefile.am
index d356f35..76eee21 100644
--- a/stickynotes/Makefile.am
+++ b/stickynotes/Makefile.am
@@ -70,3 +70,5 @@ EXTRA_DIST = \
 	     $(schemas_in_files) \
 	     GNOME_StickyNotesApplet.server.in.in
 
+
+-include $(top_srcdir)/git.mk
diff --git a/stickynotes/data/Makefile.am b/stickynotes/data/Makefile.am
index 1ea42d8..8abe99f 100644
--- a/stickynotes/data/Makefile.am
+++ b/stickynotes/data/Makefile.am
@@ -15,3 +15,5 @@ CLEANFILES = $(server_DATA)
 
 endif
 EXTRA_DIST = $(server_in_files)
+
+-include $(top_srcdir)/git.mk
diff --git a/stickynotes/docs/Makefile.am b/stickynotes/docs/Makefile.am
index 49666df..6c95365 100644
--- a/stickynotes/docs/Makefile.am
+++ b/stickynotes/docs/Makefile.am
@@ -11,3 +11,5 @@ DOC_FIGURES = figures/stickynote-right-menu-lock.png \
 		figures/stickynotes-prefs.png
 
 DOC_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/stickynotes/pixmaps/Makefile.am b/stickynotes/pixmaps/Makefile.am
index 71be438..2a1014a 100644
--- a/stickynotes/pixmaps/Makefile.am
+++ b/stickynotes/pixmaps/Makefile.am
@@ -61,3 +61,5 @@ install-data-local:
 		echo "*** Icon cache not updated. After install, run this:"; \
 		echo "***   $(gtk_update_icon_cache)"; \
 	fi
+
+-include $(top_srcdir)/git.mk
diff --git a/trashapplet/Makefile.am b/trashapplet/Makefile.am
index 49ff0d6..8081d06 100644
--- a/trashapplet/Makefile.am
+++ b/trashapplet/Makefile.am
@@ -20,3 +20,5 @@ EXTRA_DIST = \
 	$(builder_DATA)
 
 CLEANFILES = $(server_in_files) $(server_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/trashapplet/docs/Makefile.am b/trashapplet/docs/Makefile.am
index 518cb3d..dd94f95 100644
--- a/trashapplet/docs/Makefile.am
+++ b/trashapplet/docs/Makefile.am
@@ -7,3 +7,5 @@ DOC_ENTITIES = legal.xml
 DOC_FIGURES = figures/trash-applet.png
 
 DOC_LINGUAS = ca cs da de el en_GB es eu fi fr hu it nl oc pa pt_BR ru sv uk zh_CN
+
+-include $(top_srcdir)/git.mk
diff --git a/trashapplet/src/Makefile.am b/trashapplet/src/Makefile.am
index 426c53a..ae3182a 100644
--- a/trashapplet/src/Makefile.am
+++ b/trashapplet/src/Makefile.am
@@ -16,3 +16,5 @@ trashapplet_LDADD = 		\
 	$(GNOME_APPLETS_LIBS) 	\
 	$(GNOME_LIBS2_LIBS)	\
 	$(GIO_LIBS)
+
+-include $(top_srcdir)/git.mk



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