diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 16:50:55 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 16:50:55 -0500 |
| commit | 8576a97a271eaec8df011e2718090109f7f56c0a (patch) | |
| tree | 0a88e1f3cc413c1c60e4e4ef0c83164b95ef9d5e | |
| parent | 45c05c4565cbbf490db9a2b40d505e2ca94f7bcb (diff) | |
| parent | 3e372f4381ab4e7ee6999cfa316edcfc18f06687 (diff) | |
Merge branch 'master' of gitlab.com:ung.org/lib/c
| -rw-r--r-- | LICENSE | 21 | ||||
| -rwxr-xr-x | mkh.sh | 21 |
2 files changed, 22 insertions, 20 deletions
diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..972f832d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2011-2019 Jakob Kaivo <jkk@ung.org> + +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 substantial 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. @@ -18,26 +18,7 @@ if [ $(basename $HEADER) != assert.h ]; then printf '#ifndef %s\n#define %s\n\n' ${GUARD} ${GUARD} fi -cat <<EOF -/* -UNG's Not GNU - -Copyright (c) 2011-2019, Jakob Kaivo <jkk@ung.org> - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -EOF +printf "/*\nUNG's Not GNU\n\n%s\n*/\n\n" "$(cat LICENSE)" rm -rf $HEADER.* for i in $(cat "${TOPDIR}/.deps/${HEADERNAME}.deps" | sort -u); do |
