commit 8432d5ce27e628b0fec22720f57e31665dcd0dd5
parent 425e76fccf29a9d0eee4f331ac987ca2316a5c46
Author: Louis Burda <quent.burda@gmail.com>
Date: Wed, 7 Jun 2023 17:13:59 +0200
Add MIT license
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/LICENSE 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
@@ -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