+2003-12-07 Bruno Haible <bruno@clisp.org>
+
+ * hello-perl/hello-1.pl.in: Renamed from hello-perl/hello.pl. Make it
+ work.
+ * hello-perl/hello-2.pl.in: New file, from Guido Flohr.
+ * hello-perl/po/Makefile.am (POTFILES): Update.
+ (XGETTEXT_OPTIONS): Add options needed for the Locale::TextDomain API.
+ * hello-perl/configure.ac: Update accordingly.
+ * hello-perl/Makefile.am: Update accordingly.
+ * Makefile.am (EXAMPLESFILES): Update.
+
2003-12-06 Bruno Haible <bruno@clisp.org>
* hello-objc-gnustep/po/LocaleAliases: Add many new locales. Fix typo
hello-perl/INSTALL \
hello-perl/autogen.sh \
hello-perl/autoclean.sh \
- hello-perl/hello.pl \
+ hello-perl/hello-1.pl.in \
+ hello-perl/hello-2.pl.in \
hello-perl/Makefile.am \
hello-perl/configure.ac \
hello-perl/m4/Makefile.am \
SUBDIRS = m4 po
# The list of programs that are built.
-bin_SCRIPTS = hello
+bin_SCRIPTS = hello-1 hello-2
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
dnl Configuration file - processed by autoconf.
AC_INIT
-AC_CONFIG_SRCDIR(hello.pl)
+AC_CONFIG_SRCDIR(hello-1.pl.in)
AM_INIT_AUTOMAKE(hello-perl, 0)
dnl Check for availability of the Perl interpreter.
AM_PO_SUBDIRS
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([hello:hello.pl], [chmod a+x hello])
+AC_CONFIG_FILES([hello-1:hello-1.pl.in], [chmod a+x hello-1])
+AC_CONFIG_FILES([hello-2:hello-2.pl.in], [chmod a+x hello-2])
AC_CONFIG_FILES([m4/Makefile])
AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
AC_OUTPUT
# List of files which contain translatable strings.
POTFILES = \
- hello.pl
+ hello-1.pl.in hello-2.pl.in
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
- -k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format
+ -k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format \
+ -k__ --flag=__:1:pass-perl-format --flag=__:1:pass-perl-brace-format \
+ -k'$$__' --flag='$$__:1:pass-perl-format' --flag='$$__:1:pass-perl-brace-format' \
+ -k'%__' --flag=%__:1:pass-perl-format --flag=%__:1:pass-perl-brace-format \
+ -k__x --flag=__x:1:perl-brace-format \
+ -k__n:1,2 --flag=__n:1:pass-perl-format --flag=__n:1:pass-perl-brace-format \
+ --flag=__n:2:pass-perl-format --flag=__n:2:pass-perl-brace-format \
+ -k__nx:1,2 --flag=__nx:1:perl-brace-format --flag=__nx:2:perl-brace-format \
+ -k__xn:1,2 --flag=__xn:1:perl-brace-format --flag=__xn:2:perl-brace-format \
+ -kN__ --flag=N__:1:pass-perl-format --flag=N__:1:pass-perl-brace-format
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding