Files
tultemplate2/Makefile

12 lines
222 B
Makefile

.PHONY: view_example
view_example: example.pdf
zathura $<
.PHONY: example
example: example.pdf
TEMPLATE_SRCS := $(shell find template -type f)
%.pdf: %.typ $(TEMPLATE_SRCS)
typst compile --font-path template/fonts $<