diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |