congress/Makefile
Eric K cdfb121cf4 Remove antlr3 files except Python runtime
The removed files are not needed by users, and some files
are incompatible with free software packaging (e.g. jar)

Drawback: if a developer changes congress grammar, s/he
needs to compile or download the antlr3 file to generate
the Parser/Lexer.

Instructions added to download antlr3 and generate files.

Partial-Bug: 1591763

Change-Id: I716ffe9f651dc48eb513efbb653aadf8f33f604a
2017-01-25 16:05:04 -08:00

13 lines
228 B
Makefile

TOPDIR=$(CURDIR)
SRCDIR=$(TOPDIR)/congress
all: docs
clean:
find . -name '*.pyc' -exec rm -f {} \;
rm -Rf $(TOPDIR)/doc/html/*
docs: $(TOPDIR)/doc/source/*.rst
sphinx-build -b html $(TOPDIR)/doc/source $(TOPDIR)/doc/html