$NetBSD: patch-av,v 1.4 2005/10/01 07:00:08 mrauch Exp $ --- ../officecfg/util/makefile.pmk.orig 2004-01-09 19:06:41.000000000 +0100 +++ ../officecfg/util/makefile.pmk @@ -100,9 +100,11 @@ $(MISC)$/registry$/res$/{$(alliso)}$/%.p .IF "$(SOLAR_JAVA)"!="" $(JAVA) -classpath $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(PRJ)$/util$/resource.xsl $(@:d)$(<:b).properties locale={$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))} .ELSE + $(SED) 's|$$locale|'"'"'{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}'"'"'|g' <$(PRJ)$/util$/resource.xsl >$(MISC)/resource.{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}.xsl $(XSLTPROC) -o $(@:d)$(<:b).properties \ --stringparam locale {$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))} \ - $(PRJ)$/util$/resource.xsl $< + $(MISC)/resource.{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}.xsl $< + $(TOUCH) $(@:d)$(<:b).properties .ENDIF # --- XCU ---