another workaround to avoid modifying by gettextize...

This commit is contained in:
Akira TAGOH 2017-11-08 22:18:01 +09:00
parent 3c55ef4b27
commit 12eb7be466
1 changed files with 3 additions and 0 deletions

View File

@ -142,13 +142,16 @@ if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then
fi
[ -f configure.ac~ ] && rm configure.ac~
[ -f Makefile.am~ ] && rm Makefile.am~
echo Running $GETTEXTIZE $GETTEXTIZE_FLAGS
$GETTEXTIZE $GETTEXTIZE_FLAGS
# revert changes from gettextize for workaround...
[ -f configure.ac~ ] && mv configure.ac~ configure.ac
[ -f Makefile.am~ ] && mv Makefile.am~ Makefile.am
echo Running $GETTEXTIZE $GETTEXTIZE_FLAGS --po-dir=po-conf
$GETTEXTIZE $GETTEXTIZE_FLAGS --po-dir=po-conf
[ -f configure.ac~ ] && mv configure.ac~ configure.ac
[ -f Makefile.am~ ] && mv Makefile.am~ Makefile.am
echo Running $ACLOCAL $ACLOCAL_FLAGS
$ACLOCAL $ACLOCAL_FLAGS