summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-05-10 12:41:54 +0200
committerTobias Klauser <tklauser@distanz.ch>2009-05-10 12:41:54 +0200
commit83bca5af259daaa1865a5c165de42b7ee5bb7dab (patch)
tree70f386c764063ac5e57f8f8e1fb072712fe58884
parente7355bc08057853b6d47afe14c78f9e0d3afb5b9 (diff)
Makefile: Be more verbose about what is installed, add uninstall target
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b9b618..4764de2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,11 @@ all: $(TARGETS)
@echo "Nothing to be done"
install:
- @echo "Installing scripts to $(BINDIR)"
+ @echo "Installing the following scripts to $(BINDIR)"
+ @echo " $(TARGETS)"
@install -m755 -t $(BINDIR) $(TARGETS)
+uninstall:
+ @echo "Uninstalling the following scripts from $(BINDIR):"
+ @echo " $(TARGETS)"
+ @for s in $(TARGETS); do rm -f "$(BINDIR)/$${s}"; done