1
0

Update output directory

This commit is contained in:
ami 2025-01-29 21:52:21 -05:00
parent 18c72eda1a
commit a396ab87d4
No known key found for this signature in database

View File

@ -11,14 +11,14 @@ B2_ARTWORK = $(B2_BUCKET)/$(PROJECT_NAME)/artwork
# ---- Makefile Settings -------------------------------------------------------
TRACK_LIST := $(notdir $(shell b2 ls $(B2_TRACKS)))
FLAC_FILES := $(addprefix out/flac/, $(addsuffix .flac, $(TRACK_LIST)))
FLAC_FILES := $(addprefix out/, $(addsuffix .flac, $(TRACK_LIST)))
GREEN = \e[32m
CYAN = \e[36m
END = \e[0m
.PHONY: all install
.PRECIOUS: out/flac/%.flac
.PRECIOUS: out/%.flac
# ---- Pipeline ----------------------------------------------------------------
@ -45,7 +45,7 @@ data/artwork:
$@ > /dev/null
@printf "%b\n" "$(GREEN)[ ✓ ]$(END) Download Artwork"
out/flac/%.flac: data/tracks/%.track data/metadata.csv | data/artwork
out/%.flac: data/tracks/%.track data/metadata.csv | data/artwork
@printf "%b %s\n" "$(CYAN)[ > ]$(END) Encode" "$(notdir $@)"
@mamba run -n Instrumental_Music_Collection python src/encode.py \
-t $< \