Skip to content

Commit

Permalink
Makefile: Shut up "make clean"
Browse files Browse the repository at this point in the history
Use `-f` flag of `rm` to avoid error messages from `make clean` when the
targets files don't exist.
  • Loading branch information
donald committed Aug 12, 2021
1 parent d841b64 commit fad0b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ manpages += prun/prun.1 prun/pman.1 prun/ptype.1
all: $(manpages)

clean:
@rm $(manpages)
@rm -f $(manpages)

install: all
@prefix="$(prefix)" usr_prefix="$(usr_prefix)" usrlocal_prefix="$(usrlocal_prefix)" \
Expand Down

0 comments on commit fad0b54

Please sign in to comment.