source: rtems/doc/do_docs @ 2119f9d

4.104.114.84.95
Last change on this file since 2119f9d was 2119f9d, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 29, 1998 at 4:42:51 PM

making release docs

  • Property mode set to 100755
File size: 1.4 KB
Line 
1#! /bin/sh
2#
3#  $Id$
4#
5
6basedir=$1
7shift
8
9# classes of documents
10supplements="supplements/hppa1_1 supplements/i386 \
11    supplements/i960 supplements/m68k supplements/sparc supplements/powerpc"
12# gnu_tools="gnu_tools/newlib-1.8.0 gnu_tools/egcs-1.0.2"
13
14# Division by access level
15public_docs="user develenv networking posix_users started started_ada"
16support_docs="${supplements}"
17partners_docs="posix1003.1 posix1003.1h"
18oar_manuals="ada_user hwapi tools/texi2www \
19  browseable_rtems posix_users_new bsp_howto"
20
21# relnotes  is obsolete
22# posix_users manual left out until finished
23# ada_user manual left out until bindings released
24
25if [ x${MANUAL_SET} = x ] ; then
26  MANUAL_SET=public
27fi
28
29case ${MANUAL_SET} in
30  public)
31    manuals="$public_docs"
32    ;;
33  support)
34    manuals="$public_docs $support_docs"
35    ;;
36  partners)
37    manuals="$public_docs $support_docs $partners_docs"
38    ;;
39  internal)
40    manuals="$public_docs $support_docs $partners_docs $oar_manuals"
41    ;;
42  *)
43    echo "ERROR: Unknown manual set ${MANUAL_SET}"
44    exit 1
45    ;;
46esac
47
48for action in $*
49do
50  for manual in $manuals
51  do
52    if [ x${TEST} = xyes ] ; then
53        echo "TEST *** make $action on ${basedir}/${manual} ***"
54    else
55        echo
56        echo "*** make $action on ${basedir}/${manual} ***"
57        echo
58        cd ${basedir}/${manual}
59        gmake $action || exit $?
60    fi
61  done
62done
63
64exit 0
Note: See TracBrowser for help on using the repository browser.