From 08f9d5ddd1233f973e6a613931f80cbebd4e39dd Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 3 May 2026 20:18:14 +0200 Subject: 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. --- Makefile | 5 ----- 1 file changed, 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 -- cgit v1.2.3