aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-07-08 03:45:28 +0200
committerhozan23 <hozan23@karyontech.net>2024-07-08 03:45:28 +0200
commitdd9d75184dcc6e01cd29ac51ecca24b10e2535d0 (patch)
tree423c88b42a283c0b5d50d217b26f965446d14a63 /Makefile
init commit
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)
+
+