From 715a721c4bb7cf15cd66c1394589907d94e15cb3 Mon Sep 17 00:00:00 2001 From: Chris Want Date: Wed, 5 Mar 2008 20:58:29 +0000 Subject: == Makefiles == Patch from GSR to correctly disable processing of po's when international support is disabled. --- Makefile | 9 +++++++-- po/Makefile | 6 +----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index b77adf82cfb..230f223b67d 100644 --- a/Makefile +++ b/Makefile @@ -47,10 +47,15 @@ MAKEFLAGS=-I$(NANBLENDERHOME)/source --no-print-directory SOURCEDIR = ifeq ($(FREE_WINDOWS),true) - DIRS ?= dlltool extern intern source po + DIRS ?= dlltool extern intern source +endif + +DIRS ?= extern intern source + +ifeq ($(INTERNATIONAL),true) + DIRS += po endif -DIRS ?= extern intern source po include source/nan_subdirs.mk .PHONY: release diff --git a/po/Makefile b/po/Makefile index 71799a0edce..becd9c76c10 100644 --- a/po/Makefile +++ b/po/Makefile @@ -36,11 +36,7 @@ SOURCEDIR = blender/po include nan_definitions.mk -ifeq ($(INTERNATIONAL),true) - LINGUAS = ar bg ca cs de el es fr hr it ja nl pl pt_BR ro ru sr sr@Latn sv uk zh_CN -else - LINGUAS = -endif +LINGUAS = ar bg ca cs de el es fr hr it ja nl pl pt_BR ro ru sr sr@Latn sv uk zh_CN ifeq ($(OS), darwin) DIR = $(OCGDIR)/bin/blender.app/Contents/Resources/locale/$@/LC_MESSAGES/ -- cgit v1.2.3