aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..052bd4d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+VMS_CMD = vms
+VMS_CMD_PATH = $(DESTDIR)$(PREFIX)/bin/$(VMS_CMD)
+VMS_BASH_FILE = $(VMS_CMD).sh
+
+.PHONY: all install uninstall
+
+all: install
+
+install: $(VMS_BASH_FILE)
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp $(VMS_BASH_FILE) $(VMS_CMD_PATH)
+ chmod 755 $(VMS_CMD_PATH)
+
+uninstall:
+ rm -f $(VMS_CMD_PATH)
+
+