Kaydet (Commit) fc76ac08 authored tarafından Herbert Dürr's avatar Herbert Dürr

use CR/LF lineends on LICENSE+NOTICE files on WNT+OS/2

üst a86c85be
...@@ -43,6 +43,12 @@ ALL_NOTICE=..$/NOTICE ...@@ -43,6 +43,12 @@ ALL_NOTICE=..$/NOTICE
SUM_LICENSE=$(MISC)$/SUM_LICENSE SUM_LICENSE=$(MISC)$/SUM_LICENSE
SUM_NOTICE=$(MISC)$/SUM_NOTICE SUM_NOTICE=$(MISC)$/SUM_NOTICE
.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
LINEEND_CAT=$(PERL) -p -e 's/\r?\n$$/\r\n/'
.ELSE
LINEEND_CAT=cat
.ENDIF
# ------------------------------------------------------------------ # ------------------------------------------------------------------
.INCLUDE: target.mk .INCLUDE: target.mk
# ------------------------------------------------------------------ # ------------------------------------------------------------------
...@@ -50,8 +56,8 @@ SUM_NOTICE=$(MISC)$/SUM_NOTICE ...@@ -50,8 +56,8 @@ SUM_NOTICE=$(MISC)$/SUM_NOTICE
ALLTAR: ${SUM_LICENSE} ${SUM_NOTICE} ALLTAR: ${SUM_LICENSE} ${SUM_NOTICE}
${SUM_LICENSE} : ${ALL_LICENSE} ${SUM_LICENSE} : ${ALL_LICENSE}
cat $< > $@ ${LINEEND_CAT} > $@ $<
${SUM_NOTICE} : ${ALL_NOTICE} ${SUM_NOTICE} : ${ALL_NOTICE}
cat $< > $@ ${LINEEND_CAT} > $@ $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment