X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;h=42245cca29c30cc1622e9d6526d1c7e1adfd8a7d;hb=9e23caa4c56259044604c38f107f7c637001b846;hp=1629ffbcd1a34c45ec737aa0cebd9f901706f907;hpb=e639fc41adbd3dde2bd8a2be746c772171fa1b9d;p=apps%2Fagl-service-can-low-level.git diff --git a/README.md b/README.md index 1629ffbc..42245cca 100644 --- a/README.md +++ b/README.md @@ -2,66 +2,15 @@ CAN bus binder, based upon OpenXC vi-firmware project. -There are 2 separated projects here, one with the CAN-binder that is installed -on an AGL target and the CAN config generator used to generate a source file for -the low level binding. - Full document can be found under `docs` directory. # Fast build procedure -Just use build.sh script: +Just use autobuild script: ```bash -./build.sh +./autobuild/agl/autobuild build +./autobuild/agl/autobuild package ``` This will build both projects under build directory for each of them with default configuration. - -# Generate documentation - -## Prerequisites - -You can use gitbook to serve documentation. To do so, please install it using *npm* as well as *calibre* package from your package distribution manager: - -```bash -sudo npm install -g gitbook-cli -sudo apt-get install calibre -``` - -To generate Doxygen documentation, you'll need doxygen and graphviz: - -```bash -sudo apt-get install doxygen graphviz -``` - -Prepare your build environment: - -```bash -mkdir build && cd build -cmake .. -``` - -## Generation - -Generate a PDF version : - -```bash -gendocs.sh pdf -``` - -Serve an HTML version, this will run a web server that will serve you locally documentation : - -```bash -gendocs.sh serve -``` - -Generate doxygen documentation: - -```bash -gendocs.sh doxygen -``` -or -```bash -cd build && make doxygen -```