mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* bootstrap: Fix bug introduced in recent bootstrap changes, with respect to bison-runtime pot generation. The YY_ stuff wasn't being captured. * bootstrap.conf (XGETTEXT_OPTIONS_RUNTIME): New var. * po/POTFILES.in: Add src/location.c, src/scan-code.l. * runtime-po/POTFILES.in: Add data/push.c.
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
# Bootstrap configuration.
|
|
|
|
# Copyright (C) 2006 Free Software Foundation, Inc.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
# 02110-1301, USA.
|
|
|
|
|
|
# gnulib modules used by this package.
|
|
gnulib_modules='
|
|
argmatch configmake dirname error extensions fopen-safer
|
|
getopt gettext hash inttypes malloc mbswidth obstack quote
|
|
quotearg stdbool stpcpy strerror strtoul strverscmp unistd
|
|
unistd-safer unlocked-io verify xalloc xalloc-die xstrndup
|
|
'
|
|
|
|
# Any gnulib files needed that are not in modules.
|
|
gnulib_files='
|
|
m4/warning.m4
|
|
'
|
|
|
|
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
|
XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
|
|
--from-code=UTF-8\\\
|
|
--flag=asprintf:2:c-format\\\
|
|
--flag=complain:1:c-format --flag=complain_at:2:c-format\\\
|
|
--flag=fatal:1:c-format --flag=fatal_at:2:c-format\\\
|
|
--flag=warn:1:c-format --flag=warn_at:2:c-format\\\
|
|
--flag=unexpected_end:2:c-format\\\
|
|
'
|
|
XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
|
|
--keyword=YY_ \\\
|
|
'
|
|
|
|
# Gettext supplies these files, but we don't need them since
|
|
# we don't have an intl subdirectory.
|
|
excluded_files='
|
|
m4/codeset.m4
|
|
m4/glibc2.m4
|
|
m4/glibc21.m4
|
|
m4/intdiv0.m4
|
|
m4/intmax.m4
|
|
m4/inttypes_h.m4
|
|
m4/lcmessage.m4
|
|
m4/lock.m4
|
|
m4/longdouble.m4
|
|
m4/printf-posix.m4
|
|
m4/signed.m4
|
|
m4/size_max.m4
|
|
m4/uintmax_t.m4
|
|
m4/ulonglong.m4
|
|
m4/visibility.m4
|
|
m4/wint_t.m4
|
|
m4/xsize.m4
|
|
'
|