summaryrefslogtreecommitdiff
path: root/libstdc++-v3/po
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2001-08-10 07:39:21 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-08-10 07:39:21 +0000
commit0b293f29ab24cd030cce28b9ba588377625c222a (patch)
tree1337f0943be7a72fc32b5b479ae02e7fb231a5e5 /libstdc++-v3/po
parentca52d0468642afa0c7176ad981eaa03d5610aec3 (diff)
downloadgcc-0b293f29ab24cd030cce28b9ba588377625c222a.tar.gz
Makefile.am (check-no): Add.
2001-08-09 Benjamin Kosnik <bkoz@redhat.com> * po/Makefile.am (check-no): Add. (check-yes): Same. * po/Makefile.in: Regenerate. From-SVN: r44756
Diffstat (limited to 'libstdc++-v3/po')
-rw-r--r--libstdc++-v3/po/Makefile.am7
-rw-r--r--libstdc++-v3/po/Makefile.in7
2 files changed, 8 insertions, 6 deletions
diff --git a/libstdc++-v3/po/Makefile.am b/libstdc++-v3/po/Makefile.am
index 6243df9aaac..fe3a6fbed72 100644
--- a/libstdc++-v3/po/Makefile.am
+++ b/libstdc++-v3/po/Makefile.am
@@ -46,7 +46,9 @@ all-local-no:
all-local-yes: $(LOCALE_OUT)
# 'make check' needs the catalogs constructed in build directory.
-check:
+check: check-@USE_NLS@
+check-no:
+check-yes:
$(mkinstalldirs) $(locale_builddir)
@catalogs='$(LOCALE_OUT)'; \
for cat in $$catalogs; do \
@@ -69,8 +71,7 @@ install-data-local-yes: all-local-yes
lang=`echo $$cat | sed 's/\.mo$$//'`; \
install_dir=$(locale_installdir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $$install_dir; \
- build_cat=$(locale_builddir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
- $(INSTALL_DATA) $$build_cat $$install_dir/$(PACKAGE).mo; \
+ $(INSTALL_DATA) $$cat $$install_dir/$(PACKAGE).mo; \
done
# Specify what gets cleaned up on a 'make clean'
diff --git a/libstdc++-v3/po/Makefile.in b/libstdc++-v3/po/Makefile.in
index f3c1c648f13..3a606fdb40d 100644
--- a/libstdc++-v3/po/Makefile.in
+++ b/libstdc++-v3/po/Makefile.in
@@ -280,7 +280,9 @@ all-local-no:
all-local-yes: $(LOCALE_OUT)
# 'make check' needs the catalogs constructed in build directory.
-check:
+check: check-@USE_NLS@
+check-no:
+check-yes:
$(mkinstalldirs) $(locale_builddir)
@catalogs='$(LOCALE_OUT)'; \
for cat in $$catalogs; do \
@@ -303,8 +305,7 @@ install-data-local-yes: all-local-yes
lang=`echo $$cat | sed 's/\.mo$$//'`; \
install_dir=$(locale_installdir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $$install_dir; \
- build_cat=$(locale_builddir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
- $(INSTALL_DATA) $$build_cat $$install_dir/$(PACKAGE).mo; \
+ $(INSTALL_DATA) $$cat $$install_dir/$(PACKAGE).mo; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.