1
0
Fork 0
mirror of https://github.com/Oreolek/gamebookformat.git synced 2024-06-26 03:41:04 +03:00

Rules to build all examples of specific type.

This commit is contained in:
Pelle Nilsson 2013-06-08 19:59:55 +02:00
parent ee27c2b6ee
commit d1e67a2532

View file

@ -1,10 +1,12 @@
examples=$(wildcard examples/*.gamebook)
all: $(examples:.gamebook=.rtf) \
$(examples:.gamebook=.pdf) \
$(examples:.gamebook=.html) \
$(examples:.gamebook=.debug) \
$(examples:.gamebook=.png)
all: rtf pdf html debug png
rtf: $(examples:.gamebook=.rtf)
pdf: $(examples:.gamebook=.pdf)
html: $(examples:.gamebook=.html)
debug: $(examples:.gamebook=.debug)
png: $(examples:.gamebook=.png)
%.rtf: %.gamebook formatgamebook.py
./formatgamebook.py --verify $< $@