Ensure DEPSDIR (.d) is removed on `make clean` as well

Important because of "The slice.deps targets basically do not handle
add/del/change of the *.slice files."
pull/28/head
Robin Schneider 7 years ago
parent 2487dcb625
commit a641f33032
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

@ -32,11 +32,14 @@ list_laptops:
.PHONY: list_laptops
DEPSDIR := .d
# Remove all the usual junk (including any patched firmware images)
clean:
rm -f patched.*.iso patched.*.img *.FL2 *.FL2.orig *.img.enc \
*.img.enc.orig *.img.orig *.bat \
*.img
rm -rf "$(DEPSDIR)"
# Also remove the large downloaded iso images
really_clean: clean
@ -155,7 +158,6 @@ define patch_disable
$(call patch_mv,$1,$1.OFF)
endef
DEPSDIR := .d
$(shell mkdir -p $(DEPSDIR))
-include $(DEPSDIR)/slice.extract.deps
$(DEPSDIR)/slice.extract.deps: Makefile

Loading…
Cancel
Save