diff options
| author | Matthijs van der Wild <matthijs.van-der-wild@durham.ac.uk> | 2025-07-09 15:06:11 -0400 |
|---|---|---|
| committer | Matthijs van der Wild <matthijs.van-der-wild@durham.ac.uk> | 2025-07-09 15:06:11 -0400 |
| commit | 65ed21e4850196a2e1b27254122e1e2df816e262 (patch) | |
| tree | 8a7eaace0c4aa290df0baa6bae9c2b3fa88639d7 /Makefile | |
| parent | e4640d7d2803b872babfa239c49afb5978b6686c (diff) | |
Add Makefile
Using the script is a bit simpler if it is added to a location in
the user's PATH with execution permission set. The Makefile will,
in addition, remove the file extension. After running make it is
a simple matter of using `pilot` on the command line.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..684c2f5 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +DESTDIR ?= /usr +BINDIR ?= /bin + +.PHONY: install uninstall + +install: + install -v -d "$(DESTDIR)$(BINDIR)/" + install -m 0755 -v pilot.sh "$(DESTDIR)$(BINDIR)/pilot" + +uninstall: + rm -vrf "$(DESTDIR)$(BINDIR)/pilot" |