1. James Mills
  2. circuits

Commits

James Mills  committed 9bbf615

- Makefile: Added ``graph`` rule using snakefood and ghostscript to produce
a PDF of the architecture of the circuits library.

  • Participants
  • Parent commits 21c0ff6
  • Branches default

Comments (0)

Files changed (1)

File Makefile

View file
  • Ignore whitespace
-.PHONY: help clean docs tests packages
+.PHONY: help clean docs graph packages tests
 
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
 docs:
 	@make -C docs html
 
+graph:
+	@sfood circuits -i -I tests -d -u 2> /dev/null | sfood-graph | dot -Tps | ps2pdf - > circuits.pdf
+
 packages:
 	@tools/mkpkgs -p python2.5
 	@tools/mkpkgs -p python2.6