+2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
+
+ * po/Makefile.am (check-no): Add.
+ (check-yes): Same.
+ * po/Makefile.in: Regenerate.
+
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
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 \
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'
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 \
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.