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 && \ |
Matteo Scandolo | e4f82a9 | 2017-09-13 13:54:44 -0700 | [diff] [blame] | 10 | ln -s ../../orchestration/xos-tosca/docs xos-tosca && \ |
Larry Peterson | c8ee646 | 2017-07-26 21:36:27 -0700 | [diff] [blame] | 11 | ln -s ../../orchestration/profiles profiles && \ |
Matteo Scandolo | 47055b3 | 2017-09-15 15:31:30 -0700 | [diff] [blame] | 12 | gitbook install && gitbook build |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 13 | |
Matteo Scandolo | 8a76f92 | 2017-08-29 14:02:58 -0700 | [diff] [blame] | 14 | book: clean build |
| 15 | gitbook serve |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 16 | clean: |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 17 | rm -rf _book; \ |
Larry Peterson | 456ff2c | 2017-07-13 15:42:24 -0700 | [diff] [blame] | 18 | rm -rf node_modules; \ |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 19 | rm platform-install; \ |
| 20 | rm test; \ |
| 21 | rm profiles; \ |
Larry Peterson | 456ff2c | 2017-07-13 15:42:24 -0700 | [diff] [blame] | 22 | rm xos; \ |
llp | 5552527 | 2017-08-02 14:32:36 -0700 | [diff] [blame] | 23 | rm xos-gui; \ |
Matteo Scandolo | 47055b3 | 2017-09-15 15:31:30 -0700 | [diff] [blame] | 24 | rm xos-tosca; \ |
llp | 5552527 | 2017-08-02 14:32:36 -0700 | [diff] [blame] | 25 | rm -f ../platform-install/docs/docs; \ |
| 26 | rm -f ../../test/cord-tester/docs/docs; \ |
| 27 | rm -f ../../orchestration/xos/docs/docs; \ |
| 28 | rm -f ../../orchestration/xos-gui/docs/docs; \ |
Matteo Scandolo | 47055b3 | 2017-09-15 15:31:30 -0700 | [diff] [blame] | 29 | rm -f ../../orchestration/xos-tosca/docs/docs; \ |
llp | 5552527 | 2017-08-02 14:32:36 -0700 | [diff] [blame] | 30 | rm -f ../../orchestration/profiles/profiles |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 31 | |
Matteo Scandolo | f8cd29f | 2017-09-07 13:57:26 -0700 | [diff] [blame] | 32 | swagger: |
Matteo Scandolo | f8cd29f | 2017-09-07 13:57:26 -0700 | [diff] [blame] | 33 | pushd ../../orchestration/xos/docs/; make swagger_docs; popd; |
| 34 | |