git.mk: Add support for mallard.

Copied from Pango module.
This commit is contained in:
Matthew Barnes
2011-08-11 09:02:13 -04:00
parent 23b38d5c45
commit d08822afde
2 changed files with 17 additions and 2 deletions

17
git.mk
View File

@ -40,7 +40,7 @@
# build dir. # build dir.
# #
# This file knows how to handle autoconf, automake, libtool, gtk-doc, # This file knows how to handle autoconf, automake, libtool, gtk-doc,
# gnome-doc-utils, intltool. # gnome-doc-utils, mallard, intltool, gsettings.
# #
# #
# KNOWN ISSUES: # KNOWN ISSUES:
@ -52,6 +52,10 @@
# And add those files to git. See vte/gnome-pty-helper/git.mk for # And add those files to git. See vte/gnome-pty-helper/git.mk for
# example. # example.
# #
# ChangeLog
#
# - 2010-12-06 Add support for Mallard docs
# - 2010-12-06 Start this change log
git-all: git-mk-install git-all: git-mk-install
@ -93,18 +97,26 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
xml html \ xml html \
; do echo /$$x; done; \ ; do echo /$$x; done; \
fi; \ fi; \
if test "x$(DOC_MODULE)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \ if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
for x in \ for x in \
$(_DOC_C_DOCS) \ $(_DOC_C_DOCS) \
$(_DOC_LC_DOCS) \ $(_DOC_LC_DOCS) \
$(_DOC_OMF_ALL) \ $(_DOC_OMF_ALL) \
$(_DOC_DSK_ALL) \ $(_DOC_DSK_ALL) \
$(_DOC_HTML_ALL) \ $(_DOC_HTML_ALL) \
$(_DOC_MOFILES) \
$(_DOC_POFILES) \ $(_DOC_POFILES) \
$(DOC_H_FILE) \
"*/.xml2po.mo" \ "*/.xml2po.mo" \
"*/*.omf.out" \ "*/*.omf.out" \
; do echo /$$x; done; \ ; do echo /$$x; done; \
fi; \ 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 \ if test -f $(srcdir)/po/Makefile.in.in; then \
for x in \ for x in \
po/Makefile.in.in \ po/Makefile.in.in \
@ -159,6 +171,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
"*.bak" \ "*.bak" \
"*~" \ "*~" \
".*.sw[nop]" \ ".*.sw[nop]" \
".dirstamp" \
; do echo /$$x; done; \ ; do echo /$$x; done; \
} | \ } | \
sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \

View File

@ -236,3 +236,5 @@ DOC_PAGES = \
DOC_LINGUAS = cs de el en_GB es eu fr gl oc ru sl sv mk zh_CN DOC_LINGUAS = cs de el en_GB es eu fr gl oc ru sl sv mk zh_CN
dist-hook: doc-dist-hook dist-hook: doc-dist-hook
-include $(top_srcdir)/git.mk