diff options
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk')
-rw-r--r-- | reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk | 27 |
1 files changed, 16 insertions, 11 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 d68a2f8cedc8..9ba0c026c224 100644 --- a/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk +++ b/reportbuilder/java/com/sun/star/report/function/metadata/makefile.mk @@ -32,12 +32,15 @@ PACKAGE = com$/sun$/star$/report$/function$/metadata # --- Settings ----------------------------------------------------- .INCLUDE: settings.mk +.INCLUDE : $(SOLARBINDIR)/jfreereport_version.mk #----- compile .java files ----------------------------------------- .IF "$(SYSTEM_JFREEREPORT)" == "YES" EXTRAJARFILES = $(LIBBASE_JAR) $(LIBFORMULA_JAR) .ELSE -JARFILES = libbase-1.0.0.jar libformula-0.2.0.jar +JARFILES += \ + libbase-$(LIBBASE_VERSION).jar \ + libformula-$(LIBFORMULA_VERSION).jar .ENDIF JAVAFILES := AuthorFunction.java \ @@ -47,18 +50,20 @@ JAVAFILES := AuthorFunction.java \ MetaDataFunctionCategory.java # PROPERTYFILES := $(shell @$(FIND) . -name "*.properties") -PROPERTYFILES := $(CLASSDIR)$/$(PACKAGE)$/category.properties \ - $(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \ - $(CLASSDIR)$/$(PACKAGE)$/Author-Function.properties \ - $(CLASSDIR)$/$(PACKAGE)$/Author-Function_en_US.properties \ - $(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties \ - $(CLASSDIR)$/$(PACKAGE)$/Title-Function_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 |