Files
the-sourdough-framework/makefile
Ralph von der Heyden b6f01e90c2 Fix relase rule in main makefile (#56)
The README says `make release` should build the ebooks, but it's
building the PDF (same command as in `make build_book`). Maybe this
should run `make release` inside the books folder?
2023-03-06 01:17:52 +01:00

12 lines
420 B
Makefile

.PHONY: build_book
build_book: build_docker_image
docker run -it -v $(PWD):/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make build_pdf"
.PHONY: release
release: build_docker_image
docker run -it -v $(PWD):/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make release"
.PHONY: build_docker_image
build_docker_image:
docker build -t the-sourdough-framework -f Dockerfile .