forked from Telodendria/Telodendria
Move header.txt to LICENSE.txt
This commit is contained in:
parent
c9963d36b1
commit
b85e443907
3 changed files with 26 additions and 3 deletions
23
LICENSE.txt
Normal file
23
LICENSE.txt
Normal 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.
|
||||||
|
*/
|
|
@ -186,7 +186,7 @@ were made by the following people:
|
||||||
All of the code and documentation for
|
All of the code and documentation for
|
||||||
.Nm
|
.Nm
|
||||||
is licensed under a modified MIT license. Please consult the
|
is licensed under a modified MIT license. Please consult the
|
||||||
.Pa src/header.txt
|
.Pa LICENSE.txt
|
||||||
file for the actual license text. The
|
file for the actual license text. The
|
||||||
.Nm
|
.Nm
|
||||||
license text differs from the MIT license in the following ways:
|
license text differs from the MIT license in the following ways:
|
||||||
|
|
|
@ -120,7 +120,7 @@ recipe_format() {
|
||||||
# Update the headers
|
# Update the headers
|
||||||
srcHeader=$(grep -n -m 1 '^ \*/' "$src" | cut -d ':' -f 1)
|
srcHeader=$(grep -n -m 1 '^ \*/' "$src" | cut -d ':' -f 1)
|
||||||
head "-n$srcHeader" "$src" |
|
head "-n$srcHeader" "$src" |
|
||||||
diff -u -p - src/header.txt |
|
diff -u -p - LICENSE.txt |
|
||||||
patch "$src"
|
patch "$src"
|
||||||
|
|
||||||
# Format the source code
|
# Format the source code
|
||||||
|
@ -167,7 +167,7 @@ recipe_site() {
|
||||||
# In the future, this might do more.
|
# In the future, this might do more.
|
||||||
cp -v site/* "$TELODENDRIA_PUB/"
|
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")
|
html=$(basename "$man")
|
||||||
mandoc -Thtml "$man" > "$TELODENDRIA_PUB/$html.html"
|
mandoc -Thtml "$man" > "$TELODENDRIA_PUB/$html.html"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue