diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-08-22 19:52:34 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-08-27 09:31:29 (GMT) |
commit | 6adb5ade12836064d271868ce5fe16a3e0cc779b (patch) | |
tree | 5418f3863325776e426643a8847c1551e4001eb5 /tools | |
parent | 1b4b98c918219c5b709f735ca6a4280cd74ee0f7 (diff) | |
download | mxe-6adb5ade12836064d271868ce5fe16a3e0cc779b.zip mxe-6adb5ade12836064d271868ce5fe16a3e0cc779b.tar.gz mxe-6adb5ade12836064d271868ce5fe16a3e0cc779b.tar.bz2 |
Copyright headers: point to LICENSE.md and shorten
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-pkg.lua | 3 | ||||
-rwxr-xr-x | tools/fake-editor | 3 | ||||
-rwxr-xr-x | tools/s3-fetch-and-sync | 3 | ||||
-rwxr-xr-x | tools/skeleton.py | 6 | ||||
-rwxr-xr-x | tools/update-config-guess | 3 | ||||
-rwxr-xr-x | tools/update-gmsl | 3 |
6 files changed, 7 insertions, 14 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index a2e1242..ce3d263 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -1,8 +1,7 @@ #!/usr/bin/env lua --[[ -This file is part of MXE. -See index.html for further information. +This file is part of MXE. See LICENSE.md for licensing information. build-pkg, Build binary packages from MXE packages Instructions: http://pkg.mxe.cc diff --git a/tools/fake-editor b/tools/fake-editor index 25a7ccf..26cc934 100755 --- a/tools/fake-editor +++ b/tools/fake-editor @@ -1,6 +1,5 @@ #!/bin/sh -# This file is part of MXE. -# See index.html for further information. +# This file is part of MXE. See LICENSE.md for licensing information. # Fake "editor" to format output for GitHub issue. # See tools/s3-fetch-and-sync for more info. diff --git a/tools/s3-fetch-and-sync b/tools/s3-fetch-and-sync index 36b9cf7..57af72c 100755 --- a/tools/s3-fetch-and-sync +++ b/tools/s3-fetch-and-sync @@ -1,6 +1,5 @@ #!/usr/bin/env bash -# This file is part of MXE. -# See index.html for further information. +# This file is part of MXE. See LICENSE.md for licensing information. # cron job running on our DigitalOcean server fetching and uploading # package tarballs to MXE Amazon S3 backup server. diff --git a/tools/skeleton.py b/tools/skeleton.py index e7857a3..66e89e3 100755 --- a/tools/skeleton.py +++ b/tools/skeleton.py @@ -2,8 +2,7 @@ """ Create a skeleton of new MXE package. -This file is part of MXE. -See index.html for further information. +This file is part of MXE. See LICENSE.md for licensing information. """ import argparse @@ -20,8 +19,7 @@ except: import urllib.request as urllib2 MK_TEMPLATE = r''' -# This file is part of MXE. -# See index.html for further information. +# This file is part of MXE. See LICENSE.md for licensing information. PKG := %(name)s $(PKG)_IGNORE := diff --git a/tools/update-config-guess b/tools/update-config-guess index a56f09a..100e11a 100755 --- a/tools/update-config-guess +++ b/tools/update-config-guess @@ -1,6 +1,5 @@ #!/bin/sh -# This file is part of MXE. -# See index.html for further information. +# This file is part of MXE. See LICENSE.md for licensing information. # # Script to automatically update config.guess # (http://savannah.gnu.org/projects/config) diff --git a/tools/update-gmsl b/tools/update-gmsl index 29cf592..ff37987 100755 --- a/tools/update-gmsl +++ b/tools/update-gmsl @@ -1,6 +1,5 @@ #!/bin/sh -# This file is part of MXE. -# See index.html for further information. +# This file is part of MXE. See LICENSE.md for licensing information. # # Script to automatically update GNU Make Standard Library # (http://gmsl.sourceforge.net/) |