summaryrefslogtreecommitdiff
path: root/services/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'services/Makefile')
-rw-r--r--services/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/services/Makefile b/services/Makefile
index 7126764..0e0835f 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -1,4 +1,5 @@
VALIDATOR := perl ../utils/validator.pl --schema spore_validation.rx --description
+SPORE2DOT := perl ../utils/spore2dot.pl
check: spore_validation.rx
@make -C github check
@@ -13,6 +14,20 @@ test: check
spore_validation.rx:
wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx
+png: \
+ backtweet.png \
+ backtype.png \
+ github.png \
+ ihackernews.png \
+ twitter.png
+ @make -C github png
+
+%.png : %.dot
+ dot -T png -o $@ $<
+
+%.dot: %.json
+ $(SPORE2DOT) $< > $@
+
clean:
@make -C github clean
- -rm spore_validation.rx
+ -rm *.png *.dot spore_validation.rx