Fix Makefile for new congress/datalog directory

Change-Id: I948e390b3368075aa10b8a0564b983f9a8048476
This commit is contained in:
Tim Hinrichs 2015-03-02 10:35:12 -08:00
parent 41bc21755b
commit 0ffc5e843a
1 changed files with 3 additions and 3 deletions

View File

@ -7,12 +7,12 @@ all: code docs
code: CongressLexer.py
clean:
rm -f Congress.tokens $(SRCDIR)/policy/CongressLexer.py $(SRCDIR)/policy/CongressParser.py
rm -f Congress.tokens $(SRCDIR)/datalog/CongressLexer.py $(SRCDIR)/datalog/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
CongressLexer.py CongressParser.py: $(SRCDIR)/datalog/Congress.g
java -jar $(TOPDIR)/thirdparty/antlr-3.5-complete.jar $(SRCDIR)/datalog/Congress.g
docs: $(TOPDIR)/doc/source/*.rst
sphinx-build -b html $(TOPDIR)/doc/source $(TOPDIR)/doc/html