clean only deletes BUILDDIR

This commit is contained in:
Rhiannon Morris 2020-08-16 20:35:22 +02:00
parent cd0e444d16
commit b35e739304

View file

@ -72,14 +72,13 @@ endif
endif endif
.PHONY: mostlyclean clean distclean .PHONY: clean distclean
mostlyclean: clean:
echo "[clean $(BUILDDIR)]" echo "[clean $(BUILDDIR)]"
rm -rf $(BUILDDIR) rm -rf $(BUILDDIR)
clean: mostlyclean distclean: clean
echo "[clean $(TMPDIR)]" echo "[clean $(TMPDIR)]"
rm -rf $(TMPDIR) rm -rf $(TMPDIR)
distclean: clean
echo "[cabal clean]" echo "[cabal clean]"
cabal -v0 v2-clean cabal -v0 v2-clean