aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--README.markdown8
2 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4ec8b20
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+.POSIX:
+.SUFFIXES:
+.PHONY: all install clean
+PREFIX = /usr/local
+all:
+install:
+ mkdir -p -- $(PREFIX)/bin
+ cp -p -- checkem $(PREFIX)/bin
+clean:
diff --git a/README.markdown b/README.markdown
index 4a5cffb..15a0689 100644
--- a/README.markdown
+++ b/README.markdown
@@ -10,6 +10,14 @@ Requires at least one directory argument:
$ checkem ~tom ~chantelle
$ checkem /usr /usr/local
+You can install it in `/usr/local/bin` with:
+
+ # make install
+
+You can define a `PREFIX` to install it elsewhere:
+
+ $ make install PREFIX="$HOME"/.local
+
License
-------