1#! /bin/sh
2# BEGIN LICENSE BLOCK
3# Version: CMPL 1.1
4#
5# The contents of this file are subject to the Cisco-style Mozilla Public
6# License Version 1.1 (the "License"); you may not use this file except
7# in compliance with the License.  You may obtain a copy of the License
8# at www.eclipse-clp.org/license.
9# 
10# Software distributed under the License is distributed on an "AS IS"
11# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
12# the License for the specific language governing rights and limitations
13# under the License. 
14# 
15# The Original Code is  The ECLiPSe Constraint Logic Programming System. 
16# The Initial Developer of the Original Code is  Cisco Systems, Inc. 
17# Portions created by the Initial Developer are
18# Copyright (C) 2006 Cisco Systems, Inc.  All Rights Reserved.
19# 
20# Contributor(s): 
21# 
22# END LICENSE BLOCK
23
24DEST=../../doc_internal
25
26if [ "$ECLIPSEARCH" != "i386_linux" ] ; then
27    echo "Can build docs only on i386_linux"
28    exit 1
29fi
30
31
32(
33    cd kernel
34    TEXINPUTS=../../texinputs:$TEXINPUTS
35    BIBINPUTS=../../texinputs
36    export TEXINPUTS BIBINPUTS
37    make install
38)
39
40
41#(
42#    cd project
43#    TEXINPUTS=../../texinputs:$TEXINPUTS
44#    BIBINPUTS=../../texinputs
45#    export TEXINPUTS BIBINPUTS
46#    make
47#    make project.ps
48#)
49#cp -pr project/project $DEST
50#cp -pr project/project.ps $DEST
51
52cp *.html *.txt *.png $DEST
53chmod -R a+rX,ug+w $DEST
54
55exit 0
56
57