diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-05-10 12:41:54 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2009-05-10 12:41:54 +0200 |
commit | 83bca5af259daaa1865a5c165de42b7ee5bb7dab (patch) | |
tree | 70f386c764063ac5e57f8f8e1fb072712fe58884 | |
parent | e7355bc08057853b6d47afe14c78f9e0d3afb5b9 (diff) |
Makefile: Be more verbose about what is installed, add uninstall target
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |