aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-01-23 13:00:49 +0000
committerJoursoir <chat@joursoir.net>2021-01-23 13:00:49 +0000
commit0fe4538cb8795ab1cc26555fbc330c1b692baff4 (patch)
tree01e82b07ff6b97801a0e6a65b72dad4b2a811551
parenta6e8585253899160fdf25300c91a22a1b5edfa4a (diff)
downloadspark-0fe4538cb8795ab1cc26555fbc330c1b692baff4.tar.gz
spark-0fe4538cb8795ab1cc26555fbc330c1b692baff4.tar.bz2
spark-0fe4538cb8795ab1cc26555fbc330c1b692baff4.zip
add Makefile
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e1ae8c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+PREFIX ?= /usr/local/bin
+MAN_PATH = /usr/share/man/man1
+SCRIPT_NAME = spark.sh
+
+.PHONY: all clean install uninstall
+
+all:
+ @echo "Spark is a shell script. Try \"make install\" instead."
+
+install:
+ @install -m 755 -v $(SCRIPT_NAME) $(PREFIX)/$(SCRIPT_NAME:.sh= )
+
+uninstall:
+ @rm -vf $(PREFIX)/$(SCRIPT_NAME:.sh= ) \ No newline at end of file