diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-04-25 15:41:23 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-04-25 15:41:23 +0900 |
commit | 94fd96b5c71172c37b4f88b07645477a5afc5171 (patch) | |
tree | 64f39c48a5e78da4970f036a89ee00a6fe663a17 /gettext-tools | |
parent | 41a2f19194e11830064583a7d7b5f86743b941ad (diff) | |
download | external_gettext-94fd96b5c71172c37b4f88b07645477a5afc5171.zip external_gettext-94fd96b5c71172c37b4f88b07645477a5afc5171.tar.gz external_gettext-94fd96b5c71172c37b4f88b07645477a5afc5171.tar.bz2 |
examples: Don't use KDE build infrastructure when generating POT
Diffstat (limited to 'gettext-tools')
-rwxr-xr-x | gettext-tools/examples/po/xsmallpot.sh | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/gettext-tools/examples/po/xsmallpot.sh b/gettext-tools/examples/po/xsmallpot.sh index a0bb800..d5aa26f 100755 --- a/gettext-tools/examples/po/xsmallpot.sh +++ b/gettext-tools/examples/po/xsmallpot.sh @@ -20,12 +20,22 @@ chmod -R u+w tmp-$directory cd tmp-$directory case $directory in hello-c++-kde) - ./autogen.sh - sed -e 's,tmp-,,' < configure.in > configure.ac - rm -f configure.in - grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac - mv -f tmp-configure.ac configure.ac - autoconf -f + cat > configure.ac <<EOF +AC_INIT +AC_CONFIG_AUX_DIR(admin) +AM_INIT_AUTOMAKE([$directory], 0) +AC_PROG_CXX +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION(0.15) +AC_CONFIG_FILES([po/Makefile.in]) +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_OUTPUT +EOF + aclocal -I m4 + autopoint -f + autoconf + automake -a -c ./configure ;; hello-objc-gnustep) |