Extend Makefile to allow for the cleaning of recipes and dishes

This commit is contained in:
Lukas Greve
2026-03-28 21:51:52 +01:00
parent b2c14dbcca
commit 55d0a9f649
+8 -2
View File
@@ -9,7 +9,8 @@ help:
@echo " all - Generate, validate, and flatten all recipes (default)"
@echo " flatten-dishes - Flatten all recipes to dishes"
@echo " clean-dishes - Remove flattened dishes"
@echo " clean - Remove generated recipes"
@echo " clean-recipes - Remove generated recipes"
@echo " clean-all - Remove recipes and dishes"
@echo " install-deps - Install Python dependencies"
all: generate-recipes flatten-dishes validate-recipes
@@ -41,6 +42,11 @@ clean-dishes:
rm -f dishes/*.cfg
@echo "✓ Flattened dishes removed. Run 'make flatten-dishes' to regenerate."
clean:
clean-recipes:
rm -f recipes/*.cfg
@echo "Generated recipes removed. Edit recipes_manifest.yaml and run 'make generate-recipes' to regenerate. Run 'make clean-dishes' to remove flattened dishes."
clean-all:
rm -f dishes/*.cfg
rm -f recipes/*.cfg
@echo "✓ Flattened dishes and generated recipes removed. Run 'make all' to regenerate."