summaryrefslogtreecommitdiffstats
path: root/patch.mk
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-08-22 19:52:34 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-08-27 09:31:29 (GMT)
commit6adb5ade12836064d271868ce5fe16a3e0cc779b (patch)
tree5418f3863325776e426643a8847c1551e4001eb5 /patch.mk
parent1b4b98c918219c5b709f735ca6a4280cd74ee0f7 (diff)
downloadmxe-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 'patch.mk')
-rw-r--r--patch.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/patch.mk b/patch.mk
index a97803b..f31a73e 100644
--- a/patch.mk
+++ b/patch.mk
@@ -1,5 +1,4 @@
-# This file is part of MXE.
-# See index.html for further information.
+# This file is part of MXE. See LICENSE.md for licensing information.
GIT_DIR = $(if $(patsubst .,,$($(1)_SUBDIR)) \
,$(GITS_DIR)/$($(1)_SUBDIR),$(GITS_DIR)/$(1))
@@ -42,8 +41,7 @@ endef
define EXPORT_PATCH
cd '$(call GIT_DIR,$(1))' \
&& ( \
- echo 'This file is part of MXE.'; \
- echo 'See index.html for further information.'; \
+ echo 'This file is part of MXE. See LICENSE.md for licensing information.'; \
echo ''; \
echo 'Contains ad hoc patches for cross building.'; \
echo ''; \