summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e4ba24..ac8f7c5 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,11 @@ all: $(TARGETS)
install:
@echo "Installing the following scripts to $(BINDIR)"
@echo " $(TARGETS)"
+ @mkdir -p $(BINDIR)
@install -m755 -t $(BINDIR) $(TARGETS)
uninstall:
@echo "Uninstalling the following scripts from $(BINDIR):"
@echo " $(TARGETS)"
+ @rmdir --ignore-fail-on-non-empty $(BINDIR)
@for s in $(TARGETS); do rm -f "$(BINDIR)/$${s}"; done