~shulhan/bin.sh

a529c144569d3adf41a628368e09b83c48af11d8 — Shulhan 20 days ago 99e4ee6 main
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.
1 files changed, 4 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +4 -1
@@ 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