From a7c68407d037c5ab7191bcd414949dc62c6a96f1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 1 Feb 2005 01:20:16 +0000 Subject: [PATCH] TARGET --- dtool/pptempl/Template.models.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dtool/pptempl/Template.models.pp b/dtool/pptempl/Template.models.pp index e7bc385915..3cba736b85 100644 --- a/dtool/pptempl/Template.models.pp +++ b/dtool/pptempl/Template.models.pp @@ -242,7 +242,7 @@ $[TAB]gunzip $[GUNZIP_OPTS] < $[source] > $[target] // Egg file generation from Flt files. #forscopes flt_egg #foreach flt $[SOURCES] - #define target $[flt:%.flt=%.egg] + #define target $[or $[TARGET],$[flt:%.flt=%.egg]] #define source $[flt] $[target] : $[source] $[TAB]flt2egg $[FLT2EGG_OPTS] -o $[target] $[source] @@ -253,7 +253,7 @@ $[TAB]flt2egg $[FLT2EGG_OPTS] -o $[target] $[source] // Egg file generation from Lightwave files. #forscopes lwo_egg #foreach lwo $[SOURCES] - #define target $[patsubst %.lwo %.LWO,%.egg,$[lwo]] + #define target $[or $[TARGET],$[patsubst %.lwo %.LWO,%.egg,$[lwo]]] #define source $[lwo] $[target] : $[source] $[TAB]lwo2egg $[LWO2EGG_OPTS] -o $[target] $[source] @@ -264,7 +264,7 @@ $[TAB]lwo2egg $[LWO2EGG_OPTS] -o $[target] $[source] // Egg file generation from Maya files (for unanimated models). #forscopes maya_egg #foreach maya $[SOURCES] - #define target $[patsubst %.ma %.mb,%.egg,$[maya]] + #define target $[or $[TARGET],$[patsubst %.ma %.mb,%.egg,$[maya]]] #define source $[maya] $[target] : $[source] $[TAB]maya2egg $[MAYA2EGG_OPTS] -o $[target] $[source]