# Makefile for Enhanced DOCX to PDF Converter .PHONY: help build run stop logs test clean # Default target help: @echo "Enhanced DOCX to PDF Converter - Makefile" @echo "" @echo "Usage:" @echo " make build - Build Docker images" @echo " make run - Run the application" @echo " make stop - Stop the application" @echo " make logs - View application logs" @echo " make test - Run tests" @echo " make clean - Clean up temporary files" # Build Docker images build: docker-compose build # Run the application run: docker-compose up -d # Stop the application stop: docker-compose down # View logs logs: docker-compose logs -f # Run tests test: docker-compose run --rm docx-to-pdf-enhanced python3 -m pytest tests/ # Clean up temporary files clean: rm -rf conversions/* find . -name "*.pyc" -delete find . -name "__pycache__" -type d -exec rm -rf {} +