readme formatting - fdo#32741

* using CRLF instead of LF on WIN platform
* word wrap at column 75 for better readability
This commit is contained in:
Andras Timar 2011-01-18 23:05:50 +01:00
parent dfbece50eb
commit 8a8985a859

View file

@ -59,6 +59,12 @@ $(SYSTEXTDOCS) : $(MISC)$/readme_text.xsl
--stringparam os1 $(OS) --stringparam gui1 $(GUI) --stringparam com1 $(COM) \
--stringparam cp1 $(CPUNAME) --stringparam type text --stringparam lang1 $(@:b:s/readme_//:s/README_//) \
$< $(MERGEDXRM)
fold -s -w 75 < $@ > $@.new
mv $@.new $@
.IF "$(GUI)"=="WNT"
$(PERL) -pi -e 's/\n/\r\n/' $@
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
chmod g+w $(MISC)$/$(GUI)