summaryrefslogtreecommitdiff
path: root/git.mk
diff options
context:
space:
mode:
authorPablo Castellano <pablog@src.gnome.org>2010-08-03 19:58:22 +0200
committerPablo Castellano <pablog@src.gnome.org>2010-08-03 19:58:22 +0200
commita5abcfe6d4a99fb313bf32fe12c718a286e3b489 (patch)
tree2d0e193d6f1fea814301382ca4e72ec5f1478a46 /git.mk
parentfb48efce458f26c6860c7729c481abd545985f7f (diff)
downloadgtk-doc-a5abcfe6d4a99fb313bf32fe12c718a286e3b489.tar.gz
Update git.mk from pango
Diffstat (limited to 'git.mk')
-rw-r--r--git.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/git.mk b/git.mk
index 12425e6..5ab41ba 100644
--- a/git.mk
+++ b/git.mk
@@ -82,14 +82,12 @@ git-mk-install:
### .gitignore generation
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
- @echo Generating $@; \
+ $(AM_V_GEN) \
{ \
if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
for x in \
$(DOC_MODULE)-decl-list.txt \
$(DOC_MODULE)-decl.txt \
- $(DOC_MODULE)-overrides.txt \
- $(DOC_MODULE).pdf \
tmpl/$(DOC_MODULE)-unused.sgml \
"tmpl/*.bak" \
xml html \
@@ -117,6 +115,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
po/.intltool-merge-cache \
"po/*.gmo" \
"po/*.mo" \
+ po/$(GETTEXT_PACKAGE).pot \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
@@ -137,6 +136,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
$(GITIGNOREFILES) \
$(CLEANFILES) \
$(PROGRAMS) \
+ $(check_PROGRAMS) \
$(EXTRA_PROGRAMS) \
$(LTLIBRARIES) \
so_locations \
@@ -163,7 +163,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
} | \
sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
sed 's@/[.]/@/@g' | \
- LANG=C sort | uniq > $@.tmp && \
+ LC_ALL=C sort | uniq > $@.tmp && \
mv $@.tmp $@;
all: $(srcdir)/.gitignore gitignore-recurse-maybe
@@ -172,8 +172,11 @@ gitignore-recurse-maybe:
$(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"); \
+ @for subdir in $(DIST_SUBDIRS); do \
+ case " $(SUBDIRS) " in \
+ *" $$subdir "*) :;; \
+ *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir");; \
+ esac; \
done
gitignore: $(srcdir)/.gitignore gitignore-recurse