22 lines
506 B
Makefile
22 lines
506 B
Makefile
.PHONY: all build pdf html deploy preview clean
|
|
|
|
all: build deploy
|
|
|
|
pdf:
|
|
./bin/typst compile cv.typ cv-munsch-latest.pdf
|
|
|
|
html: pdf
|
|
podman run --rm -v $$(pwd):/pdf:z -w /pdf bwits/pdf2htmlex pdf2htmlEX --zoom=1.3 cv-munsch-latest.pdf cv-munsch-latest.html
|
|
|
|
build:
|
|
./build.sh
|
|
|
|
deploy:
|
|
./deploy.sh
|
|
|
|
preview: pdf
|
|
pdftoppm -png -r 150 cv-munsch-latest.pdf cv_preview_latest
|
|
@echo "Preview saved to cv_preview_latest-1.png"
|
|
|
|
clean:
|
|
rm -f cv-munsch-latest.pdf cv-munsch-latest.html cv_preview_latest*.png
|