summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-29 10:53:51 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-10-07 21:53:02 +0200
commit21daec135add61bf0af74c1277b4f3eeff9cca64 (patch)
tree6905dbe73dbb4ec34a703cd22b0e2315329c8054 /Makefile
parent46c4def0733a78ce08702d188e3e1a141fb07316 (diff)
Makefile: Add a cleanup target
Allows for using `make clean` to remove any output files generated by make(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 47378ff..9249da6 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,9 @@ all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
@chmod a-w "$@"
@chmod +x "$@"
+clean:
+ rm -f $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
+
install:
install -dm0755 $(DESTDIR)$(PREFIX)/bin
install -dm0755 $(DESTDIR)$(PREFIX)/sbin
@@ -84,4 +87,4 @@ dist:
upload:
scp devtools-$(V).tar.gz gerolde.archlinux.org:/srv/ftp/other/devtools/
-.PHONY: all install uninstall dist upload
+.PHONY: all clean install uninstall dist upload