icmake/manual
raw| 1 | void manual() |
| 2 | { |
| 3 | list files; |
| 4 | string file; |
| 5 | string cwd; |
| 6 | int idx; |
| 7 | string compiler; |
| 8 | |
| 9 | compiler = setOpt(CXX, "CXX"); |
| 10 | |
| 11 | cwd = chdir("."); |
| 12 | |
| 13 | md("tmp/manual/images"); |
| 14 | |
| 15 | chdir("documentation"); |
| 16 | |
| 17 | chdir("manual"); |
| 18 | |
| 19 | run("yodl2html -l3 " PROGRAM ".yo"); |
| 20 | run("mv *.html ../../tmp/manual"); |
| 21 | run("cp -r images/*.jpg ../../tmp/manual/images"); |
| 22 | |
| 23 | exit(0); |
| 24 | } |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 |