workaround to avoid modifying by gettextize

This commit is contained in:
Akira TAGOH 2017-11-07 15:13:46 +09:00
parent 9a0fcb948f
commit 23ba0dc10d
2 changed files with 8 additions and 3 deletions

View File

@ -31,8 +31,7 @@ endif
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
config.rpath \
EXTRA_DIST = config.rpath \
fontconfig.pc.in \
fonts.conf.in \
fonts.dtd \

View File

@ -50,7 +50,7 @@ GPERF=${GPERF-gperf}
PYTHON=${PYTHON-python}
LIBTOOLIZE_FLAGS="--copy --force"
GETTEXTIZE=${GETTEXTIZE-gettextize}
GETTEXTIZE_FLAGS="--force"
GETTEXTIZE_FLAGS="--force --no-changelog"
DIE=0
@ -141,8 +141,14 @@ if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then
fi
fi
[ -f configure.ac~ ] && rm configure.ac~
echo Running $GETTEXTIZE $GETTEXTIZE_FLAGS
$GETTEXTIZE $GETTEXTIZE_FLAGS
# revert changes from gettextize for workaround...
[ -f configure.ac~ ] && mv configure.ac~ configure.ac
echo Running $GETTEXTIZE $GETTEXTIZE_FLAGS --po-dir=po-conf
$GETTEXTIZE $GETTEXTIZE_FLAGS --po-dir=po-conf
[ -f configure.ac~ ] && mv configure.ac~ configure.ac
echo Running $ACLOCAL $ACLOCAL_FLAGS
$ACLOCAL $ACLOCAL_FLAGS