summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-06-07 17:13:59 +0200
committerLouis Burda <quent.burda@gmail.com>2023-06-07 17:13:59 +0200
commit8432d5ce27e628b0fec22720f57e31665dcd0dd5 (patch)
tree7b49a6b4ea2023a592571f9e2e805419675f7433
parent425e76fccf29a9d0eee4f331ac987ca2316a5c46 (diff)
downloadpipeln-8432d5ce27e628b0fec22720f57e31665dcd0dd5.tar.gz
pipeln-8432d5ce27e628b0fec22720f57e31665dcd0dd5.zip
Add MIT license
-rw-r--r--LICENSE21
-rw-r--r--build.jst.tmpl6
2 files changed, 27 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..361f116
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Louis Burda
+
+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.
diff --git a/build.jst.tmpl b/build.jst.tmpl
index 01401d2..c895481 100644
--- a/build.jst.tmpl
+++ b/build.jst.tmpl
@@ -21,6 +21,12 @@ rule cc
target pipeln
cc main.c
+command install
+ install -m755 pipeln -t "#{DESTDIR}#{PREFIX}#{BINDIR}"
+
+command uninstall
+ rm -f "#{DESTDIR}#{PREFIX}#{BINDIR}/pipeln"
+
command clean
rm -f pipeln