fix(Make,dist): include logo in archives
This commit is contained in:
parent
09bc78c920
commit
3ed9bc7882
5
Makefile
5
Makefile
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
TEMPLATES = muendliche-pruefung muendliche-nachpruefung muendliche-pruefung-mathematik
|
TEMPLATES = muendliche-pruefung muendliche-nachpruefung muendliche-pruefung-mathematik
|
||||||
FILES = README.md main.typ lib.typ $1.typ $1.pdf
|
FILES = README.md main.typ lib.typ $1.typ $1.pdf
|
||||||
|
|
||||||
PACKAGE_NAME = fsmi-exam-report
|
PACKAGE_NAME = fsmi-exam-report
|
||||||
PACKAGE_VERSION = 0.1.0
|
PACKAGE_VERSION = 0.1.0
|
||||||
PREFIX ?= $(HOME)/.local/share/typst/packages/local
|
PREFIX ?= $(HOME)/.local/share/typst/packages/local
|
||||||
|
|
@ -15,10 +14,10 @@ dist: $(addsuffix .tar.gz,${TEMPLATES}) $(addsuffix .zip,${TEMPLATES})
|
||||||
mv $^ $@
|
mv $^ $@
|
||||||
|
|
||||||
define make-archive
|
define make-archive
|
||||||
$1.tar.gz: $(addprefix $1/,${FILES})
|
$1.tar.gz: $(addprefix $1/,${FILES}) $$(wildcard $1/*.svg)
|
||||||
tar -vczf $$@ $$^
|
tar -vczf $$@ $$^
|
||||||
|
|
||||||
$1.zip: $(addprefix $1/,${FILES})
|
$1.zip: $(addprefix $1/,${FILES}) $$(wildcard $1/*.svg)
|
||||||
zip $$@ $$^
|
zip $$@ $$^
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue