# Makefile for Assets Management

.PHONY: help assets setup download-icons create-stencil clean-assets

help:
	@echo "Assets Management - Makefile"
	@echo ""
	@echo "Available targets:"
	@echo "  make assets          - Setup assets directory structure"
	@echo "  make download-icons  - Download Azure Architecture Icons"
	@echo "  make create-stencil  - Create Draw.io stencil"
	@echo "  make clean-assets    - Clean temporary asset files"

assets: setup
	@echo "✅ Assets directory structure created"

setup:
	@echo "Setting up assets directory..."
	./scripts/assets/setup-assets.sh

download-icons:
	@echo "Downloading Azure Architecture Icons..."
	./scripts/assets/download-azure-icons.sh

create-stencil:
	@echo "Creating Draw.io stencil..."
	./scripts/assets/create-diagram-stencil.sh

clean-assets:
	@echo "Cleaning temporary asset files..."
	find assets -name "*.zip" -type f -delete
	find assets -name "*.tmp" -type f -delete
	find assets -name ".*.swp" -type f -delete
	@echo "✅ Cleanup complete"

install-assets: setup download-icons create-stencil
	@echo "✅ All assets installed"

