make show of all markdown files
This commit is contained in:
parent
63e1353e5f
commit
fa18e9d0d0
13
Makefile
13
Makefile
@ -2,6 +2,7 @@ help:
|
||||
@echo "Options:"
|
||||
@echo "\tmake pdf"
|
||||
@echo "\tmake creature"
|
||||
@echo "\tmake show"
|
||||
|
||||
.PHONY: pdf
|
||||
pdf: overview.pdf
|
||||
@ -31,6 +32,16 @@ overview.tex: overview.md | rubbish/
|
||||
rubbish/overview.pdf: overview.tex
|
||||
pdflatex -output-directory rubbish/ overview.tex
|
||||
|
||||
COLLECTION := /tmp/collection.md
|
||||
.PHONY: show
|
||||
show: $(COLLECTION)
|
||||
$(COLLECTION): overview.md World
|
||||
@./parse.sh overview.md > $(COLLECTION)
|
||||
@./parse.sh World/Players_are_Entropy.md >> $(COLLECTION)
|
||||
@./parse.sh Mechanics/Minds.md >> $(COLLECTION)
|
||||
@./parse.sh Mechanics/Stats.md >> $(COLLECTION)
|
||||
@lowdown -sTterm $(COLLECTION) | bat
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) -r rubbish overview.tex
|
||||
$(RM) -r rubbish overview.tex $(COLLECTION)
|
||||
|
Loading…
Reference in New Issue
Block a user