Skip to content
Snippets Groups Projects
Commit ca247e78 authored by Björn Brandenburg's avatar Björn Brandenburg
Browse files

fix `make vacuum` if no `_CoqProject` is present

I was repeatedly facing this situation:

	% make vacuum
	make: *** No rule to make target `_CoqProject', needed by `Makefile.coq'.  Stop.

This patch makes `vacuum` depend on `allCoqProject`, which should
ensure that we get rid of everything.
parent 684abf2c
No related branches found
No related tags found
1 merge request!273fix `make vacuum` if no `_CoqProject` is present
Pipeline #79515 passed
......@@ -71,7 +71,7 @@ install html gallinahtml htmlpretty clean cleanall validate alectryon: $(COQ_MAK
%.vo: %.v
$(MAKE) -f $(COQ_MAKEFILE) $@
vacuum: cleanall
vacuum: allCoqProject cleanall
@echo 'VACUUMING *.vo *.glob .*.aux <empty directories>'
@find . -depth \( -iname '*.vo' -or -iname '*.glob' -or -iname '.*.aux' \) ! -path './.git/*' -delete
@find . -depth -type d -empty ! -path './.git/*' -delete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment