diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2010-09-28 14:16:46 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2010-09-28 14:16:46 -0400 |
commit | 1f32ac0356cfc5c961570d7291d70603d85efa8b (patch) | |
tree | 51d8bea1b70e221f4ac363aaf18e954a948e3960 /git.mk | |
parent | ce7af5623349df44c4787a44296645db405c5e0c (diff) | |
download | pango-1f32ac0356cfc5c961570d7291d70603d85efa8b.tar.gz |
Bug 630812 - Ignore gnome-doc-utils, .dirstamp and GSettings files in git.mk
Patches from Philip Withnall.
[PATCH 1/3] Ignore gnome-doc-utils' .mo files and generated headers
gnome-doc-utils can optionally generate a header (specified in DOC_H_FILE)
which is cleaned by gnome-doc-utils.make in mostlyclean. Additionally, it
generates MO files for the documentation translations which are also cleaned
by gnome-doc-utils.make in mostlyclean.
[PATCH 2/3] Ignore .dirstamp files
These are automatically removed on distclean by automake under some
circumstances.
[PATCH 3/3] Ignore files generated by gsettings.m4
gsettings.m4 generates .valid files and can optionally generate enum files,
which are all removed on mostlyclean by gsettings.m4.
Diffstat (limited to 'git.mk')
-rw-r--r-- | git.mk | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -40,7 +40,7 @@ # build dir. # # This file knows how to handle autoconf, automake, libtool, gtk-doc, -# gnome-doc-utils, intltool. +# gnome-doc-utils, intltool, gsettings. # # # KNOWN ISSUES: @@ -100,11 +100,19 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk $(_DOC_OMF_ALL) \ $(_DOC_DSK_ALL) \ $(_DOC_HTML_ALL) \ + $(_DOC_MOFILES) \ $(_DOC_POFILES) \ + $(DOC_H_FILE) \ "*/.xml2po.mo" \ "*/*.omf.out" \ ; do echo /$$x; done; \ fi; \ + if test "x$(gsettings_SCHEMAS)" = x; then :; else \ + for x in \ + $(gsettings_SCHEMAS:.xml=.valid) \ + $(gsettings__enum_file) \ + ; do echo /$$x; done; \ + fi; \ if test -f $(srcdir)/po/Makefile.in.in; then \ for x in \ po/Makefile.in.in \ @@ -159,6 +167,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk "*.bak" \ "*~" \ ".*.sw[nop]" \ + ".dirstamp" \ ; do echo /$$x; done; \ } | \ sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ |