00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060 echo "Update the tools needed for this task."
00061 cd /rtfm
00062 cvs update techpubs/tp_tools
00063 cvs update techpubs/perl
00064
00065 cd /rtfm/techpubs/perl
00066 chmod 775 *.pl
00067
00068 echo "Back <home>."
00069 cd /rtfm/techpubs/tp_tools
00070
00071 echo "chmod 775 *.b"
00072 chmod 775 *.b
00073
00074
00075
00076 ln -s /rtfm/techpubs/b_script/20_cp_com_files.b 20_cp_com_files.b
00077 ln -s /rtfm/techpubs/b_script/35_gen_dox.b 35_gen_dox.b
00078 ln -s /rtfm/techpubs/b_script/35_gen_tree.b 35_gen_tree.b
00079 ln -s /rtfm/techpubs/b_script/45_latex_gen.b 45_latex_gen.b
00080 ln -s /rtfm/techpubs/b_script/55_nav_cp.b 55_nav_cp.b
00081 ln -s /rtfm/techpubs/b_script/55_nav_gen.b 55_nav_gen.b
00082 ln -s /rtfm/techpubs/b_script/56_nav_index.b 56_nav_index.b
00083 ln -s /rtfm/techpubs/b_script/56_nav_script.b 56_nav_script.b
00084
00085 ln -s /rtfm/books/tp_tools/2000/users_guide src_fm
00086 ln -s /rtfm/techpubs/perl src_perl
00087
00088 cd doc_publish
00089 ln -s /rtfm/books/tp_tools/2000/doc_publish/book_tp_tools book_tp_tools
00090 ln -s /rtfm/books/help_on_help/1000/doc_publish/book_help_on_help book_help_on_help
00091
00092 cd /rtfm/techpubs/tp_tools
00093
00094 echo "Make needed support directores if they don't already exist."
00095 mkdir zdoc_merge
00096 mkdir doc_publish
00097 mkdir doc_publish/book_tp_tools
00098 mkdir doc_publish/cref_tp_tools
00099
00100 set def_ver = 'v2-00-0a'
00101 if ($
00102 @ cnt = 1
00103 while ($
00104
00105 if ($cnt == 1) then
00106 set rel_ver = $argv[1]
00107 endif
00108 @ cnt++
00109 shift
00110 end
00111 /rtfm/techpubs/perl/master_update.pl voyant_master_nav.html $rel_ver
00112 set ret_val = $status
00113 if ($ret_val > 0) then
00114 echo "WARNING: Problems with master_update.pl 1."
00115 exit 1
00116 endif
00117 else
00118 echo -n "Enter latest build version [$def_ver]:"
00119 set rel_ver = $<
00120 if ($rel_ver =~ "") then
00121 set rel_ver = $def_ver
00122
00123
00124 echo "Version from master file will be used and not '$rel_ver'."
00125 /rtfm/techpubs/perl/master_update.pl voyant_master_nav.html
00126 set ret_val = $status
00127 if ($ret_val > 0) then
00128 echo "WARNING: Problems with master_update.pl 2."
00129 exit 1
00130 endif
00131 echo "Version existing in master file was used and not the default [$rel_ver]."
00132 else
00133
00134 /rtfm/techpubs/perl/master_update.pl voyant_master_nav.html $rel_ver
00135 set ret_val = $status
00136 if ($ret_val > 0) then
00137 echo "WARNING: Problems with master_update.pl 3."
00138 exit 1
00139 endif
00140 endif
00141 endif
00142
00143
00144
00145
00146
00147 echo "Copy common files into respective subdirectories."
00148 echo "Run 20_cp_com_files from 00_build_tp_tools.b ..."
00149 20_cp_com_files.b
00150 set ret_val = $status
00151 if ($ret_val > 0) then
00152 echo "ERROR: Problems with 20_cp_com_files.b ."
00153 exit 1
00154 endif
00155
00156 echo "Perform the Doxygen software component builds."
00157 echo "Run 30_tp_tools.b from 00_build_tp_tools.b ..."
00158 30_tp_tools.b $rel_ver
00159 set ret_val = $status
00160 if ($ret_val > 0) then
00161 echo "ERROR: Problems with 30_tp_tools.b ."
00162 exit 1
00163 endif
00164
00165
00166 echo "Run 50_nav_update.b from 00_build_tp_tools.b ..."
00167 50_nav_update.b $rel_ver
00168 set ret_val = $status
00169 if ($ret_val > 0) then
00170 echo "ERROR: Problems with 50_nav_update.b ."
00171 exit 1
00172 endif
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184 echo "Finished 00_build_tp_tools.b from 00_build_tp_tools.b ..."
00185 exit 0
00186