blob: ffc598c6b64ffe7a7312e0e826f8f9061c34b765 [file] [log] [blame]
llpbd786de2017-07-07 15:57:27 -07001default: book
2
Larry Peterson456ff2c2017-07-13 15:42:24 -07003build:
Larry Petersonc8ee6462017-07-26 21:36:27 -07004 ln -s ../platform-install/docs platform-install && \
5 ln -s ../../test/cord-tester/docs test && \
6 ln -s ../../orchestration/xos/docs xos && \
7 ln -s ../../orchestration/xos-gui/docs xos-gui && \
8 ln -s ../../orchestration/profiles profiles && \
9 gitbook init && gitbook install && gitbook build
llpbd786de2017-07-07 15:57:27 -070010
Matteo Scandolo8a76f922017-08-29 14:02:58 -070011book: clean build
12 gitbook serve
llpbd786de2017-07-07 15:57:27 -070013clean:
llp18276982017-07-11 11:28:47 -070014 rm -rf _book; \
Larry Peterson456ff2c2017-07-13 15:42:24 -070015 rm -rf node_modules; \
llp18276982017-07-11 11:28:47 -070016 rm platform-install; \
17 rm test; \
18 rm profiles; \
Larry Peterson456ff2c2017-07-13 15:42:24 -070019 rm xos; \
llp55525272017-08-02 14:32:36 -070020 rm xos-gui; \
21 rm -f ../platform-install/docs/docs; \
22 rm -f ../../test/cord-tester/docs/docs; \
23 rm -f ../../orchestration/xos/docs/docs; \
24 rm -f ../../orchestration/xos-gui/docs/docs; \
25 rm -f ../../orchestration/profiles/profiles
llp18276982017-07-11 11:28:47 -070026