4.104.114.84.95
Line | |
---|
1 | #! /bin/sh |
---|
2 | # |
---|
3 | # $Id$ |
---|
4 | # |
---|
5 | |
---|
6 | basedir=$1 |
---|
7 | shift |
---|
8 | |
---|
9 | # classes of documents |
---|
10 | supplements="supplements/hppa1_1 supplements/i386 \ |
---|
11 | supplements/i960 supplements/m68k supplements/sparc supplements/powerpc" |
---|
12 | |
---|
13 | # relnotes is obsolete |
---|
14 | |
---|
15 | # Division by access level |
---|
16 | public_docs="FAQ user develenv networking posix_users started started_ada \ |
---|
17 | rtems_gdb rgdb_specs" |
---|
18 | support_docs="${supplements} bsp_howto filesystem porting ada_user posix1003.1" |
---|
19 | |
---|
20 | if [ x${MANUAL_SET} = x ] ; then |
---|
21 | MANUAL_SET=public |
---|
22 | fi |
---|
23 | |
---|
24 | case ${MANUAL_SET} in |
---|
25 | public) |
---|
26 | # manuals="$public_docs" |
---|
27 | # ;; |
---|
28 | #support) |
---|
29 | manuals="$public_docs $support_docs" |
---|
30 | ;; |
---|
31 | *) |
---|
32 | echo "ERROR: Unknown manual set ${MANUAL_SET}" |
---|
33 | exit 1 |
---|
34 | ;; |
---|
35 | esac |
---|
36 | |
---|
37 | for action in $* |
---|
38 | do |
---|
39 | for manual in $manuals |
---|
40 | do |
---|
41 | if [ x${TEST} = xyes ] ; then |
---|
42 | echo "TEST *** make $action on ${basedir}/${manual} ***" |
---|
43 | else |
---|
44 | echo |
---|
45 | echo "*** make $action on ${basedir}/${manual} ***" |
---|
46 | echo |
---|
47 | cd ${basedir}/${manual} |
---|
48 | gmake $action || exit $? |
---|
49 | fi |
---|
50 | done |
---|
51 | done |
---|
52 | |
---|
53 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.