View | Details | Raw Unified | Return to issue 92130
Collapse All | Expand All

(-)tg_config.mk (-9 / +9 lines)
Lines 8-14 Link Here
8
#
8
#
9
# $RCSfile: tg_config.mk,v $
9
# $RCSfile: tg_config.mk,v $
10
#
10
#
11
# $Revision: 1.21 $
11
# $Revision: 1.21.4.1 $
12
#
12
#
13
# This file is part of OpenOffice.org.
13
# This file is part of OpenOffice.org.
14
#
14
#
Lines 62-73 Link Here
62
$(PROCESSOUT)$/registry$/schema$/$(PACKAGEDIR)$/%.xcs : %.xcs
62
$(PROCESSOUT)$/registry$/schema$/$(PACKAGEDIR)$/%.xcs : %.xcs
63
    @echo -------------+ validating and stripping schema files
63
    @echo -------------+ validating and stripping schema files
64
	-$(MKDIRHIER) $(@:d)
64
	-$(MKDIRHIER) $(@:d)
65
	$(XSLTPROC) --nonet -o $(@:d)$*.val \
65
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$(@:d)$*.val) \
66
	            --stringparam componentName $(PACKAGE).$* \
66
	            --stringparam componentName $(PACKAGE).$* \
67
	            $(SYSXSLDIR)schema_val.xsl $<
67
	            $(SYSXSLDIR)schema_val.xsl $<
68
	$(XSLTPROC) --nonet -o $(@:d)$*.san \
68
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$(@:d)$*.san) \
69
	            $(SYSXSLDIR)sanity.xsl $<
69
	            $(SYSXSLDIR)sanity.xsl $<
70
	$(XSLTPROC) --nonet -o $@ \
70
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$@) \
71
	            $(SYSXSLDIR)schema_trim.xsl $<
71
	            $(SYSXSLDIR)schema_trim.xsl $<
72
	+-$(RM) $(@:d)$*.val > $(NULLDEV)
72
	+-$(RM) $(@:d)$*.val > $(NULLDEV)
73
	+-$(RM) $(@:d)$*.san > $(NULLDEV)
73
	+-$(RM) $(@:d)$*.san > $(NULLDEV)
Lines 85-91 Link Here
85
$(PROCESSOUT)$/registry$/res$/{$(alllangiso)}$/$(PACKAGEDIR)$/%.properties :| $(PROCESSOUT)$/merge$/$(PACKAGEDIR)$/%.xcs
85
$(PROCESSOUT)$/registry$/res$/{$(alllangiso)}$/$(PACKAGEDIR)$/%.properties :| $(PROCESSOUT)$/merge$/$(PACKAGEDIR)$/%.xcs
86
    @echo -------------+ creating locale dependent resource bundles
86
    @echo -------------+ creating locale dependent resource bundles
87
	-$(MKDIRHIER) $(@:d)
87
	-$(MKDIRHIER) $(@:d)
88
	$(XSLTPROC) --nonet -o $@ \
88
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$@) \
89
	            --stringparam locale {$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} \
89
	            --stringparam locale {$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} \
90
	            $(SYSXSLDIR)resource.xsl $<
90
	            $(SYSXSLDIR)resource.xsl $<
91
91
Lines 108-118 Link Here
108
$(PROCESSOUT)$/registry$/data$/$(PACKAGEDIR)$/%.xcu : %.xcu
108
$(PROCESSOUT)$/registry$/data$/$(PACKAGEDIR)$/%.xcu : %.xcu
109
    @echo -------------+ validating and creating a locale independent file
109
    @echo -------------+ validating and creating a locale independent file
110
	-$(MKDIRHIER) $(@:d) 
110
	-$(MKDIRHIER) $(@:d) 
111
	$(XSLTPROC) --nonet -o $(@:d)$*.val \
111
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$(@:d)$*.val) \
112
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
112
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
113
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
113
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
114
	            $(SYSXSLDIR)data_val.xsl $<
114
	            $(SYSXSLDIR)data_val.xsl $<
115
	$(XSLTPROC) --nonet -o $@ \
115
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$@) \
116
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
116
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
117
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
117
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
118
	            $(SYSXSLDIR)alllang.xsl $<
118
	            $(SYSXSLDIR)alllang.xsl $<
Lines 138-144 Link Here
138
.ENDIF			# "$(WITH_LANG)"!=""
138
.ENDIF			# "$(WITH_LANG)"!=""
139
    @echo ------------- creating locale dependent entries
139
    @echo ------------- creating locale dependent entries
140
	-$(MKDIRHIER) $(@:d)
140
	-$(MKDIRHIER) $(@:d)
141
	$(XSLTPROC) --nonet -o $@ \
141
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$@) \
142
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
142
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
143
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
143
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
144
	            --stringparam locale {$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} \
144
	            --stringparam locale {$(subst,$/$(PACKAGEDIR)$/$(@:f), $(subst,$(PROCESSOUT)$/registry$/res$/, $@))} \
Lines 165-171 Link Here
165
$(PROCESSOUT)$/registry$/spool$/$(PACKAGEDIR)$/%.xcu :| $$(@:b:s/-/./:b).xcu
165
$(PROCESSOUT)$/registry$/spool$/$(PACKAGEDIR)$/%.xcu :| $$(@:b:s/-/./:b).xcu
166
    @echo -------------+ creating a module file
166
    @echo -------------+ creating a module file
167
	-$(MKDIRHIER) $(@:d) 
167
	-$(MKDIRHIER) $(@:d) 
168
	$(XSLTPROC) --nonet -o $@ \
168
	$(XSLTPROC) --nonet -o $(normpath $(PWD)$/$@) \
169
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$(<:b).xcs \
169
	            --stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$(<:b).xcs \
170
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
170
	            --stringparam schemaRoot $(XCSROOTURL)/registry/schema \
171
	            --stringparam module $(subst,$(<:b)-, $(*)) \
171
	            --stringparam module $(subst,$(<:b)-, $(*)) \

Return to issue 92130