# HG changeset patch # User Daniel Atallah # Date 1193068649 0 # Node ID a82465913e2ec05f9e87c2829115593647a9fdbc # Parent 4495a311b959bd1cd95fc96bd5fdd87d3e631b51 Add support for a DISABLE_NLS makefile variable in the mingw build to disable processing any of the translations. This shaves some time off test builds. This doesn't actually disable gettext during the build. diff -r 4495a311b959 -r a82465913e2e Makefile.mingw --- a/Makefile.mingw Fri Oct 19 12:22:57 2007 +0000 +++ b/Makefile.mingw Mon Oct 22 15:57:29 2007 +0000 @@ -65,12 +65,16 @@ all: $(PIDGIN_CONFIG_H) $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) +ifndef DISABLE_NLS $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) +endif install: all $(PIDGIN_INSTALL_DIR) $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install +ifndef DISABLE_NLS $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install +endif $(MAKE) -C share -f $(MINGW_MAKEFILE) install create_release_install_dir: install