Skip to content
Snippets Groups Projects
Commit 843fe44b authored by calrama's avatar calrama
Browse files

Fix output file names

parent 83d970e6
Branches
Tags
No related merge requests found
...@@ -34,10 +34,10 @@ build/%.html: src/%.org ...@@ -34,10 +34,10 @@ build/%.html: src/%.org
.PHONY: dist .PHONY: dist
dist: pdf html dist: pdf html
$(MKDIR) dist/img $(MKDIR) dist/img
cp build/main.pdf "dist/${TARGET}.pdf" cp build/main.pdf "dist/${TARGET} - $(VERSION).pdf"
cp build/main.html "dist/${TARGET}.html" cp build/main.html "dist/${TARGET} - $(VERSION).html"
cp img/*.svg dist/img/ cp img/*.svg dist/img/
sed -i 's|"\.\./|"|g' "dist/${TARGET}.html" sed -i 's|"\.\./|"|g' "dist/${TARGET} - $(VERSION).html"
VERSION := $(shell git describe --tags --dirty --always) VERSION := $(shell git describe --tags --dirty --always)
.PHONY: pkg .PHONY: pkg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment