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>
This commit is contained in:
parent
46c4def073
commit
21daec135a
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in New Issue