Matteo Scandolo | f8cd29f | 2017-09-07 13:57:26 -0700 | [diff] [blame^] | 1 | SHELL := /bin/bash |
| 2 | |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 3 | default: book |
| 4 | |
Matteo Scandolo | f8cd29f | 2017-09-07 13:57:26 -0700 | [diff] [blame^] | 5 | build: swagger |
Larry Peterson | c8ee646 | 2017-07-26 21:36:27 -0700 | [diff] [blame] | 6 | ln -s ../platform-install/docs platform-install && \ |
| 7 | ln -s ../../test/cord-tester/docs test && \ |
| 8 | ln -s ../../orchestration/xos/docs xos && \ |
| 9 | ln -s ../../orchestration/xos-gui/docs xos-gui && \ |
| 10 | ln -s ../../orchestration/profiles profiles && \ |
| 11 | gitbook init && gitbook install && gitbook build |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 12 | |
Matteo Scandolo | 8a76f92 | 2017-08-29 14:02:58 -0700 | [diff] [blame] | 13 | book: clean build |
| 14 | gitbook serve |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 15 | clean: |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 16 | rm -rf _book; \ |
Larry Peterson | 456ff2c | 2017-07-13 15:42:24 -0700 | [diff] [blame] | 17 | rm -rf node_modules; \ |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 18 | rm platform-install; \ |
| 19 | rm test; \ |
| 20 | rm profiles; \ |
Larry Peterson | 456ff2c | 2017-07-13 15:42:24 -0700 | [diff] [blame] | 21 | rm xos; \ |
llp | 5552527 | 2017-08-02 14:32:36 -0700 | [diff] [blame] | 22 | rm xos-gui; \ |
| 23 | rm -f ../platform-install/docs/docs; \ |
| 24 | rm -f ../../test/cord-tester/docs/docs; \ |
| 25 | rm -f ../../orchestration/xos/docs/docs; \ |
| 26 | rm -f ../../orchestration/xos-gui/docs/docs; \ |
| 27 | rm -f ../../orchestration/profiles/profiles |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 28 | |
Matteo Scandolo | f8cd29f | 2017-09-07 13:57:26 -0700 | [diff] [blame^] | 29 | swagger: |
| 30 | pushd ../../orchestration/xos/; source scripts/setup_venv.sh; popd; |
| 31 | pushd ../../orchestration/xos/docs/; make swagger_docs; popd; |
| 32 | |