Move header.txt to LICENSE.txt

This commit is contained in:
Jordan Bancino 2022-09-22 17:54:56 -04:00
parent c9963d36b1
commit b85e443907
3 changed files with 26 additions and 3 deletions

23
LICENSE.txt Normal file
View file

@ -0,0 +1,23 @@
/*
* Copyright (C) 2022 Jordan Bancino <@jordan:bancino.net>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

View file

@ -186,7 +186,7 @@ were made by the following people:
All of the code and documentation for
.Nm
is licensed under a modified MIT license. Please consult the
.Pa src/header.txt
.Pa LICENSE.txt
file for the actual license text. The
.Nm
license text differs from the MIT license in the following ways:

View file

@ -120,7 +120,7 @@ recipe_format() {
# Update the headers
srcHeader=$(grep -n -m 1 '^ \*/' "$src" | cut -d ':' -f 1)
head "-n$srcHeader" "$src" |
diff -u -p - src/header.txt |
diff -u -p - LICENSE.txt |
patch "$src"
# Format the source code
@ -167,7 +167,7 @@ recipe_site() {
# In the future, this might do more.
cp -v site/* "$TELODENDRIA_PUB/"
find docs/ -name '*.[1-9]' | while IFS= read -r $man; do
find docs/ -name '*.[1-9]' | while IFS= read -r man; do
html=$(basename "$man")
mandoc -Thtml "$man" > "$TELODENDRIA_PUB/$html.html"
done