[anjuta] Added suitable gitignore file and generation rules



commit 65215cda5aad875011f872eef08f8e66a6c2ff5e
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Apr 22 09:00:42 2009 +0200

    Added suitable gitignore file and generation rules
    
    make will automatically generate a .gitignore now but in addition there is a gitignore file in the
    repository that should catch even more files.
---
 .gitignore                                         |  133 +++++++++++++++
 Makefile.am                                        |    2 +
 data/Makefile.am                                   |    2 +
 doc/Makefile.am                                    |    2 +
 git.mk                                             |  178 ++++++++++++++++++++
 launcher/Makefile.am                               |    2 +
 libanjuta/Makefile.am                              |    2 +
 manuals/Makefile.am                                |    2 +
 manuals/anjuta-build-tutorial/Makefile.am          |    2 +
 manuals/anjuta-faqs/Makefile.am                    |    2 +
 manuals/anjuta-manual/Makefile.am                  |    2 +
 manuals/reference/Makefile.am                      |    2 +
 manuals/reference/libanjuta/Makefile.am            |    2 +
 mime/Makefile.am                                   |    2 +
 omf-install/Makefile.am                            |    2 +
 pixmaps/Makefile.am                                |    2 +
 plugins/Makefile.am                                |    2 +
 plugins/build-basic-autotools/Makefile.am          |    2 +
 plugins/class-gen/Makefile.am                      |    2 +
 plugins/class-gen/templates/Makefile.am            |    2 +
 plugins/cvs-plugin/Makefile.am                     |    2 +
 plugins/debug-manager/Makefile.am                  |    2 +
 plugins/debug-manager/images/Makefile.am           |    2 +
 plugins/devhelp/Makefile.am                        |    2 +
 plugins/document-manager/Makefile.am               |    2 +
 plugins/document-manager/images/Makefile.am        |    2 +
 plugins/file-loader/Makefile.am                    |    2 +
 plugins/file-manager.old/Makefile.am               |    2 +
 plugins/file-manager/Makefile.am                   |    2 +
 plugins/file-wizard/Makefile.am                    |    2 +
 plugins/gbf-am/GBF/Makefile.am                     |    2 +
 plugins/gbf-am/Makefile.am                         |    2 +
 plugins/gbf-mkfile/GBF/Makefile.am                 |    2 +
 plugins/gbf-mkfile/Makefile.am                     |    2 +
 plugins/gdb/Makefile.am                            |    2 +
 plugins/gdb/images/Makefile.am                     |    2 +
 plugins/git/Makefile.am                            |    2 +
 plugins/glade/Makefile.am                          |    2 +
 plugins/gtodo/Makefile.am                          |    2 +
 plugins/language-manager/Makefile.am               |    2 +
 plugins/language-support-cpp-java/Makefile.am      |    2 +
 plugins/macro/Makefile.am                          |    2 +
 plugins/message-view/Makefile.am                   |    2 +
 plugins/patch/Makefile.am                          |    2 +
 plugins/project-import/Makefile.am                 |    2 +
 plugins/project-manager/Makefile.am                |    2 +
 plugins/project-wizard/Makefile.am                 |    2 +
 plugins/project-wizard/templates/Makefile.am       |    2 +
 .../templates/anjuta-plugin-vala/Makefile.am       |    2 +
 .../templates/anjuta-plugin-vala/po/Makefile.am    |    2 +
 .../templates/anjuta-plugin-vala/src/Makefile.am   |    2 +
 .../templates/anjuta-plugin/Makefile.am            |    2 +
 .../templates/anjuta-plugin/po/Makefile.am         |    2 +
 .../templates/anjuta-plugin/src/Makefile.am        |    2 +
 plugins/project-wizard/templates/cpp/Makefile.am   |    2 +
 .../project-wizard/templates/cpp/po/Makefile.am    |    2 +
 .../project-wizard/templates/cpp/src/Makefile.am   |    2 +
 plugins/project-wizard/templates/gcj/Makefile.am   |    2 +
 .../project-wizard/templates/gcj/src/Makefile.am   |    2 +
 .../templates/gnome-applet/Makefile.am             |    2 +
 .../templates/gnome-applet/po/Makefile.am          |    2 +
 .../templates/gnome-applet/src/Makefile.am         |    2 +
 plugins/project-wizard/templates/gtk/Makefile.am   |    2 +
 .../project-wizard/templates/gtk/po/Makefile.am    |    2 +
 .../project-wizard/templates/gtk/src/Makefile.am   |    2 +
 plugins/project-wizard/templates/gtkmm/Makefile.am |    2 +
 .../project-wizard/templates/gtkmm/po/Makefile.am  |    2 +
 .../project-wizard/templates/gtkmm/src/Makefile.am |    2 +
 plugins/project-wizard/templates/java/Makefile.am  |    2 +
 .../project-wizard/templates/java/po/Makefile.am   |    2 +
 .../project-wizard/templates/java/src/Makefile.am  |    2 +
 .../project-wizard/templates/licenses/Makefile.am  |    2 +
 plugins/project-wizard/templates/m4/Makefile.am    |    2 +
 .../project-wizard/templates/minimal/Makefile.am   |    2 +
 .../project-wizard/templates/mkfile/Makefile.am    |    2 +
 .../project-wizard/templates/mkfile/po/Makefile.am |    2 +
 .../templates/mkfile/src/Makefile.am               |    2 +
 .../project-wizard/templates/python/Makefile.am    |    2 +
 .../project-wizard/templates/python/po/Makefile.am |    2 +
 .../templates/python/src/Makefile.am               |    2 +
 plugins/project-wizard/templates/sdl/Makefile.am   |    2 +
 .../project-wizard/templates/sdl/po/Makefile.am    |    2 +
 .../project-wizard/templates/sdl/src/Makefile.am   |    2 +
 .../project-wizard/templates/terminal/Makefile.am  |    2 +
 .../templates/terminal/po/Makefile.am              |    2 +
 .../templates/terminal/src/Makefile.am             |    2 +
 plugins/project-wizard/templates/wxwin/Makefile.am |    2 +
 .../project-wizard/templates/wxwin/po/Makefile.am  |    2 +
 .../project-wizard/templates/wxwin/src/Makefile.am |    2 +
 .../project-wizard/templates/xlib-dock/Makefile.am |    2 +
 .../templates/xlib-dock/po/Makefile.am             |    2 +
 .../templates/xlib-dock/src/Makefile.am            |    2 +
 plugins/project-wizard/templates/xlib/Makefile.am  |    2 +
 .../project-wizard/templates/xlib/po/Makefile.am   |    2 +
 .../project-wizard/templates/xlib/src/Makefile.am  |    2 +
 plugins/run-program/Makefile.am                    |    2 +
 plugins/scratchbox/Makefile.am                     |    2 +
 plugins/search/Makefile.am                         |    2 +
 plugins/sourceview/Makefile.am                     |    2 +
 plugins/starter/Makefile.am                        |    2 +
 plugins/subversion/Makefile.am                     |    2 +
 plugins/symbol-db/Makefile.am                      |    2 +
 plugins/symbol-db/images/Makefile.am               |    2 +
 plugins/symbol-db/test/Makefile.am                 |    2 +
 plugins/terminal/Makefile.am                       |    2 +
 plugins/tools/Makefile.am                          |    2 +
 plugins/tools/scripts/Makefile.am                  |    3 +-
 scripts/Makefile.am                                |    3 +-
 src/Makefile.am                                    |    2 +
 109 files changed, 525 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7143d99
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,133 @@
+/*.bak
+/*.lo
+/*.o
+/*.orig
+/*.rej
+/*.tab.c
+/*~
+/.*.swp
+/.deps
+/.libs
+/GPATH
+/GRTAGS
+/GSYMS
+/GTAGS
+/ID
+/Makefile
+/Makefile.in
+/TAGS
+/_libs
+/anjuta.desktop
+/anjuta.desktop.in
+/autom4te.cache
+/config.cache
+/config.h
+/config.log
+/config.lt
+/config.status
+/config.status.lineno
+/configure
+/configure.lineno
+/intltool-extract
+/intltool-extract.in
+/intltool-merge
+/intltool-merge.in
+/intltool-update
+/intltool-update.in
+/libtool
+/po/*.mo
+/po/*.pot
+/po/.intltool-merge-cache
+/po/Makefile
+/po/Makefile.in
+/po/Makefile.in.in
+/po/POTFILES
+/po/ar.gmo
+/po/az.gmo
+/po/be.gmo
+/po/be latin gmo
+/po/bg.gmo
+/po/ca.gmo
+/po/cs.gmo
+/po/da.gmo
+/po/de.gmo
+/po/dz.gmo
+/po/el.gmo
+/po/en_CA.gmo
+/po/en_GB.gmo
+/po/es.gmo
+/po/eu.gmo
+/po/fi.gmo
+/po/fr.gmo
+/po/ga.gmo
+/po/gl.gmo
+/po/gu.gmo
+/po/he.gmo
+/po/hi.gmo
+/po/hr.gmo
+/po/hu.gmo
+/po/id.gmo
+/po/it.gmo
+/po/ja.gmo
+/po/kn.gmo
+/po/ko.gmo
+/po/lt.gmo
+/po/lv.gmo
+/po/mk.gmo
+/po/ml.gmo
+/po/mr.gmo
+/po/ms.gmo
+/po/nb.gmo
+/po/ne.gmo
+/po/nl.gmo
+/po/oc.gmo
+/po/or.gmo
+/po/pa.gmo
+/po/pl.gmo
+/po/pt.gmo
+/po/pt_BR.gmo
+/po/ru.gmo
+/po/rw.gmo
+/po/si.gmo
+/po/sk.gmo
+/po/sl.gmo
+/po/sq.gmo
+/po/sr.gmo
+/po/sr latin gmo
+/po/stamp-it
+/po/sv.gmo
+/po/te.gmo
+/po/th.gmo
+/po/tr.gmo
+/po/uk.gmo
+/po/vi.gmo
+/po/zh_CN.gmo
+/po/zh_HK.gmo
+/po/zh_TW.gmo
+/so_locations
+/stamp-h1
+/tags
+/libanjuta/interfaces/*.c
+/libanjuta/interfaces/*.h
+/plugins/*/*.plugin
+*marshallers*
+.anjuta/
+.anjuta_sym_db.db
+INSTALL
+aclocal.m4
+config.guess
+config.h.in
+config.sub
+depcomp
+gnome-doc-utils.make
+gtk-doc.make
+install-sh
+libanjuta/interfaces/Makefile.am
+ltmain.sh
+manuals/reference/libanjuta/tmpl/
+missing
+mkinstalldirs
+omf.make
+plugins/*/*.schemas
+xmldocs.make
+
diff --git a/Makefile.am b/Makefile.am
index 2029f79..0b1b6a3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,3 +56,5 @@ DISTCLEANFILES = \
 	intltool-merge \
 	intltool-update \
 	$(gnomemenu_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/Makefile.am b/data/Makefile.am
index 32c7bd1..1538a8d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,3 +12,5 @@ anjuta_data_DATA = welcome.txt
 anjuta_profile_DATA = default.profile
 
 EXTRA_DIST = $(anjuta_data_DATA) $(anjuta_profile_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4126666..769f2be 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -14,3 +14,5 @@ man_MANS = \
 	anjuta_launcher.1
 
 EXTRA_DIST = $(anjuta_doc_DATA) $(man_MANS)
+
+-include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
new file mode 100644
index 0000000..9cfce1c
--- /dev/null
+++ b/git.mk
@@ -0,0 +1,178 @@
+# 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 stat" shows untracked files still), send
+# me the output of "git stat" 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 $@; \
+	GTKDOCGITIGNOREFILES=; \
+	test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x || \
+	GTKDOCGITIGNOREFILES=" \
+		$(DOC_MODULE)-decl-list.txt \
+		$(DOC_MODULE)-decl.txt \
+		tmpl/$(DOC_MODULE)-unused.sgml \
+		tmpl/*.bak \
+		xml html \
+		"; \
+	GNOMEDOCUTILSGITIGNOREFILES=; \
+	test "x$(DOC_MODULE)" = x -o "x$(DOC_LINGUAS)" = x || \
+	GNOMEDOCUTILSGITIGNOREFILES=" \
+		$(_DOC_C_DOCS) \
+		$(_DOC_LC_DOCS) \
+		$(_DOC_OMF_ALL) \
+		$(_DOC_DSK_ALL) \
+		$(_DOC_HTML_ALL) \
+		$(_DOC_POFILES) \
+		*/.xml2po.mo \
+		*/*.omf.out \
+		"; \
+	INTLTOOLGITIGNOREFILES=; test -f $(srcdir)/po/Makefile.in.in && \
+	INTLTOOLGITIGNOREFILES=" \
+		po/Makefile.in.in \
+		po/Makefile.in \
+		po/Makefile \
+		po/*.gmo \
+		po/*.mo \
+		po/POTFILES \
+		po/stamp-it \
+		po/.intltool-merge-cache \
+		intltool-extract.in \
+		intltool-merge.in \
+		intltool-update.in \
+		"; \
+	AUTOCONFGITIGNOREFILES=; test -f $(srcdir)/configure && \
+	AUTOCONFGITIGNOREFILES=" \
+		autom4te.cache \
+		configure \
+		config.h \
+		stamp-h1 \
+		libtool \
+		config.lt \
+		"; \
+	for x in \
+		.gitignore \
+		$$GTKDOCGITIGNOREFILES \
+		$$GNOMEDOCUTILSGITIGNOREFILES \
+		$$INTLTOOLGITIGNOREFILES \
+		$$AUTOCONFGITIGNOREFILES \
+		$(GITIGNOREFILES) \
+		$(CLEANFILES) \
+		$(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" \
+		"*~" \
+		".*.swp" \
+	; 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
+gitignore-recurse:
+	@if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \
+		list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+		  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore); \
+		done; \
+	fi;
+maintainer-clean-local: gitignore-clean
+gitignore-clean:
+	rm -f $(srcdir)/.gitignore
+.PHONY: gitignore-clean gitignore-recurse
+
diff --git a/launcher/Makefile.am b/launcher/Makefile.am
index b62b916..1638b41 100644
--- a/launcher/Makefile.am
+++ b/launcher/Makefile.am
@@ -3,3 +3,5 @@ AM_CPPFLAGS = $(GLIB_CFLAGS) -I. -I.. -g -O $(DEPRECATED_FLAGS)
 
 bin_PROGRAMS = anjuta_launcher
 anjuta_launcher_LDADD = $(GLIB_LIBS)
+
+-include $(top_srcdir)/git.mk
diff --git a/libanjuta/Makefile.am b/libanjuta/Makefile.am
index d73ef08..bf3f564 100644
--- a/libanjuta/Makefile.am
+++ b/libanjuta/Makefile.am
@@ -196,3 +196,5 @@ DISTCLEANFILES = \
   anjuta-enum-types.h \
   anjuta-enum-types.c \
   stamp-anjuta-enum-types.h
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/Makefile.am b/manuals/Makefile.am
index ac7517e..a50371e 100644
--- a/manuals/Makefile.am
+++ b/manuals/Makefile.am
@@ -3,3 +3,5 @@
 ##########################################
 
 SUBDIRS = reference anjuta-manual anjuta-faqs anjuta-build-tutorial
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/anjuta-build-tutorial/Makefile.am b/manuals/anjuta-build-tutorial/Makefile.am
index d6189dc..39ebddf 100644
--- a/manuals/anjuta-build-tutorial/Makefile.am
+++ b/manuals/anjuta-build-tutorial/Makefile.am
@@ -15,3 +15,5 @@ DOC_FIGURES = figures/autotools-process.png \
               figures/configure-dialog.png \
               figures/new-project-basic.png \
               figures/new-project-summary.png
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/anjuta-faqs/Makefile.am b/manuals/anjuta-faqs/Makefile.am
index 67faec8..036bd43 100644
--- a/manuals/anjuta-faqs/Makefile.am
+++ b/manuals/anjuta-faqs/Makefile.am
@@ -4,3 +4,5 @@ DOC_MODULE = anjuta-faqs
 DOC_ENTITIES = legal.xml 
 DOC_AM_CPPFLAGS =
 DOC_FIGURES =
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/anjuta-manual/Makefile.am b/manuals/anjuta-manual/Makefile.am
index 58af2a3..e91ad99 100644
--- a/manuals/anjuta-manual/Makefile.am
+++ b/manuals/anjuta-manual/Makefile.am
@@ -50,3 +50,5 @@ DOC_FIGURES = figures/add_edit_macro.png \
               figures/symbol_browser.png\
               figures/tool-editor.png
 DOC_LINGUAS = de el es eu oc sv
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/reference/Makefile.am b/manuals/reference/Makefile.am
index cdadc04..257d933 100644
--- a/manuals/reference/Makefile.am
+++ b/manuals/reference/Makefile.am
@@ -3,3 +3,5 @@
 SUBDIRS = libanjuta
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/manuals/reference/libanjuta/Makefile.am b/manuals/reference/libanjuta/Makefile.am
index 0ff9eb3..1f4a4bc 100644
--- a/manuals/reference/libanjuta/Makefile.am
+++ b/manuals/reference/libanjuta/Makefile.am
@@ -85,3 +85,5 @@ include $(top_srcdir)/gtk-doc.make
 # Other files to distribute
 # e.g. EXTRA_DIST += version.xml.in
 EXTRA_DIST += version.xml.in
+
+-include $(top_srcdir)/git.mk
diff --git a/mime/Makefile.am b/mime/Makefile.am
index 045e268..8e7fcad 100644
--- a/mime/Makefile.am
+++ b/mime/Makefile.am
@@ -27,3 +27,5 @@ uninstall-local:
 	    update-mime-database $(DESTDIR)$(datadir)/mime; \
 	  fi \
 	fi
+
+-include $(top_srcdir)/git.mk
diff --git a/omf-install/Makefile.am b/omf-install/Makefile.am
index a8dab62..d0f977d 100644
--- a/omf-install/Makefile.am
+++ b/omf-install/Makefile.am
@@ -26,3 +26,5 @@ uninstall-local:
         done
 	-rmdir $(omf_dest_dir)
 	-scrollkeeper-update -p $(scrollkeeper_localstate_dir) 
+
+-include $(top_srcdir)/git.mk
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
index 11585a0..11138a0 100644
--- a/pixmaps/Makefile.am
+++ b/pixmaps/Makefile.am
@@ -42,3 +42,5 @@ EXTRA_DIST = $(anjuta_pixmaps_DATA) \
 						$(icon_DATA) \
 						$(svgicon_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 757f01f..e5099b1 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -32,3 +32,5 @@ SUBDIRS = . \
 	gbf-am \
 	gbf-mkfile \
 	starter
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/build-basic-autotools/Makefile.am b/plugins/build-basic-autotools/Makefile.am
index 3064d72..6741797 100644
--- a/plugins/build-basic-autotools/Makefile.am
+++ b/plugins/build-basic-autotools/Makefile.am
@@ -69,3 +69,5 @@ EXTRA_DIST = \
 	$(build_pixmaps_DATA) \
 	$(build_glade_DATA) \
 	$(build_data_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/class-gen/Makefile.am b/plugins/class-gen/Makefile.am
index 3224c39..c626e13 100644
--- a/plugins/class-gen/Makefile.am
+++ b/plugins/class-gen/Makefile.am
@@ -59,3 +59,5 @@ EXTRA_DIST = \
 	$(clsgen_pixmaps_DATA) \
 	$(clsgen_glade_DATA) \
 	$(clsgen_plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/class-gen/templates/Makefile.am b/plugins/class-gen/templates/Makefile.am
index ec4cb77..7ffbc7e 100644
--- a/plugins/class-gen/templates/Makefile.am
+++ b/plugins/class-gen/templates/Makefile.am
@@ -8,3 +8,5 @@ clsgen_appdata_DATA = \
 
 EXTRA_DIST = \
 	$(clsgen_appdata_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/cvs-plugin/Makefile.am b/plugins/cvs-plugin/Makefile.am
index 20f45ed..8a7d919 100644
--- a/plugins/cvs-plugin/Makefile.am
+++ b/plugins/cvs-plugin/Makefile.am
@@ -52,3 +52,5 @@ EXTRA_DIST = \
 	$(cvs_plugin_plugin_DATA) \
 	$(cvs_plugin_ui_DATA) \
 	$(cvs_plugin_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am
index e8113dd..4dfb0b7 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -99,3 +99,5 @@ EXTRA_DIST = \
 SUBDIRS = \
 	images 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/debug-manager/images/Makefile.am b/plugins/debug-manager/images/Makefile.am
index 2aaca04..6da1ffe 100644
--- a/plugins/debug-manager/images/Makefile.am
+++ b/plugins/debug-manager/images/Makefile.am
@@ -28,3 +28,5 @@ images_DATA = \
 	anjuta-watch.svg
 
 EXTRA_DIST = $(images_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/devhelp/Makefile.am b/plugins/devhelp/Makefile.am
index 5ae9531..ecd4daf 100644
--- a/plugins/devhelp/Makefile.am
+++ b/plugins/devhelp/Makefile.am
@@ -53,3 +53,5 @@ EXTRA_DIST = \
 	$(devhelp_plugin_DATA) \
 	$(devhelp_ui_DATA) \
 	$(devhelp_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/document-manager/Makefile.am b/plugins/document-manager/Makefile.am
index 04bc8e5..3a8a54c 100644
--- a/plugins/document-manager/Makefile.am
+++ b/plugins/document-manager/Makefile.am
@@ -58,3 +58,5 @@ EXTRA_DIST = \
 	$(document_manager_plugin_DATA) \
 	$(document_manager_ui_DATA) \
 	$(document_manager_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/document-manager/images/Makefile.am b/plugins/document-manager/images/Makefile.am
index ec29e14..5e810f9 100644
--- a/plugins/document-manager/images/Makefile.am
+++ b/plugins/document-manager/images/Makefile.am
@@ -42,3 +42,5 @@ document_manager_pixmaps_DATA = \
 
 EXTRA_DIST = $(document_manager_pixmaps_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/file-loader/Makefile.am b/plugins/file-loader/Makefile.am
index 0853ca2..1ae1343 100644
--- a/plugins/file-loader/Makefile.am
+++ b/plugins/file-loader/Makefile.am
@@ -51,3 +51,5 @@ EXTRA_DIST = \
 	$(loader_plugin_DATA) \
 	$(loader_ui_DATA) \
 	$(loader_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/file-manager.old/Makefile.am b/plugins/file-manager.old/Makefile.am
index 5d8e945..eec1893 100644
--- a/plugins/file-manager.old/Makefile.am
+++ b/plugins/file-manager.old/Makefile.am
@@ -56,3 +56,5 @@ EXTRA_DIST = \
 	$(file_manager_ui_DATA) \
 	$(file_manager_glade_DATA) \
 	$(file_manager_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/file-manager/Makefile.am b/plugins/file-manager/Makefile.am
index 87a1480..5a8bad5 100644
--- a/plugins/file-manager/Makefile.am
+++ b/plugins/file-manager/Makefile.am
@@ -81,3 +81,5 @@ EXTRA_DIST = \
 	$(file_manager_glade_DATA) \
 	file-view-marshal.list
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/file-wizard/Makefile.am b/plugins/file-wizard/Makefile.am
index 957edd4..78553d7 100644
--- a/plugins/file-wizard/Makefile.am
+++ b/plugins/file-wizard/Makefile.am
@@ -40,3 +40,5 @@ EXTRA_DIST = \
 	$(wizard_pixmaps_DATA) \
 	$(wizard_plugin_DATA) \
 	$(wizard_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gbf-am/GBF/Makefile.am b/plugins/gbf-am/GBF/Makefile.am
index 4d3bf2b..119ce9a 100644
--- a/plugins/gbf-am/GBF/Makefile.am
+++ b/plugins/gbf-am/GBF/Makefile.am
@@ -3,3 +3,5 @@ perlmodules_DATA = AmFiles.pm General.pm
 
 EXTRA_DIST = $(perlmodules_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gbf-am/Makefile.am b/plugins/gbf-am/Makefile.am
index d4d36ec..533d97d 100644
--- a/plugins/gbf-am/Makefile.am
+++ b/plugins/gbf-am/Makefile.am
@@ -71,3 +71,5 @@ DISTCLEANFILES = \
 	$(plugin_DATA)
 SUBDIRS = GBF
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gbf-mkfile/GBF/Makefile.am b/plugins/gbf-mkfile/GBF/Makefile.am
index 471391a..0ac5f9a 100644
--- a/plugins/gbf-mkfile/GBF/Makefile.am
+++ b/plugins/gbf-mkfile/GBF/Makefile.am
@@ -3,3 +3,5 @@ perlmodules_DATA = Make.pm General.pm
 
 EXTRA_DIST = $(perlmodules_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gbf-mkfile/Makefile.am b/plugins/gbf-mkfile/Makefile.am
index 65f6008..80befb7 100644
--- a/plugins/gbf-mkfile/Makefile.am
+++ b/plugins/gbf-mkfile/Makefile.am
@@ -58,3 +58,5 @@ DISTCLEANFILES = \
 
 SUBDIRS = GBF
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gdb/Makefile.am b/plugins/gdb/Makefile.am
index b3f8489..9e364a0 100644
--- a/plugins/gdb/Makefile.am
+++ b/plugins/gdb/Makefile.am
@@ -60,3 +60,5 @@ EXTRA_DIST = \
 SUBDIRS = \
 	images 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gdb/images/Makefile.am b/plugins/gdb/images/Makefile.am
index 30a0315..75a1e54 100644
--- a/plugins/gdb/images/Makefile.am
+++ b/plugins/gdb/images/Makefile.am
@@ -7,3 +7,5 @@ images_DATA = \
 	stack.png
 
 EXTRA_DIST = $(images_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/git/Makefile.am b/plugins/git/Makefile.am
index fa951a5..a6e7272 100644
--- a/plugins/git/Makefile.am
+++ b/plugins/git/Makefile.am
@@ -200,3 +200,5 @@ EXTRA_DIST = \
 	$(git_ui_DATA) \
 	$(git_glade_DATA) \
 	$(git_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/glade/Makefile.am b/plugins/glade/Makefile.am
index a095c1a..c404be1 100644
--- a/plugins/glade/Makefile.am
+++ b/plugins/glade/Makefile.am
@@ -76,3 +76,5 @@ EXTRA_DIST = \
 	$(glade_pixmaps_DATA) \
 	$(glade_glade_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/gtodo/Makefile.am b/plugins/gtodo/Makefile.am
index 3adfa50..9cf801d 100644
--- a/plugins/gtodo/Makefile.am
+++ b/plugins/gtodo/Makefile.am
@@ -70,3 +70,5 @@ EXTRA_DIST = \
 	$(gtodo_plugin_DATA) \
 	$(gtodo_ui_DATA) \
 	$(gtodo_data_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/language-manager/Makefile.am b/plugins/language-manager/Makefile.am
index e10b1a2..3a30f7e 100644
--- a/plugins/language-manager/Makefile.am
+++ b/plugins/language-manager/Makefile.am
@@ -48,3 +48,5 @@ EXTRA_DIST = \
 	$(language_manager_pixmaps_DATA) \
 	languages.xml
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/language-support-cpp-java/Makefile.am b/plugins/language-support-cpp-java/Makefile.am
index d179008..5a14da8 100644
--- a/plugins/language-support-cpp-java/Makefile.am
+++ b/plugins/language-support-cpp-java/Makefile.am
@@ -71,3 +71,5 @@ EXTRA_DIST = \
 	$(cpp_java_ui_DATA) \
 	$(cpp_java_pixmaps_DATA) \
 	$(cpp_java_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/macro/Makefile.am b/plugins/macro/Makefile.am
index 16d20dc..5e1941d 100644
--- a/plugins/macro/Makefile.am
+++ b/plugins/macro/Makefile.am
@@ -54,3 +54,5 @@ EXTRA_DIST = \
 	$(macro_ui_DATA) \
 	$(macro_glade_DATA) \
 	$(macro_macros_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/message-view/Makefile.am b/plugins/message-view/Makefile.am
index a749e3b..9d1e8bd 100644
--- a/plugins/message-view/Makefile.am
+++ b/plugins/message-view/Makefile.am
@@ -52,3 +52,5 @@ EXTRA_DIST = \
 	$(message_view_plugin_DATA) \
 	$(message_view_ui_DATA) \
 	$(message_view_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/patch/Makefile.am b/plugins/patch/Makefile.am
index bf10d11..4607395 100644
--- a/plugins/patch/Makefile.am
+++ b/plugins/patch/Makefile.am
@@ -52,3 +52,5 @@ EXTRA_DIST = \
 	$(patch_ui_DATA) \
 	$(patch_pixmaps_DATA) \
 	$(patch_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-import/Makefile.am b/plugins/project-import/Makefile.am
index 089340d..f718ee6 100644
--- a/plugins/project-import/Makefile.am
+++ b/plugins/project-import/Makefile.am
@@ -43,3 +43,5 @@ EXTRA_DIST = \
 	$(wizard_pixmaps_DATA) \
 	$(project_import_DATA) \
 	$(wizard_plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-manager/Makefile.am b/plugins/project-manager/Makefile.am
index 29d3d68..f37bd56 100644
--- a/plugins/project-manager/Makefile.am
+++ b/plugins/project-manager/Makefile.am
@@ -64,3 +64,5 @@ EXTRA_DIST = \
 DISTCLEANFILES = \
 	$(project_plugin_DATA) \
 	$(project_in_files)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/Makefile.am b/plugins/project-wizard/Makefile.am
index a5bf5aa..7a41654 100644
--- a/plugins/project-wizard/Makefile.am
+++ b/plugins/project-wizard/Makefile.am
@@ -78,3 +78,5 @@ EXTRA_DIST = \
 ## uninstall-local:
 ##	@rm -fv $(*:%=$(templates_dir)/%)
 ##	-if test -d $(templates_dir); then rmdir $(templates_dir); fi
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index c7ce311..11ca20c 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -43,3 +43,5 @@ translatable-strings.h: $(wizard_files_DATA)
 	perl $(srcdir)/extract-translatable-strings.pl $(wizard_files_DATA) > translatable-strings.h
 
 EXTRA_DIST = $(wizard_files_DATA) $(BUILT_SOURCES)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin-vala/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin-vala/Makefile.am
index 42eca45..35e3445 100644
--- a/plugins/project-wizard/templates/anjuta-plugin-vala/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin-vala/Makefile.am
@@ -7,3 +7,5 @@ wizard_files_DATA = \
 
 EXTRA_DIST = $(wizard_files_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin-vala/po/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin-vala/po/Makefile.am
index 779574d..94682a8 100644
--- a/plugins/project-wizard/templates/anjuta-plugin-vala/po/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin-vala/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/anjuta-plugin-vala/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin-vala/src/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin-vala/src/Makefile.am
index ef8f471..50bd6f5 100644
--- a/plugins/project-wizard/templates/anjuta-plugin-vala/src/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin-vala/src/Makefile.am
@@ -5,3 +5,5 @@ wizard_files_DATA = \
 	config.vapi
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
index d3f4c1a..ef92fff 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
@@ -7,3 +7,5 @@ wizard_files_DATA = \
 
 EXTRA_DIST = $(wizard_files_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
index b3d1063..104fed4 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/anjuta-plugin/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
index 672af7c..bc94a30 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
@@ -8,3 +8,5 @@ wizard_files_DATA = \
 	plugin.ui
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/cpp/Makefile.am b/plugins/project-wizard/templates/cpp/Makefile.am
index 6c0cc74..0cd13e0 100644
--- a/plugins/project-wizard/templates/cpp/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA = \
 	configure.ac.tpl
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/cpp/po/Makefile.am b/plugins/project-wizard/templates/cpp/po/Makefile.am
index 6af4d06..3065367 100644
--- a/plugins/project-wizard/templates/cpp/po/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/cpp/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/cpp/src/Makefile.am b/plugins/project-wizard/templates/cpp/src/Makefile.am
index 5b1522a..7583fc3 100644
--- a/plugins/project-wizard/templates/cpp/src/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/src/Makefile.am
@@ -2,3 +2,5 @@ wizard_filesdir = $(anjuta_data_dir)/project/cpp/src
 wizard_files_DATA = main.cc Makefile.am.tpl \
 	cvsignore 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gcj/Makefile.am b/plugins/project-wizard/templates/gcj/Makefile.am
index c15188f..7be983e 100644
--- a/plugins/project-wizard/templates/gcj/Makefile.am
+++ b/plugins/project-wizard/templates/gcj/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA = \
         configure.ac.tpl
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gcj/src/Makefile.am b/plugins/project-wizard/templates/gcj/src/Makefile.am
index f4438a7..2d56efd 100644
--- a/plugins/project-wizard/templates/gcj/src/Makefile.am
+++ b/plugins/project-wizard/templates/gcj/src/Makefile.am
@@ -2,3 +2,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gcj/src
 wizard_files_DATA = Makefile.am.tpl 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gnome-applet/Makefile.am b/plugins/project-wizard/templates/gnome-applet/Makefile.am
index 1441165..5986cb7 100644
--- a/plugins/project-wizard/templates/gnome-applet/Makefile.am
+++ b/plugins/project-wizard/templates/gnome-applet/Makefile.am
@@ -9,3 +9,5 @@ wizard_files_DATA = \
 	HACKING
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gnome-applet/po/Makefile.am b/plugins/project-wizard/templates/gnome-applet/po/Makefile.am
index 71b40c9..dc4b95d 100644
--- a/plugins/project-wizard/templates/gnome-applet/po/Makefile.am
+++ b/plugins/project-wizard/templates/gnome-applet/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gnome/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gnome-applet/src/Makefile.am b/plugins/project-wizard/templates/gnome-applet/src/Makefile.am
index 5450d07..ca7c247 100644
--- a/plugins/project-wizard/templates/gnome-applet/src/Makefile.am
+++ b/plugins/project-wizard/templates/gnome-applet/src/Makefile.am
@@ -5,3 +5,5 @@ wizard_files_DATA = main.c \
 		    GNOME_Applet.server.in.in 
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtk/Makefile.am b/plugins/project-wizard/templates/gtk/Makefile.am
index 3e5efac..6edb9f4 100644
--- a/plugins/project-wizard/templates/gtk/Makefile.am
+++ b/plugins/project-wizard/templates/gtk/Makefile.am
@@ -1,2 +1,4 @@
 
 SUBDIRS = src po
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtk/po/Makefile.am b/plugins/project-wizard/templates/gtk/po/Makefile.am
index 7228bfe..aa6f049 100644
--- a/plugins/project-wizard/templates/gtk/po/Makefile.am
+++ b/plugins/project-wizard/templates/gtk/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gtk/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtk/src/Makefile.am b/plugins/project-wizard/templates/gtk/src/Makefile.am
index 4d1d601..8d345bd 100644
--- a/plugins/project-wizard/templates/gtk/src/Makefile.am
+++ b/plugins/project-wizard/templates/gtk/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gtk/src
 wizard_files_DATA = main.c callbacks.c callbacks.h Makefile.am.tpl project.glade
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtkmm/Makefile.am b/plugins/project-wizard/templates/gtkmm/Makefile.am
index 29508fb..3cfe748 100644
--- a/plugins/project-wizard/templates/gtkmm/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA =
 
 EXTRA_DIST = $(wizard_files_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtkmm/po/Makefile.am b/plugins/project-wizard/templates/gtkmm/po/Makefile.am
index 221a86d..b30928d 100644
--- a/plugins/project-wizard/templates/gtkmm/po/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gtkmm/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/gtkmm/src/Makefile.am b/plugins/project-wizard/templates/gtkmm/src/Makefile.am
index c227a30..5ddd8dd 100644
--- a/plugins/project-wizard/templates/gtkmm/src/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/gtkmm/src
 wizard_files_DATA = main.cc Makefile.am.tpl project.glade
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/java/Makefile.am b/plugins/project-wizard/templates/java/Makefile.am
index cdf503e..d41d25e 100644
--- a/plugins/project-wizard/templates/java/Makefile.am
+++ b/plugins/project-wizard/templates/java/Makefile.am
@@ -8,3 +8,5 @@ wizard_files_DATA = \
 
 EXTRA_DIST = $(wizard_files_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/java/po/Makefile.am b/plugins/project-wizard/templates/java/po/Makefile.am
index 1c0a07d..f30c420 100644
--- a/plugins/project-wizard/templates/java/po/Makefile.am
+++ b/plugins/project-wizard/templates/java/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/java/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/java/src/Makefile.am b/plugins/project-wizard/templates/java/src/Makefile.am
index 036202b..0e18eb7 100644
--- a/plugins/project-wizard/templates/java/src/Makefile.am
+++ b/plugins/project-wizard/templates/java/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/java/src
 wizard_files_DATA = main.java Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/licenses/Makefile.am b/plugins/project-wizard/templates/licenses/Makefile.am
index 07a7727..61e9106 100644
--- a/plugins/project-wizard/templates/licenses/Makefile.am
+++ b/plugins/project-wizard/templates/licenses/Makefile.am
@@ -5,3 +5,5 @@ wizard_files_DATA = \
 	LGPL \
 	None
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/m4/Makefile.am b/plugins/project-wizard/templates/m4/Makefile.am
index 72a4295..3b31d24 100644
--- a/plugins/project-wizard/templates/m4/Makefile.am
+++ b/plugins/project-wizard/templates/m4/Makefile.am
@@ -4,3 +4,5 @@ wizard_files_DATA = \
 	as-ac-expand.m4
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/minimal/Makefile.am b/plugins/project-wizard/templates/minimal/Makefile.am
index 50ac29d..b67521f 100644
--- a/plugins/project-wizard/templates/minimal/Makefile.am
+++ b/plugins/project-wizard/templates/minimal/Makefile.am
@@ -7,3 +7,5 @@ wizard_files_DATA = \
 	project.anjuta
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/mkfile/Makefile.am b/plugins/project-wizard/templates/mkfile/Makefile.am
index 2663dc4..f565a51 100644
--- a/plugins/project-wizard/templates/mkfile/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA = \
 	project.anjuta
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/mkfile/po/Makefile.am b/plugins/project-wizard/templates/mkfile/po/Makefile.am
index 3d52c18..03597a0 100644
--- a/plugins/project-wizard/templates/mkfile/po/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/mkfile/po
 wizard_files_DATA = ChangeLog POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/mkfile/src/Makefile.am b/plugins/project-wizard/templates/mkfile/src/Makefile.am
index 3930c25..b7f3b9c 100644
--- a/plugins/project-wizard/templates/mkfile/src/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/mkfile/src
 wizard_files_DATA = Makefile.tpl main.c
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/python/Makefile.am b/plugins/project-wizard/templates/python/Makefile.am
index ef827cc..0cb11aa 100644
--- a/plugins/project-wizard/templates/python/Makefile.am
+++ b/plugins/project-wizard/templates/python/Makefile.am
@@ -8,3 +8,5 @@ wizard_files_DATA = \
 
 EXTRA_DIST = $(wizard_files_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/python/po/Makefile.am b/plugins/project-wizard/templates/python/po/Makefile.am
index fbebe34..676a854 100644
--- a/plugins/project-wizard/templates/python/po/Makefile.am
+++ b/plugins/project-wizard/templates/python/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/python/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/python/src/Makefile.am b/plugins/project-wizard/templates/python/src/Makefile.am
index 59ef13a..9e7d78a 100644
--- a/plugins/project-wizard/templates/python/src/Makefile.am
+++ b/plugins/project-wizard/templates/python/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/python/src
 wizard_files_DATA = main.py Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/sdl/Makefile.am b/plugins/project-wizard/templates/sdl/Makefile.am
index 52b03d6..e68c17b 100644
--- a/plugins/project-wizard/templates/sdl/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/Makefile.am
@@ -7,3 +7,5 @@ wizard_files_DATA = \
 	acinclude.m4.tpl
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/sdl/po/Makefile.am b/plugins/project-wizard/templates/sdl/po/Makefile.am
index d264c68..462fff2 100644
--- a/plugins/project-wizard/templates/sdl/po/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/sdl/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/sdl/src/Makefile.am b/plugins/project-wizard/templates/sdl/src/Makefile.am
index e2ca13e..4ecc529 100644
--- a/plugins/project-wizard/templates/sdl/src/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/sdl/src
 wizard_files_DATA = main.c Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/terminal/Makefile.am b/plugins/project-wizard/templates/terminal/Makefile.am
index f8c104e..f9c5af1 100644
--- a/plugins/project-wizard/templates/terminal/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/Makefile.am
@@ -14,3 +14,5 @@ wizard_files_DATA = \
 	cvsignore 
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/terminal/po/Makefile.am b/plugins/project-wizard/templates/terminal/po/Makefile.am
index d432807..44d24c8 100644
--- a/plugins/project-wizard/templates/terminal/po/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/po/Makefile.am
@@ -2,3 +2,5 @@ wizard_filesdir = $(anjuta_data_dir)/project/terminal/po
 wizard_files_DATA = ChangeLog POTFILES.in LINGUAS\
 	cvsignore 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/terminal/src/Makefile.am b/plugins/project-wizard/templates/terminal/src/Makefile.am
index fc151ce..ff352a9 100644
--- a/plugins/project-wizard/templates/terminal/src/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/src/Makefile.am
@@ -2,3 +2,5 @@ wizard_filesdir = $(anjuta_data_dir)/project/terminal/src
 wizard_files_DATA = main.c Makefile.am.tpl \
 	cvsignore 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/wxwin/Makefile.am b/plugins/project-wizard/templates/wxwin/Makefile.am
index ee77f90..cda10fd 100644
--- a/plugins/project-wizard/templates/wxwin/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA = \
 	configure.ac.tpl
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/wxwin/po/Makefile.am b/plugins/project-wizard/templates/wxwin/po/Makefile.am
index b8c8b67..da325f1 100644
--- a/plugins/project-wizard/templates/wxwin/po/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/wxwin/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/wxwin/src/Makefile.am b/plugins/project-wizard/templates/wxwin/src/Makefile.am
index 5de4cac..7631d09 100644
--- a/plugins/project-wizard/templates/wxwin/src/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/wxwin/src
 wizard_files_DATA = main.cc Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib-dock/Makefile.am b/plugins/project-wizard/templates/xlib-dock/Makefile.am
index dd6709f..6061761 100644
--- a/plugins/project-wizard/templates/xlib-dock/Makefile.am
+++ b/plugins/project-wizard/templates/xlib-dock/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = src po
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib-dock/po/Makefile.am b/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
index c81a230..50a03bb 100644
--- a/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
+++ b/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/xlib-dock/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
index f64a485..6986199 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
+++ b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/xlib-dock/src
 wizard_files_DATA = main.c wmgeneral.c wmgeneral.h pixmaps.h Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib/Makefile.am b/plugins/project-wizard/templates/xlib/Makefile.am
index 56aa50f..5ddc6bd 100644
--- a/plugins/project-wizard/templates/xlib/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/Makefile.am
@@ -6,3 +6,5 @@ wizard_files_DATA = \
 	configure.ac.tpl
 
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib/po/Makefile.am b/plugins/project-wizard/templates/xlib/po/Makefile.am
index 0c19a5c..198a80d 100644
--- a/plugins/project-wizard/templates/xlib/po/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/po/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/xlib/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/xlib/src/Makefile.am b/plugins/project-wizard/templates/xlib/src/Makefile.am
index 3d487d4..20994d1 100644
--- a/plugins/project-wizard/templates/xlib/src/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/src/Makefile.am
@@ -1,3 +1,5 @@
 wizard_filesdir = $(anjuta_data_dir)/project/xlib/src
 wizard_files_DATA = main.c Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/run-program/Makefile.am b/plugins/run-program/Makefile.am
index 486c3d4..697ba71 100644
--- a/plugins/run-program/Makefile.am
+++ b/plugins/run-program/Makefile.am
@@ -49,3 +49,5 @@ EXTRA_DIST = \
 	$(anjuta_plugin_DATA) \
 	$(anjuta_ui_DATA) \
 	$(anjuta_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/scratchbox/Makefile.am b/plugins/scratchbox/Makefile.am
index 2e548fe..b53e25e 100644
--- a/plugins/scratchbox/Makefile.am
+++ b/plugins/scratchbox/Makefile.am
@@ -43,3 +43,5 @@ EXTRA_DIST = \
 	$(anjuta_pixmaps_DATA) \
 	$(anjuta_plugin_DATA) \
 	$(anjuta_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/search/Makefile.am b/plugins/search/Makefile.am
index 7642f82..0dac476 100644
--- a/plugins/search/Makefile.am
+++ b/plugins/search/Makefile.am
@@ -53,3 +53,5 @@ EXTRA_DIST = \
 	$(search_ui_DATA) \
 	$(search_pixmaps_DATA) \
 	$(search_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/sourceview/Makefile.am b/plugins/sourceview/Makefile.am
index e3d9ec2..e570faf 100644
--- a/plugins/sourceview/Makefile.am
+++ b/plugins/sourceview/Makefile.am
@@ -93,3 +93,5 @@ EXTRA_DIST = \
 	$(sourceview_xml_DATA)
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/starter/Makefile.am b/plugins/starter/Makefile.am
index 99970da..35bc00d 100644
--- a/plugins/starter/Makefile.am
+++ b/plugins/starter/Makefile.am
@@ -39,3 +39,5 @@ EXTRA_DIST = \
 	$(plugin_in_files) \
 	$(starter_plugin_DATA) \
 	$(starter_pixmaps_DATA) 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/subversion/Makefile.am b/plugins/subversion/Makefile.am
index 062408b..6a338fd 100644
--- a/plugins/subversion/Makefile.am
+++ b/plugins/subversion/Makefile.am
@@ -109,3 +109,5 @@ EXTRA_DIST = \
 	$(subversion_ui_DATA) \
 	$(subversion_glade_DATA) \
 	$(subversion_pixmaps_DATA) 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/symbol-db/Makefile.am b/plugins/symbol-db/Makefile.am
index 8471633..6e32356 100644
--- a/plugins/symbol-db/Makefile.am
+++ b/plugins/symbol-db/Makefile.am
@@ -89,3 +89,5 @@ EXTRA_DIST = \
 
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/symbol-db/images/Makefile.am b/plugins/symbol-db/images/Makefile.am
index 277228b..a98ab7f 100644
--- a/plugins/symbol-db/images/Makefile.am
+++ b/plugins/symbol-db/images/Makefile.am
@@ -15,3 +15,5 @@ symbol_browser_icons_DATA = \
 	element-property-16.png \
 	element-structure-16.png
 EXTRA_DIST = $(symbol_browser_icons_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/symbol-db/test/Makefile.am b/plugins/symbol-db/test/Makefile.am
index 3b6fc73..122a5ab 100644
--- a/plugins/symbol-db/test/Makefile.am
+++ b/plugins/symbol-db/test/Makefile.am
@@ -46,3 +46,5 @@ benchmark_LDFLAGS = \
 
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/terminal/Makefile.am b/plugins/terminal/Makefile.am
index 1cf0ec0..c71093c 100644
--- a/plugins/terminal/Makefile.am
+++ b/plugins/terminal/Makefile.am
@@ -53,3 +53,5 @@ EXTRA_DIST = \
 	$(terminal_pixmaps_DATA) \
 	$(terminal_ui_DATA) \
 	$(terminal_glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/tools/Makefile.am b/plugins/tools/Makefile.am
index b474301..2dd5938 100644
--- a/plugins/tools/Makefile.am
+++ b/plugins/tools/Makefile.am
@@ -61,3 +61,5 @@ EXTRA_DIST = \
 SUBDIRS = \
 	scripts 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/tools/scripts/Makefile.am b/plugins/tools/scripts/Makefile.am
index cefa38c..c316220 100644
--- a/plugins/tools/scripts/Makefile.am
+++ b/plugins/tools/scripts/Makefile.am
@@ -26,4 +26,5 @@ tools-2.xml: Makefile
      
 tools-2.xml: tools-2.xml.in
 
-CLEANFILES = tools-2.xml
\ No newline at end of file
+CLEANFILES = tools-2.xml
+-include $(top_srcdir)/git.mk
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index eaae4e8..f14b8cb 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -9,4 +9,5 @@ dist-hook:
 	cp $(srcdir)/glade2schema.pl $(distdir)
 	chmod +x $(distdir)/glade2schema.pl
 	cp $(srcdir)/builder2schema.pl $(distdir)
-	chmod +x $(distdir)/builder2schema.pl
\ No newline at end of file
+	chmod +x $(distdir)/builder2schema.pl
+-include $(top_srcdir)/git.mk
diff --git a/src/Makefile.am b/src/Makefile.am
index e352da3..3e08e8b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,3 +64,5 @@ EXTRA_DIST = \
 	$(anjuta_layout_DATA) \
 	$(anjuta_glade_DATA) \
 	$(anjuta_pixmaps_DATA)
+
+-include $(top_srcdir)/git.mk



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