Fix Makefile for new congress/datalog directory
Change-Id: I948e390b3368075aa10b8a0564b983f9a8048476
This commit is contained in:
parent
41bc21755b
commit
0ffc5e843a
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue