[143] | 1 | #! /bin/sh -x |
---|
[56] | 2 | #+ |
---|
| 3 | # .. program: gen_survey.sh |
---|
| 4 | # |
---|
| 5 | # ============= |
---|
| 6 | # gen_survey.sh |
---|
| 7 | # ============= |
---|
| 8 | # |
---|
| 9 | # DESCRIPTION |
---|
| 10 | # =========== |
---|
| 11 | # |
---|
| 12 | # creation survey of the project |
---|
| 13 | # |
---|
| 14 | # SEE ALSO |
---|
| 15 | # ======== |
---|
| 16 | # |
---|
| 17 | # :ref:`bibtropflux.xml` |
---|
| 18 | # :ref:`usertropflux.xml` |
---|
| 19 | # :ref:`usertropflux.dtd` |
---|
| 20 | # :ref:`maintropflux.xml` |
---|
| 21 | # |
---|
[77] | 22 | # :ref:`conf.py` |
---|
| 23 | # |
---|
[56] | 24 | # TODO |
---|
| 25 | # ==== |
---|
| 26 | # |
---|
| 27 | # connect with Sphinx website (cp ++) |
---|
| 28 | # |
---|
| 29 | # make it work un der cratos : now no ploticus available |
---|
| 30 | # |
---|
| 31 | # This tool has to be call during website building ... so either in ./Makefile |
---|
| 32 | # or in ../makefile |
---|
| 33 | # |
---|
[143] | 34 | # hard coded superbib path (see export lines) |
---|
[56] | 35 | # |
---|
| 36 | # EVOLUTIONS |
---|
| 37 | # ========== |
---|
| 38 | # |
---|
| 39 | # $URL$ |
---|
[77] | 40 | # |
---|
[56] | 41 | # $Id$ |
---|
| 42 | # |
---|
[77] | 43 | # - fplod 20110705T155755Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 44 | # |
---|
| 45 | # * start to try to run sphinx-build |
---|
| 46 | # |
---|
| 47 | # - fplod 20110629T124711Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 48 | # |
---|
| 49 | # * start usage of rest in superbib |
---|
| 50 | # |
---|
[56] | 51 | # - fplod 20110624T142756Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 52 | # |
---|
| 53 | # * creation (superdraft) |
---|
| 54 | # |
---|
| 55 | #- |
---|
[143] | 56 | # exports should not be here ++ |
---|
| 57 | export SUPERBIB=${HOME}/SUPERBIB |
---|
| 58 | export SUPERBIB=${HOME}/superbib_ws/trunk/ |
---|
| 59 | cd ${SUPERBIB} |
---|
| 60 | export DIRTMP=./ |
---|
| 61 | make clean |
---|
[56] | 62 | make before |
---|
[143] | 63 | ln -sf ${TROPFLUX}/adm/website/bibtropflux.xml ${DIRTMP}/biblio.xml |
---|
| 64 | ln -sf ${TROPFLUX}/adm/website/usertropflux.xml ${DIRTMP}/user.xml |
---|
| 65 | ln -sf ${TROPFLUX}//adm/website/usertropflux.dtd ${DIRTMP}/user.dtd |
---|
| 66 | ln -sf ${TROPFLUX}/adm/website/maintropflux.xml ${DIRTMP}/main.xml |
---|
[56] | 67 | make html |
---|
[143] | 68 | #++make rest |
---|
| 69 | #++make /tmp/superbib/sphinx_tmpdir//user.rst |
---|
| 70 | make /tmp/superbib/sphinx_tmpdir//superbib01.rst |
---|
| 71 | #find /tmp/superbib/ . -name "*.rst" |
---|
| 72 | cd ${TROPFLUX}/adm/website |
---|
| 73 | cp /tmp/superbib/sphinx_tmpdir//superbib01.rst . |
---|
| 74 | #sphinx-build -b html -c . /tmp/superbib/ /tmp |
---|
| 75 | make html |
---|
| 76 | #cp ++ _static/survey.png |
---|
[56] | 77 | #++ make -n install |
---|
[77] | 78 | #++install.sh -w /tmp/superbib/ -u http://www.locean-ipsl.upmc.fr/~fplod/supertropflux/ |
---|
[56] | 79 | # |
---|
| 80 | exit 0 |
---|