Makefile is used to automate Pyroute2 deployment and test processes. Mostly, it is but a collection of common commands.
Clean up the repo directory from the built documentation, collected coverage data, compiled bytecode etc.
Build documentation. Requires Sphinx.
Run tests against current code. Requires flake8, nosetests, coverage. Command line options:
Sample:
$ sudo make test python=python3 coverage=true wlevel=all
Please notice, that by default tests run with wlevel=error, thus failing on any warning.
Buidl and install the package into the system. Command line options:
Other targets are either utility targets to be used internally, or hooks for related projects. You can safely ignore them.