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

Last change on this file since 199 was 199, checked in by pinsard, 11 years ago

fix svn properties

  • Property svn:executable set to *
  • Property svn:keywords set to Id URL
File size: 1.8 KB
Line 
1#! /bin/sh -x
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#
22# :ref:`conf.py`
23#
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#
34# hard coded superbib path (see export lines)
35#
36# EVOLUTIONS
37# ==========
38#
39# $URL$
40#
41# $Id$
42#
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#
51# - fplod 20110624T142756Z aedon.locean-ipsl.upmc.fr (Darwin)
52#
53#   * creation (superdraft)
54#
55#-
56# exports should not be here ++
57export SUPERBIB=${HOME}/SUPERBIB
58export SUPERBIB=${HOME}/superbib_ws/trunk/
59cd ${SUPERBIB}
60export DIRTMP=./
61make clean
62make before
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
67make html
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
77#++ make -n install
78#++install.sh -w /tmp/superbib/ -u  http://www.locean-ipsl.upmc.fr/~fplod/supertropflux/
79#
80exit 0
Note: See TracBrowser for help on using the repository browser.