GRAPH = "digraph G { hello -> world }"
test: diffimg
- echo $(GRAPH) | dot -Tpng:cg >hello1.png
- echo $(GRAPH) | dot -Tpng:cg >hello2.png
+ echo $(GRAPH) | dot -Tpng >hello1.png
+ echo $(GRAPH) | dot -Tpng >hello2.png
if `./diffimg hello1.png hello2.png >test1.png`;then echo same;else echo different;fi
- echo $(GRAPH) | dot -Grankdir=LR -Tpng:cg >hello2.png
+ echo $(GRAPH) | dot -Grankdir=LR -Tpng >hello2.png
if `./diffimg hello1.png hello2.png >test2.png`;then echo same;else echo different;fi
CLEANFILES = *.png