aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-11-11 20:42:29 +0700
committerShulhan <ms@kilabit.info>2024-11-11 20:42:29 +0700
commita529c144569d3adf41a628368e09b83c48af11d8 (patch)
tree851241ca6d1c570026713aa2a5fbe14595e0d966
parent99e4ee6052cecb0084d8a2c06b573bda4e6b0e79 (diff)
downloadbin.sh-a529c144569d3adf41a628368e09b83c48af11d8.tar.xz
Makefile: set default task "all" to do nothing
This is to prevent accidentally running make on this repository and cause the script running "install" task.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c4a0de..f78560c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,10 @@
BASH_COMP_DIR=$(shell pkg-config --variable=completionsdir bash-completion)
-.PHONY: install uninstall
+.PHONY: all
+all:
+.PHONY: install
install:
install -d $(DESTDIR)/usr/bin
install bin/chmod-x.sh $(DESTDIR)/usr/bin/
@@ -19,6 +21,7 @@ install:
install --mode=0644 usr/share/bash-completion/completions/wg-activate.sh \
$(DESTDIR)$(BASH_COMP_DIR)/
+.PHONY: uninstall
uninstall:
rm -f $(DESTDIR)$(BASH_COMP_DIR)/wg-activate.sh
rm -f $(DESTDIR)$(BASH_COMP_DIR)/tmux-session.sh