diff --git a/Makefile b/Makefile index ca6ab05..d5c985c 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,17 @@ .PHONY: view_example -view_example: example.pdf +view_example: documentation.pdf xdg-open $< .PHONY: watch_example watch_example: - typst watch --font-path template/fonts example.typ & xdg-open example.pdf + typst watch --font-path template/fonts example.typ & xdg-open documentation.pdf -.PHONY: example -example: example.pdf +.PHONY: documentation +documentation: documentation.pdf TO_PACK := $(shell find template -type f) template/LICENSE -PACK_TARGETS := $(TO_PACK:%=pack/tultemplate2/%) pack/tultemplate2/example.typ \ - pack/tultemplate2/citations.bib +PACK_TARGETS := $(TO_PACK:%=pack/tultemplate2/%) pack/tultemplate2/documentation.typ \ + pack/tultemplate2/documentation.pdf pack/tultemplate2/citations.bib .PHONY: pack pack: pack/tultemplate2.zip @@ -19,7 +19,7 @@ pack: pack/tultemplate2.zip .PHONY: clean clean: rm -rf pack - rm -f example.pdf + rm -f documentation.pdf pack/tultemplate2.zip: $(PACK_TARGETS) @mkdir -p $(@D) @@ -47,7 +47,7 @@ pack/tultemplate2/template/%: template/% TEMPLATE_SRCS := $(shell find template -type f) -%.pdf: %.typ $(TEMPLATE_SRCS) +documentation.pdf: documentation.typ $(TEMPLATE_SRCS) typst compile --font-path template/fonts $< include tests/make.mk diff --git a/example.typ b/documentation.typ similarity index 100% rename from example.typ rename to documentation.typ