summaryrefslogtreecommitdiff
path: root/readlicense_oo
diff options
context:
space:
mode:
authorAndras Timar <timar@fsf.hu>2011-01-18 23:05:50 +0100
committerAndras Timar <timar@fsf.hu>2011-02-01 13:04:24 +0100
commitafb639bc6f4d5ad0e7b0e6a22150bb1046e95308 (patch)
tree3fed766f1271615797483e95f1f4647e9e7ee8c1 /readlicense_oo
parent129fc300792e8b255c2d15d74e014533f783b013 (diff)
readme formatting - fdo#32741
* using CRLF instead of LF on WIN platform * word wrap at column 75 for better readability
Diffstat (limited to 'readlicense_oo')
-rwxr-xr-xreadlicense_oo/util/makefile.pmk6
1 files changed, 6 insertions, 0 deletions
diff --git a/readlicense_oo/util/makefile.pmk b/readlicense_oo/util/makefile.pmk
index 0efd9712f11d..29b51d5015f4 100755
--- a/readlicense_oo/util/makefile.pmk
+++ b/readlicense_oo/util/makefile.pmk
@@ -79,6 +79,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)