diff options
author | Tobias Klauser <tklauser@sinet-laptop.(none)> | 2009-05-12 14:49:48 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@sinet-laptop.(none)> | 2009-05-12 14:49:48 +0200 |
commit | 4f2837b0d46315b6a5bd88861a7e7a7c4b5d3403 (patch) | |
tree | 6cf379d8b785ec4eff69d2ef9db0557bf6fda514 /Makefile | |
parent | 3bd9a200855a29d252672b8de6b6d2fe67873a63 (diff) |
Makefile: Install/uninstall $BINDIR
Diffstat (limited to 'Makefile')
-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 |