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:
parent
ee27c2b6ee
commit
d1e67a2532
12
Makefile
12
Makefile
|
@ -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 $< $@
|
||||
|
|
Loading…
Reference in a new issue