[gedit] Add git.mk to generate the .gitignore.



commit 9680df0ad9f4c818ee2fe0595a35c853c103d306
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue May 5 12:04:50 2009 +0200

    Add git.mk to generate the .gitignore.
---
 Makefile.am                                     |    2 +
 data/Makefile.am                                |    2 +
 docs/Makefile.am                                |    2 +
 docs/reference/Makefile.am                      |    2 +
 gedit/Makefile.am                               |    2 +
 gedit/dialogs/Makefile.am                       |    2 +
 gedit/smclient/Makefile.am                      |    2 +
 git.mk                                          |  182 +++++++++++++++++++++++
 help/C/Makefile.am                              |    2 +
 help/Makefile.am                                |    2 +
 omf-install/Makefile.am                         |    2 +
 pixmaps/Makefile.am                             |    2 +
 plugin-loaders/Makefile.am                      |    2 +
 plugin-loaders/c/Makefile.am                    |    2 +
 plugin-loaders/python/Makefile.am               |    2 +
 plugin-loaders/python/bindings/Makefile.am      |    2 +
 plugins/Makefile.am                             |    2 +
 plugins/changecase/Makefile.am                  |    2 +
 plugins/docinfo/Makefile.am                     |    2 +
 plugins/externaltools/Makefile.am               |    2 +
 plugins/externaltools/data/Makefile.am          |    2 +
 plugins/externaltools/scripts/Makefile.am       |    2 +
 plugins/externaltools/tools/Makefile.am         |    2 +
 plugins/filebrowser/Makefile.am                 |    2 +
 plugins/indent/Makefile.am                      |    2 +
 plugins/modelines/Makefile.am                   |    2 +
 plugins/pythonconsole/Makefile.am               |    2 +
 plugins/pythonconsole/pythonconsole/Makefile.am |    2 +
 plugins/sample/Makefile.am                      |    2 +
 plugins/snippets/Makefile.am                    |    2 +
 plugins/snippets/data/Makefile.am               |    2 +
 plugins/snippets/data/lang/Makefile.am          |    2 +
 plugins/snippets/snippets/Makefile.am           |    2 +
 plugins/sort/Makefile.am                        |    2 +
 plugins/spell/Makefile.am                       |    2 +
 plugins/taglist/Makefile.am                     |    2 +
 plugins/time/Makefile.am                        |    2 +
 tools/plugin_template/Makefile.am               |    2 +
 win32/Makefile.am                               |    2 +
 39 files changed, 258 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5f9a263..8c42ac1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,3 +46,5 @@ ChangeLog:
 	fi
 
 .PHONY: ChangeLog
+
+-include $(top_srcdir)/git.mk
diff --git a/data/Makefile.am b/data/Makefile.am
index 2b763c4..2e0e919 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -44,3 +44,5 @@ CLEANFILES =	 			\
 
 
 
+
+-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 d282047..9e3b8d5 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -116,3 +116,5 @@ include $(top_srcdir)/gtk-doc.make
 regenerate-types:
 	grep _get_type $(DOC_SOURCE_DIR)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > gedit.types
 	grep _get_type $(DOC_SOURCE_DIR)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> gedit.types.new
+
+-include $(top_srcdir)/git.mk
diff --git a/gedit/Makefile.am b/gedit/Makefile.am
index ad418d1..69728cd 100644
--- a/gedit/Makefile.am
+++ b/gedit/Makefile.am
@@ -234,3 +234,5 @@ endif
 if BUILD_SEXY
 libgedit_la_SOURCES += sexy-icon-entry.c sexy-icon-entry.h
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/gedit/dialogs/Makefile.am b/gedit/dialogs/Makefile.am
index f4c66df..9c792fa 100644
--- a/gedit/dialogs/Makefile.am
+++ b/gedit/dialogs/Makefile.am
@@ -32,3 +32,5 @@ ui_DATA =					\
 
 EXTRA_DIST = $(ui_DATA) 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/gedit/smclient/Makefile.am b/gedit/smclient/Makefile.am
index 9b248af..fe4b3ba 100644
--- a/gedit/smclient/Makefile.am
+++ b/gedit/smclient/Makefile.am
@@ -48,3 +48,5 @@ EXTRA_DIST =                             \
 	eggsmclient-osx.c                \
 	eggsmclient-win32.c              \
 	eggsmclient-xsmp.c
+
+-include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
new file mode 100644
index 0000000..01bf288
--- /dev/null
+++ b/git.mk
@@ -0,0 +1,182 @@
+# 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) \
+			$(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/help/C/Makefile.am b/help/C/Makefile.am
index 4df4070..ef9dc54 100644
--- a/help/C/Makefile.am
+++ b/help/C/Makefile.am
@@ -5,3 +5,5 @@ omffile = gedit-C.omf
 entities = legal.xml
 include $(top_srcdir)/xmldocs.make
 dist-hook: app-dist-hook
+
+-include $(top_srcdir)/git.mk
diff --git a/help/Makefile.am b/help/Makefile.am
index 9a62193..7c60eb8 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -14,3 +14,5 @@ DOC_FIGURES = \
 
 DOC_LINGUAS = ar bg ca da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW
 
+
+-include $(top_srcdir)/git.mk
diff --git a/omf-install/Makefile.am b/omf-install/Makefile.am
index 410088f..6b01534 100644
--- a/omf-install/Makefile.am
+++ b/omf-install/Makefile.am
@@ -31,3 +31,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 9c62f78..d7ee461 100644
--- a/pixmaps/Makefile.am
+++ b/pixmaps/Makefile.am
@@ -8,3 +8,5 @@ EXTRA_DIST = \
 	$(icon_DATA) \
 	$(logo_DATA) \
 	gedit.ico
+
+-include $(top_srcdir)/git.mk
diff --git a/plugin-loaders/Makefile.am b/plugin-loaders/Makefile.am
index c9ff35d..bf1e964 100644
--- a/plugin-loaders/Makefile.am
+++ b/plugin-loaders/Makefile.am
@@ -3,3 +3,5 @@ SUBDIRS = c
 if ENABLE_PYTHON
 SUBDIRS += python
 endif
+
+-include $(top_srcdir)/git.mk
diff --git a/plugin-loaders/c/Makefile.am b/plugin-loaders/c/Makefile.am
index 11f0795..7760aef 100644
--- a/plugin-loaders/c/Makefile.am
+++ b/plugin-loaders/c/Makefile.am
@@ -20,3 +20,5 @@ libcloader_la_SOURCES = \
 
 libcloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
 libcloader_la_LIBADD = $(GEDIT_LIBS)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugin-loaders/python/Makefile.am b/plugin-loaders/python/Makefile.am
index 2fff89b..b9b4096 100644
--- a/plugin-loaders/python/Makefile.am
+++ b/plugin-loaders/python/Makefile.am
@@ -31,3 +31,5 @@ libpythonloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
 libpythonloader_la_LIBADD = \
 	$(GEDIT_LIBS) 			\
 	bindings/gedit.la
+
+-include $(top_srcdir)/git.mk
diff --git a/plugin-loaders/python/bindings/Makefile.am b/plugin-loaders/python/bindings/Makefile.am
index e6e78a1..3903d8e 100644
--- a/plugin-loaders/python/bindings/Makefile.am
+++ b/plugin-loaders/python/bindings/Makefile.am
@@ -110,3 +110,5 @@ CLEANFILES = $(BUILT_SOURCES)
 
 dist-hook:
 	cd $(distdir); rm -f $(BUILT_SOURCES)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 041fd0e..9bde214 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -27,3 +27,5 @@ DIST_SUBDIRS += externaltools pythonconsole snippets
 SUBDIRS      += externaltools pythonconsole snippets
 endif
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/changecase/Makefile.am b/plugins/changecase/Makefile.am
index ff5f801..1f165f9 100644
--- a/plugins/changecase/Makefile.am
+++ b/plugins/changecase/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am
index 214e749..edf2909 100644
--- a/plugins/docinfo/Makefile.am
+++ b/plugins/docinfo/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/externaltools/Makefile.am b/plugins/externaltools/Makefile.am
index 2e0ba88..f529640 100644
--- a/plugins/externaltools/Makefile.am
+++ b/plugins/externaltools/Makefile.am
@@ -11,3 +11,5 @@ EXTRA_DIST = $(plugin_in_files)
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am
index 62ed17d..e11628f 100644
--- a/plugins/externaltools/data/Makefile.am
+++ b/plugins/externaltools/data/Makefile.am
@@ -31,3 +31,5 @@ DISTCLEANFILES = \
 	$(desktop_files) \
 	$(tools_SCRIPTS)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/externaltools/scripts/Makefile.am b/plugins/externaltools/scripts/Makefile.am
index 115b196..4ff8060 100644
--- a/plugins/externaltools/scripts/Makefile.am
+++ b/plugins/externaltools/scripts/Makefile.am
@@ -1,2 +1,4 @@
 EXTRA_DIST = gedit-tool-merge.pl
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/externaltools/tools/Makefile.am b/plugins/externaltools/tools/Makefile.am
index cb7bd32..c580814 100644
--- a/plugins/externaltools/tools/Makefile.am
+++ b/plugins/externaltools/tools/Makefile.am
@@ -18,3 +18,5 @@ EXTRA_DIST = $(ui_DATA)
 
 CLEANFILES = *.bak *.gladep
 DISTCLEANFILES = *.bak *.gladep
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am
index b623a77..40fac42 100644
--- a/plugins/filebrowser/Makefile.am
+++ b/plugins/filebrowser/Makefile.am
@@ -100,3 +100,5 @@ DISTCLEANFILES = \
 	$(plugin_DATA)		\
 	$(schemas_DATA)		\
 	$(BUILT_SOURCES)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/indent/Makefile.am b/plugins/indent/Makefile.am
index 318460a..fadd48c 100644
--- a/plugins/indent/Makefile.am
+++ b/plugins/indent/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/modelines/Makefile.am b/plugins/modelines/Makefile.am
index a75d44c..ddcfccc 100644
--- a/plugins/modelines/Makefile.am
+++ b/plugins/modelines/Makefile.am
@@ -34,3 +34,5 @@ EXTRA_DIST = \
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/pythonconsole/Makefile.am b/plugins/pythonconsole/Makefile.am
index 27df11e..c27227f 100644
--- a/plugins/pythonconsole/Makefile.am
+++ b/plugins/pythonconsole/Makefile.am
@@ -11,3 +11,5 @@ EXTRA_DIST = $(plugin_in_files)
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/pythonconsole/pythonconsole/Makefile.am b/plugins/pythonconsole/pythonconsole/Makefile.am
index 8840965..7aa91fe 100644
--- a/plugins/pythonconsole/pythonconsole/Makefile.am
+++ b/plugins/pythonconsole/pythonconsole/Makefile.am
@@ -13,3 +13,5 @@ EXTRA_DIST = $(ui_DATA)
 
 CLEANFILES =
 DISTCLEANFILES =
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/sample/Makefile.am b/plugins/sample/Makefile.am
index 07e8f55..d5e4753 100644
--- a/plugins/sample/Makefile.am
+++ b/plugins/sample/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/snippets/Makefile.am b/plugins/snippets/Makefile.am
index 6ab8a7f..06f0009 100644
--- a/plugins/snippets/Makefile.am
+++ b/plugins/snippets/Makefile.am
@@ -11,3 +11,5 @@ EXTRA_DIST = $(plugin_in_files)
 
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/snippets/data/Makefile.am b/plugins/snippets/data/Makefile.am
index 51007ce..6c3cca1 100644
--- a/plugins/snippets/data/Makefile.am
+++ b/plugins/snippets/data/Makefile.am
@@ -27,3 +27,5 @@ snippets_DATA = \
 snippetsdir = $(GEDIT_PLUGINS_DATA_DIR)/snippets
 
 EXTRA_DIST = $(snippets_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/snippets/data/lang/Makefile.am b/plugins/snippets/data/lang/Makefile.am
index a7a13b8..8a497c1 100644
--- a/plugins/snippets/data/lang/Makefile.am
+++ b/plugins/snippets/data/lang/Makefile.am
@@ -5,3 +5,5 @@ lang_DATA = \
 langdir = $(GEDIT_PLUGINS_DATA_DIR)/snippets/lang
 
 EXTRA_DIST = $(lang_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/snippets/snippets/Makefile.am b/plugins/snippets/snippets/Makefile.am
index 041e898..ee5ec20 100644
--- a/plugins/snippets/snippets/Makefile.am
+++ b/plugins/snippets/snippets/Makefile.am
@@ -24,3 +24,5 @@ EXTRA_DIST = $(ui_DATA)
 
 CLEANFILES = *.bak *.gladep *.pyc
 DISTCLEANFILES = *.bak *.gladep *.pyc
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/sort/Makefile.am b/plugins/sort/Makefile.am
index 4f01ee1..8fa3914 100644
--- a/plugins/sort/Makefile.am
+++ b/plugins/sort/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am
index 47ac6d7..47b5e0c 100644
--- a/plugins/spell/Makefile.am
+++ b/plugins/spell/Makefile.am
@@ -60,3 +60,5 @@ dist-hook:
 	cd $(distdir); rm -f $(BUILT_SOURCES)
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/taglist/Makefile.am b/plugins/taglist/Makefile.am
index da99918..d5db864 100644
--- a/plugins/taglist/Makefile.am
+++ b/plugins/taglist/Makefile.am
@@ -54,3 +54,5 @@ DISTCLEANFILES = \
 
 
 
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am
index 69c0f56..3d781ec 100644
--- a/plugins/time/Makefile.am
+++ b/plugins/time/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
 CLEANFILES = $(plugin_DATA)
 DISTCLEANFILES = $(plugin_DATA)
 
+
+-include $(top_srcdir)/git.mk
diff --git a/tools/plugin_template/Makefile.am b/tools/plugin_template/Makefile.am
index 3a0c112..d31f35a 100644
--- a/tools/plugin_template/Makefile.am
+++ b/tools/plugin_template/Makefile.am
@@ -37,3 +37,5 @@ EXTRA_DIST = $(plugin_in_files)
 CLEANFILES = $(plugin_DATA) $(glade_DATA)
 
 DISTCLEANFILES = $(plugin_DATA) $(glade_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/win32/Makefile.am b/win32/Makefile.am
index d3c4ddc..3463500 100644
--- a/win32/Makefile.am
+++ b/win32/Makefile.am
@@ -1,2 +1,4 @@
 # Stuff to build the Windows installer:
 EXTRA_DIST = gedit.iss.in build-installer querymodules.bat
+
+-include $(top_srcdir)/git.mk



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