Zack Williams | 6e87cbc | 2017-07-17 16:48:01 -0700 | [diff] [blame^] | 1 | default: serve |
Matteo Scandolo | fa32eb4 | 2017-09-07 13:57:26 -0700 | [diff] [blame] | 2 | |
Zack Williams | 6e87cbc | 2017-07-17 16:48:01 -0700 | [diff] [blame^] | 3 | GENERATED_DOCS = build_glossary.md |
llp | bd786de | 2017-07-07 15:57:27 -0700 | [diff] [blame] | 4 | |
Zack Williams | 6e87cbc | 2017-07-17 16:48:01 -0700 | [diff] [blame^] | 5 | serve: setup |
Matteo Scandolo | 8a76f92 | 2017-08-29 14:02:58 -0700 | [diff] [blame] | 6 | gitbook serve |
llp | 1827698 | 2017-07-11 11:28:47 -0700 | [diff] [blame] | 7 | |
Zack Williams | 6e87cbc | 2017-07-17 16:48:01 -0700 | [diff] [blame^] | 8 | build: setup |
| 9 | gitbook build |
| 10 | |
| 11 | setup: clean platform-install test profiles xos xos-gui xos-tosca swagger $(GENERATED_DOCS) |
| 12 | gitbook init |
| 13 | gitbook install |
| 14 | |
| 15 | platform-install: |
| 16 | ln -s ../platform-install/docs platform-install |
| 17 | |
| 18 | test: |
| 19 | ln -s ../../test/cord-tester/docs test |
| 20 | |
| 21 | profiles: |
| 22 | ln -s ../../orchestration/profiles profiles |
| 23 | |
| 24 | xos: |
| 25 | ln -s ../../orchestration/xos/docs xos |
| 26 | |
| 27 | xos-gui: |
| 28 | ln -s ../../orchestration/xos-gui/docs xos-gui |
| 29 | |
| 30 | xos-tosca: |
| 31 | ln -s ../../orchestration/xos-tosca/docs xos-tosca |
| 32 | |
| 33 | build_glossary.md: scripts/descriptions.md scripts/defaults.md.j2 scripts/defaultsdoc.py scripts/markedyaml.py |
| 34 | python scripts/defaultsdoc.py -o build_glossary.md |
| 35 | |
| 36 | swagger: xos |
Matteo Scandolo | fa32eb4 | 2017-09-07 13:57:26 -0700 | [diff] [blame] | 37 | pushd ../../orchestration/xos/docs/; make swagger_docs; popd; |
| 38 | |
Zack Williams | 6e87cbc | 2017-07-17 16:48:01 -0700 | [diff] [blame^] | 39 | clean: |
| 40 | rm -rf $(GENERATED_DOCS) |
| 41 | rm -rf _book |
| 42 | rm -rf node_modules |
| 43 | rm -f platform-install test profiles xos xos-gui xos-tosca |
| 44 | |