2 # Example for use of GNU gettext.
3 # Copyright (C) 2003-2005 Free Software Foundation, Inc.
4 # This file is in the public domain.
6 # Script for regenerating all autogenerated files.
8 if test -r ..
/Makefile.am
; then
9 # Inside the gettext source directory.
10 GETTEXT_TOPSRCDIR
=..
/..
/..
12 if test -r ..
/Makefile
; then
13 # Inside a gettext build directory.
14 GETTEXT_TOOLS_SRCDIR
=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
15 # Adjust a relative top_srcdir.
16 case $GETTEXT_TOOLS_SRCDIR in
18 *) GETTEXT_TOOLS_SRCDIR
=..
/$GETTEXT_TOOLS_SRCDIR ;;
20 GETTEXT_TOPSRCDIR
=$GETTEXT_TOOLS_SRCDIR/..
22 # Installed under ${prefix}/share/doc/gettext/examples.
27 cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.
m4 m
4/nls.
m4
28 cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.
m4 m
4/po.
m4
29 cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po
/remove-potcdate.sin
31 cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/gcj.
m4 m
4/gcj.
m4
32 cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javacomp.
m4 m
4/javacomp.
m4
33 cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javaexec.
m4 m
4/javaexec.
m4
34 cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javacomp.sh.
in javacomp.sh.
in
35 cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javaexec.sh.
in javaexec.sh.
in