Skip to content

Commit f08045e

Browse files
committed
chore(makefile): cleanup extra stuff to avoid problems
Signed-off-by: Abdelhak Bougouffa <abougouffa@fedoraproject.org>
1 parent 3b3ac48 commit f08045e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ all:
88
@echo "Straight options are: pull, rebuild, check."
99
@echo "Extra options are: bump, cloc, ci."
1010

11-
clean:
11+
clean_extras:
12+
rm -rf $(EMACS_DIR)/local/parinfer-rust || true
13+
rm -rf $(EMACS_DIR)/local/tree-sitter || true
14+
rm -rf $(EMACS_DIR)/local/lsp || true
15+
rm -rf $(EMACS_DIR)/local/extra-packages || true
16+
rm -rf $(EMACS_DIR)/local/clean_extras || true
17+
18+
clean: clean_extras
1219
rm -rf $(EMACS_DIR)/eln-cache $(EMACS_DIR)/local/eln-cache $(EMACS_DIR)/local/cache $(EMACS_DIR)/local/straight/build-*
1320

1421
clean_pcache:

0 commit comments

Comments
 (0)