From 7eece7cefba048bbed55fe8d960cc9590d81acd9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 10 Aug 2024 06:29:32 +0100 Subject: [PATCH] Add init and clean rules to Makefile, remove install init checks out straight submodule, clean removes straight build and repos directories, then checks out submodule again (since it's also stored in repos directory) --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 665f960..66d61b7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ -.PHONY: default install +.PHONY: default init clean -default: install +default: init -install: - emacs --script install.el --kill +init: + git submodule update --init straight/repos/straight.el/ + +clean: + -rm straight/build-cache.el + -rm -rf straight/build + -rm -rf straight/repos + make init