diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
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 |