diff options
| author | Shulhan <ms@kilabit.info> | 2024-11-11 20:42:29 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-11-11 20:42:29 +0700 |
| commit | a529c144569d3adf41a628368e09b83c48af11d8 (patch) | |
| tree | 851241ca6d1c570026713aa2a5fbe14595e0d966 | |
| parent | 99e4ee6052cecb0084d8a2c06b573bda4e6b0e79 (diff) | |
| download | bin.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-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |
