diff --git a/LICENSE b/LICENSE index 8e11102d..550231fa 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,7 @@ -Copyright (c) 2015 Plaid Technologies, Inc. +The MIT License (MIT) + +Copyright (c) 2016 Sanctuary +Copyright (c) 2016 Plaid Technologies, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/Makefile b/Makefile index b3c077ee..021c968c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,13 @@ XYZ = node_modules/.bin/xyz --repo git@github.com:sanctuary-js/sanctuary.git --s .PHONY: all -all: README.md +all: LICENSE README.md + +.PHONY: LICENSE +LICENSE: + cp -- '$@' '$@.orig' + sed 's/Copyright (c) .* Sanctuary/Copyright (c) $(shell git log --date=format:%Y --pretty=format:%ad | sort -r | head -n 1) Sanctuary/' '$@.orig' >'$@' + rm -- '$@.orig' README.md: index.js $(TRANSCRIBE) \ diff --git a/scripts/prepublish b/scripts/prepublish index e08cbb4c..567df7d6 100755 --- a/scripts/prepublish +++ b/scripts/prepublish @@ -3,4 +3,4 @@ set -e rm -f README.md make -git add README.md +git add LICENSE README.md