This is a gentle fork from https://framagit.org/marienfressinaud/photos.marienfressinaud.fr with a responsive and optimized mindset. https://media.larlet.fr/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 537B

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