From a529c144569d3adf41a628368e09b83c48af11d8 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 11 Nov 2024 20:42:29 +0700 Subject: 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. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.3