aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2026-05-03 20:18:14 +0200
committerTristan Riehs <tristan.riehs@inria.fr>2026-05-03 20:18:14 +0200
commit08f9d5ddd1233f973e6a613931f80cbebd4e39dd (patch)
tree597744fe781f155090303c94cc2dacc667b98d10
parent4663d6cfc8c3f6ae381a54694529e2b1aee6c66f (diff)
Do not create config and cache directories from makefile
They are created by "ftag init". It will fail if any parent directory does not exist, which is not ideal but fine. It will also silently fail if a file having the direcytory's name exists, which is bad but I don't want to fix it for now.
-rw-r--r--Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5ceade2..5a3514a 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,6 @@ all: $(PROG)
$(PROG): src/main.o src/input.o src/system.o src/utils.o
$(CC) -o $@ $^ $(__LIBS) $(LDFLAGS) $(LIBS)
-# Create cache and config directories at compile time since they will be used by
-# the user who compiled ftag
-# TODO: create this directories from "ftag init"
- mkdir -p $(FTAG_CACHE_DIR)
- mkdir -p $(FTAG_CONFIG_DIR)
src/main.o: src/main.c src/input.h src/system.h src/utils.h
src/input.o: src/input.c src/input.h