The following script was applied:
sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')
sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
$(git grep -l 'part of MXE.*See index.html')
before='This file is part of MXE. See index.html for further information.'
after='This file is part of MXE. See LICENSE.md for licensing information.'
sed "s/$before/$after/" -i $(git grep -l 'part of MXE')
Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.
See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
The file was changed in upstream.
File pkg/box2d-2.3.1.tar.gz
(or https://github.com/erincatto/Box2D/archive/v2.3.1.tar.gz):
Old sha256: 2c61505f03ef403b54cf0e510d83d6f567e37882ad79b5b2d486acbc7d5eedea
New sha256: 75d62738b13d2836cd56647581b6e574d4005a6e077ddefa5d727d445d649752
Changes:
$ diff -r old/ new
Only in old/Box2D-2.3.1/Contributions/Platforms: Box2D.XNA.zip
Only in old/Box2D-2.3.1/Contributions/Platforms: Tizen.zip
Files Box2D.XNA.zip and Tizen.zip are not used in build, according to logs.
Removing them them seems to be safe.
fix#1319