From 0fe4538cb8795ab1cc26555fbc330c1b692baff4 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sat, 23 Jan 2021 13:00:49 +0000 Subject: add Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-18-g5258