diff options
author | Aaron Ball <nullspoon@oper.io> | 2019-03-11 19:58:15 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2019-03-11 19:58:15 -0600 |
commit | 5f44a9a40a56fcef522d536d9ec38a2e10efc7d0 (patch) | |
tree | 2d9640b5a5fafdaf450c8a7009727dd0a3b315dc | |
parent | a5b63af1e74e0cce65457198eee36689913e1d7c (diff) | |
download | upwgen-5f44a9a40a56fcef522d536d9ec38a2e10efc7d0.tar.gz upwgen-5f44a9a40a56fcef522d536d9ec38a2e10efc7d0.tar.xz |
Makefile:Added clean target
The new clean target deletes the obj dir, upwgen binary, and upwgen.1.gz
compiled man page if any exists.
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,3 +25,8 @@ install: install -D -m 755 upwgen "$(DESTDIR)/$(PREFIX)/upwgen" # Install the man page install -D -m 644 upwgen.1.gz "$(DESTDIR)/$(MANPREFIX)/man1/upwgen.1.gz" + +clean: + @if [ -d obj ]; then rm -rf obj; fi + @if [ -f upwgen ]; then rm -f upwgen; fi + @if [ -f upwgen.1.gz ]; then rm -f upwgen.1.gz; fi |