export GETTEXTDATADIR to refer the local .its/.loc file instead of using --its option
This commit is contained in:
parent
030e2e4e94
commit
97488fd725
|
@ -24,7 +24,7 @@
|
|||
SUBDIRS=fontconfig fc-case fc-lang src \
|
||||
fc-cache fc-cat fc-conflist fc-list fc-match \
|
||||
fc-pattern fc-query fc-scan fc-validate conf.d \
|
||||
po po-conf test
|
||||
its po po-conf test
|
||||
if ENABLE_DOCS
|
||||
SUBDIRS += doc
|
||||
endif
|
||||
|
|
|
@ -778,6 +778,7 @@ fc-scan/Makefile
|
|||
fc-validate/Makefile
|
||||
doc/Makefile
|
||||
doc/version.sgml
|
||||
its/Makefile
|
||||
po/Makefile.in
|
||||
po-conf/Makefile.in
|
||||
test/Makefile
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
gettextitsdir = $(datadir)/gettext/its
|
||||
gettextits_DATA = \
|
||||
fontconfig.its \
|
||||
fontconfig.loc
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
|
@ -8,7 +8,7 @@ subdir = po-conf
|
|||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --its=$(top_srcdir)/src/fontconfig.its
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
|
||||
|
||||
# This is the copyright holder that gets inserted into the header of the
|
||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||
|
@ -77,4 +77,4 @@ PO_DEPENDS_ON_POT = yes
|
|||
# externally.
|
||||
DIST_DEPENDS_ON_UPDATE_PO = yes
|
||||
|
||||
|
||||
$(DOMAIN).pot-update: export GETTEXTDATADIR = $(top_srcdir)
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
conf.d/10-autohint.conf
|
||||
conf.d/10-hinting-full.conf
|
||||
conf.d/10-hinting-medium.conf
|
||||
conf.d/10-hinting-none.conf
|
||||
conf.d/10-hinting-slight.conf
|
||||
conf.d/10-no-sub-pixel.conf
|
||||
conf.d/10-scale-bitmap-fonts.conf
|
||||
conf.d/10-sub-pixel-bgr.conf
|
||||
conf.d/10-sub-pixel-rgb.conf
|
||||
conf.d/10-sub-pixel-vbgr.conf
|
||||
conf.d/10-sub-pixel-vrgb.conf
|
||||
conf.d/10-unhinted.conf
|
||||
conf.d/11-lcdfilter-default.conf
|
||||
conf.d/11-lcdfilter-legacy.conf
|
||||
conf.d/11-lcdfilter-light.conf
|
||||
conf.d/20-unhint-small-vera.conf
|
||||
conf.d/25-unhint-nonlatin.conf
|
||||
conf.d/30-metric-aliases.conf
|
||||
conf.d/40-nonlatin.conf
|
||||
conf.d/45-generic.conf
|
||||
conf.d/45-latin.conf
|
||||
conf.d/49-sansserif.conf
|
||||
conf.d/50-user.conf
|
||||
conf.d/51-local.conf
|
||||
conf.d/60-generic.conf
|
||||
conf.d/60-latin.conf
|
||||
conf.d/65-fonts-persian.conf
|
||||
conf.d/65-khmer.conf
|
||||
conf.d/65-nonlatin.conf
|
||||
conf.d/69-unifont.conf
|
||||
conf.d/70-no-bitmaps.conf
|
||||
conf.d/70-yes-bitmaps.conf
|
||||
conf.d/80-delicious.conf
|
||||
conf.d/90-synthetic.conf
|
|
@ -218,9 +218,4 @@ fontconfig.def: $(PUBLIC_FILES) $(PUBLIC_FT_FILES)
|
|||
echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@
|
||||
@ ! $(GREP) -q FcERROR $@ || ($(RM) $@; false)
|
||||
|
||||
gettextitsdir = $(datadir)/gettext/its
|
||||
gettextits_DATA = \
|
||||
fontconfig.its \
|
||||
fontconfig.loc
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
|
Loading…
Reference in New Issue