diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-29 10:53:51 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-10-07 21:53:02 +0200 |
commit | 21daec135add61bf0af74c1277b4f3eeff9cca64 (patch) | |
tree | 6905dbe73dbb4ec34a703cd22b0e2315329c8054 /Makefile | |
parent | 46c4def0733a78ce08702d188e3e1a141fb07316 (diff) | |
download | devtools-21daec135add61bf0af74c1277b4f3eeff9cca64.tar.xz |
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-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |