source: trunk/adm/website/gen_survey.sh @ 154

Last change on this file since 154 was 143, checked in by pinsard, 12 years ago

improve connexion with superbib (still experimental for sphinx)

  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[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 ++
57export SUPERBIB=${HOME}/SUPERBIB
58export SUPERBIB=${HOME}/superbib_ws/trunk/
59cd ${SUPERBIB}
60export DIRTMP=./
61make clean
[56]62make before
[143]63ln -sf ${TROPFLUX}/adm/website/bibtropflux.xml ${DIRTMP}/biblio.xml
64ln -sf ${TROPFLUX}/adm/website/usertropflux.xml ${DIRTMP}/user.xml
65ln -sf ${TROPFLUX}//adm/website/usertropflux.dtd ${DIRTMP}/user.dtd
66ln -sf ${TROPFLUX}/adm/website/maintropflux.xml ${DIRTMP}/main.xml
[56]67make html
[143]68#++make rest
69#++make /tmp/superbib/sphinx_tmpdir//user.rst
70make /tmp/superbib/sphinx_tmpdir//superbib01.rst
71#find /tmp/superbib/ . -name "*.rst"
72cd ${TROPFLUX}/adm/website
73cp /tmp/superbib/sphinx_tmpdir//superbib01.rst .
74#sphinx-build -b html -c . /tmp/superbib/ /tmp
75make 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#
80exit 0
Note: See TracBrowser for help on using the repository browser.