Skip to content

build: make "make clean" clean - #893

Open
tueda wants to merge 1 commit into
form-dev:masterfrom
tueda:pr/build/make-clean-idempotent
Open

build: make "make clean" clean#893
tueda wants to merge 1 commit into
form-dev:masterfrom
tueda:pr/build/make-clean-idempotent

Conversation

@tueda

@tueda tueda commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Running make clean twice results in the following error:

rm: cannot remove 'form.1': No such file or directory

A simple fix would be to add -f to rm form.1, but in this case we can use CLEANFILES because the target is a file rather than a directory.

The patch also removes redundant clean-local from the .PHONY target; Automake automatically adds clean-local to .PHONY.

Also remove redundant clean-local from .PHONY.
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 65.048%. remained the same — tueda:pr/build/make-clean-idempotent into form-dev:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants