congress/Makefile
Tim Hinrichs 8d45d481e1 First cut of user-docs
There are still some Todos, and there are several
chunks missing, but those cannot yet be filled in.
Overall, this is a reasonable stopping point.

Change-Id: Ie9b007b9c2db44927060fdc8974a7d8eb70d2180
2014-03-18 14:57:55 -07:00

21 lines
499 B
Makefile

TOPDIR=$(CURDIR)
SRCDIR=$(TOPDIR)/congress
all: code docs
code: CongressLexer.py
clean:
rm -f Congress.tokens $(SRCDIR)/policy/CongressLexer.py $(SRCDIR)/policy/CongressParser.py
find . -name '*.pyc' -exec rm -f {} \;
rm -Rf $(TOPDIR)/doc/html/*
CongressLexer.py CongressParser.py: $(SRCDIR)/policy/Congress.g
java -jar $(TOPDIR)/thirdparty/antlr-3.5-complete.jar $(SRCDIR)/policy/Congress.g
docs: $(TOPDIR)/doc/source/*.rst
sphinx-build -b html $(TOPDIR)/doc/source $(TOPDIR)/doc/html