Commit 4adee315 by Philipp Thomas Committed by Philipp Thomas

Makefile.in (check-po): New target for doing checks in the po subdir if all languages configured.

2000-10-24  Philipp Thomas  <pthomas@suse.de>

	* Makefile.in (check-po): New target for doing checks in the po
	subdir if all languages configured.
	(CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
	configure if NLS is enabled.
	* configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
	otherwise leave empty.
	* configure: Regenerate.

From-SVN: r37030
parent 8a959ea5
2000-10-24 Philipp Thomas <pthomas@suse.de>
* Makefile.in (check-po): New target for doing checks in the po
subdir if all languages configured.
(CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
configure if NLS is enabled.
* configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
otherwise leave empty.
* configure: Regenerate.
2000-10-23 Richard Henderson <rth@cygnus.com> 2000-10-23 Richard Henderson <rth@cygnus.com>
* config/ia64/ia64.c (ia64_expand_prologue): Mark extra * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
......
...@@ -2622,7 +2622,7 @@ site.exp: ./config.status Makefile ...@@ -2622,7 +2622,7 @@ site.exp: ./config.status Makefile
-e '1,/^## All variables above are.*##/ d' >> site.exp -e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp? -@rm -f ./tmp?
CHECK_TARGETS = check-gcc check-g++ check-g77 check-objc CHECK_TARGETS = check-gcc check-g++ check-g77 check-objc @CHECK_PO@
check: $(CHECK_TARGETS) check: $(CHECK_TARGETS)
...@@ -2675,6 +2675,12 @@ check-objc: testsuite/site.exp ...@@ -2675,6 +2675,12 @@ check-objc: testsuite/site.exp
export TCL_LIBRARY ; fi ; \ export TCL_LIBRARY ; fi ; \
$(RUNTEST) --tool objc $(RUNTESTFLAGS) $(RUNTEST) --tool objc $(RUNTESTFLAGS)
check-po:
if test -f cp/Makefile && test -f f/Makefile && \
test -f java/Makefile && test -f objc/Makefile; then \
make -C po check-po; \
fi
# These exist for maintenance purposes. # These exist for maintenance purposes.
# Update the tags table. # Update the tags table.
......
...@@ -4198,6 +4198,15 @@ if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then ...@@ -4198,6 +4198,15 @@ if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then
enable_nls=no enable_nls=no
fi fi
# if NLS is enabled, also enable check in po subdir
if test $enable_nls = yes; then
CHECK_PO=check-po
else
CHECK_PO=""
fi
AC_SUBST(CHECK_PO)
AM_GNU_GETTEXT AM_GNU_GETTEXT
XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT" XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment