give example.typ a better name
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,13 +1,13 @@
|
|||||||
.PHONY: view_example
|
.PHONY: view_example
|
||||||
view_example: example.pdf
|
view_example: documentation.pdf
|
||||||
xdg-open $<
|
xdg-open $<
|
||||||
|
|
||||||
.PHONY: watch_example
|
.PHONY: watch_example
|
||||||
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
|
.PHONY: documentation
|
||||||
example: example.pdf
|
documentation: documentation.pdf
|
||||||
|
|
||||||
TO_PACK := $(shell find template -type f) template/LICENSE
|
TO_PACK := $(shell find template -type f) template/LICENSE
|
||||||
PACK_TARGETS := $(TO_PACK:%=pack/tultemplate2/%) pack/tultemplate2/example.typ \
|
PACK_TARGETS := $(TO_PACK:%=pack/tultemplate2/%) pack/tultemplate2/example.typ \
|
||||||
@@ -19,7 +19,7 @@ pack: pack/tultemplate2.zip
|
|||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf pack
|
rm -rf pack
|
||||||
rm -f example.pdf
|
rm -f documentation.pdf
|
||||||
|
|
||||||
pack/tultemplate2.zip: $(PACK_TARGETS)
|
pack/tultemplate2.zip: $(PACK_TARGETS)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
|
Reference in New Issue
Block a user