summaryrefslogtreecommitdiffstats
path: root/reportbuilder
diff options
context:
space:
mode:
authorOcke.Janssen <Ocke.Janssen@oracle.com>2010-11-24 10:12:13 +0100
committerOcke.Janssen <Ocke.Janssen@oracle.com>2010-11-24 10:12:13 +0100
commitbd10afb420d904be737b977eba7024ee12c697b7 (patch)
treeb0f579543fb552d0e38a6ff35d19892bb4fc55db /reportbuilder
parentdba34b: localize properties (diff)
downloadcore-bd10afb420d904be737b977eba7024ee12c697b7.tar.gz
core-bd10afb420d904be737b977eba7024ee12c697b7.zip
dba34b: localize properties
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk b/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk
index e67713a518d4..04b24bb49514 100644
--- a/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk
+++ b/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk
@@ -47,19 +47,20 @@ JAVAFILES := AuthorFunction.java \
MetaDataFunctionCategory.java
# PROPERTYFILES := $(shell @$(FIND) . -name "*.properties")
-PROPERTYFILES := $(CLASSDIR)$/$(PACKAGE)$/category.properties \
- $(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties
-
-L10NPROPERTYFILES := $(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \
+PROPERTYFILES:=$(CLASSDIR)$/$(PACKAGE)$/category.properties \
+ $(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties\
+ $(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Title-Function_en_US.properties
+L10NPROPERTYFILES = $(PROPERTYFILES)
+ALLTAR : $(PROPERTYFILES)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
-ALLTAR : $(PROPERTYFILES)
-
-$(CLASSDIR)$/$(PACKAGE)$/%.properties : %.properties
+.IF "$(WITH_LANG)"==""
+$(CLASSDIR)/$(PACKAGE)/%.properties : %.properties
@@-$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
+ $(COMMAND_ECHO)$(COPY) $< $@
+.ENDIF