diff options
author | Akira TAGOH <akira@tagoh.org> | 2017-11-07 15:13:46 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-11-07 15:40:17 +0900 |
commit | 23ba0dc10d5a1415d020043274a3e9608c5c5a39 (patch) | |
tree | 54627e4d953f0de2bdc1c43f91ebf5be881e7490 | |
parent | 9a0fcb948fe7346f6c68028b2e54ab600a2a2a6f (diff) |
workaround to avoid modifying by gettextize
-rw-r--r-- | Makefile.am | 3 | ||||
-rwxr-xr-x | autogen.sh | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 5e004148..00ea568a 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 \ @@ -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 |