summaryrefslogtreecommitdiff
path: root/readlicense_oo
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-01-21 17:51:39 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-01-21 17:51:39 +0000
commitbd677ac38e149c8bd0d6fc5f4237a5f89e4e7ec5 (patch)
treed9ff360ff8245beb0839dcd65afd3f0576b07c37 /readlicense_oo
parent7ed8c6f71dba6010d49c088723f021ea889c64c5 (diff)
#i80368# additional patch for cloph12
Diffstat (limited to 'readlicense_oo')
-rwxr-xr-xreadlicense_oo/makefile.mk6
-rwxr-xr-xreadlicense_oo/util/makefile.pmk4
2 files changed, 7 insertions, 3 deletions
diff --git a/readlicense_oo/makefile.mk b/readlicense_oo/makefile.mk
index da48f89bae60..bb6eff9cbde7 100755
--- a/readlicense_oo/makefile.mk
+++ b/readlicense_oo/makefile.mk
@@ -35,14 +35,14 @@ just_for_nice_optics: $(fallbacklicenses)
# for windows, convert linends to DOS
$(SYSLICDEST)$/license_en-US.% : source$/license$/license_en-US.%
- @$(MKDIRHIER) $(SYSLICDEST)
+ @-$(MKDIRHIER) $(SYSLICDEST)
$(PERL) -p -e 's/\r?\n$$/\r\n/' < $< > $@
# for others just copy
$(SYSLICDEST)$/LICENSE_en-US : source$/license$/license_en-US.txt
- @$(MKDIRHIER) $(SYSLICDEST)
+ @-$(MKDIRHIER) $(SYSLICDEST)
$(COPY) $< $@
$(SYSLICDEST)$/LICENSE_en-US.html : source$/license$/license_en-US.html
- @$(MKDIRHIER) $(SYSLICDEST)
+ @-$(MKDIRHIER) $(SYSLICDEST)
$(COPY) $< $@
diff --git a/readlicense_oo/util/makefile.pmk b/readlicense_oo/util/makefile.pmk
index 37f70734f5a0..1a5310143b35 100755
--- a/readlicense_oo/util/makefile.pmk
+++ b/readlicense_oo/util/makefile.pmk
@@ -55,7 +55,11 @@ $(COMMONMISC)$/readme.dtd : ..$/readme.dtd
virtual : $(MERGEDXRM) $(COMMONMISC)$/readme.dtd $(PRJ)$/docs/readme.xsl
$(MISC)$/readme_text.xsl : virtual
+.IF "$(USE_SHELL)"!="4nt"
$(SED) 's#method="html".*>#method="text"/>#' < ..$/readme.xsl > $@
+.ELSE # "$(USE_SHELL)"!="4nt"
+ $(SED) "s/method=\"html\".*>/method=\"text\"\/>/" < ..$/readme.xsl > $@
+.ENDIF # "$(USE_SHELL)"!="4nt"
$(MISC)$/$(GUI)$/$(eq,$(GUI),WNT readme README)_%.html : 'virtual'
$(XSLTPROC) --nonet -o $@ \