summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-11-07 15:13:46 +0900
committerAkira TAGOH <akira@tagoh.org>2017-11-07 15:40:17 +0900
commit23ba0dc10d5a1415d020043274a3e9608c5c5a39 (patch)
tree54627e4d953f0de2bdc1c43f91ebf5be881e7490
parent9a0fcb948fe7346f6c68028b2e54ab600a2a2a6f (diff)
downloadfontconfig-23ba0dc10d5a1415d020043274a3e9608c5c5a39.tar.gz
workaround to avoid modifying by gettextize
-rw-r--r--Makefile.am3
-rwxr-xr-xautogen.sh8
2 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e00414..00ea568 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \
diff --git a/autogen.sh b/autogen.sh
index e7eff72..9984c76 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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