Changeset 28067
- Timestamp:
- May 21, 2010, 12:22:56 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/psbuild (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/psbuild
r24670 r28067 10 10 $profile = 0; 11 11 $developer = 0; 12 $magic = 0; 13 $operations = 0; 12 14 $start = ""; 13 15 $stop = ""; … … 59 61 shift; next; 60 62 } 63 if ($ARGV[0] eq "-magic") { 64 $magic = 1; 65 shift; next; 66 } 61 67 if ($ARGV[0] eq "-optimize") { 62 68 $optimize = 1; … … 69 75 if ($ARGV[0] eq "-dev") { 70 76 $developer = 1; 77 shift; next; 78 } 79 # basic settings for the operations installation 80 if ($ARGV[0] eq "-ops") { 81 $developer = 1; 82 $optimize = 1; 83 $magic = 1; 71 84 shift; next; 72 85 } … … 167 180 168 181 sub build_distribution { 182 183 # the operations system needs to first update the magic software 184 if ($magic) { 185 $homedir = `pwd`; chomp $homedir; 186 chdir "../magic"; 187 188 if (! -d magic || ! -d ssa-core-cpp || ! -d qt-everywhere-opensource-src-4.6.1) { 189 $status = vsystem ("make update"); 190 if ($status) { die "failed to untar magic directories"; } 191 } else { 192 print "magic directories exist; run make update manually if needed\n"; 193 } 194 chdir $homedir; 195 } 169 196 170 197 # use psconfig.csh to set needed build aliases
Note:
See TracChangeset
for help on using the changeset viewer.
