summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-11-08 22:18:01 +0900
committerAkira TAGOH <akira@tagoh.org>2017-11-08 22:18:01 +0900
commit12eb7be46610178c74fbe24ae518e20957cda1ea (patch)
tree6cba19d8007d6516f245b314ceae00eee79b62f1 /autogen.sh
parent3c55ef4b278be8fff1296af0cd1d3f97388416e4 (diff)
downloadfontconfig-12eb7be46610178c74fbe24ae518e20957cda1ea.tar.gz
another workaround to avoid modifying by gettextize...
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 9984c76..98f8be3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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