diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..59e0b41 --- /dev/null +++ b/LICENSE.txt @@ -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. + */ diff --git a/docs/telodendria.7 b/docs/telodendria.7 index 656a493..29ca7a2 100644 --- a/docs/telodendria.7 +++ b/docs/telodendria.7 @@ -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: diff --git a/tools/bin/td b/tools/bin/td index 3567da9..dc3e0bc 100644 --- a/tools/bin/td +++ b/tools/bin/td @@ -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