|
|
|
|
|
|
|
|
.DEFAULT_GOAL := help |
|
|
.DEFAULT_GOAL := help |
|
|
|
|
|
|
|
|
|
|
|
.PHONY: install |
|
|
|
|
|
install: ## Install the dependencies to build the website |
|
|
|
|
|
pip3 install --user -r requirements.txt |
|
|
|
|
|
|
|
|
.PHONY: build |
|
|
.PHONY: build |
|
|
build: ## Build the website |
|
|
build: ## Build the website |
|
|
python3 boop.py |
|
|
python3 boop.py |
|
|
|
|
|
|
|
|
clean: ## Clean output files |
|
|
clean: ## Clean output files |
|
|
rm -rf ./output ./__pycache__ |
|
|
rm -rf ./output ./__pycache__ |
|
|
|
|
|
|
|
|
|
|
|
.PHONY: serve |
|
|
|
|
|
serve: build ## Serve the website (development) |
|
|
|
|
|
cd output && python3 -m http.server 8080 |
|
|
|
|
|
|
|
|
.PHONY: help |
|
|
.PHONY: help |
|
|
help: |
|
|
help: |
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |