STXInstaller.st
changeset 12 6cb00d713d4d
parent 11 9bc23682b68c
child 13 d889323fd944
equal deleted inserted replaced
11:9bc23682b68c 12:6cb00d713d4d
    76     dirsToMake := OrderedCollection new.
    76     dirsToMake := OrderedCollection new.
    77     dirsToMake add:stxBinDir.
    77     dirsToMake add:stxBinDir.
    78     dirsToMake add:stxLibDir.
    78     dirsToMake add:stxLibDir.
    79     dirsToMake add:(stxLibDir asFilename constructString:'lib').
    79     dirsToMake add:(stxLibDir asFilename constructString:'lib').
    80     dirsToMake add:(stxLibDir asFilename constructString:'doc').
    80     dirsToMake add:(stxLibDir asFilename constructString:'doc').
       
    81     dirsToMake add:(stxLibDir asFilename constructString:'doc/online').
       
    82     dirsToMake add:(stxLibDir asFilename constructString:'doc/online/english').
       
    83     dirsToMake add:(stxLibDir asFilename constructString:'doc/online/german').
    81     dirsToMake add:(stxLibDir asFilename constructString:'include').
    84     dirsToMake add:(stxLibDir asFilename constructString:'include').
    82     dirsToMake add:(stxLibDir asFilename constructString:'resources').
    85     dirsToMake add:(stxLibDir asFilename constructString:'resources').
    83     dirsToMake add:(stxLibDir asFilename constructString:'binary').
    86     dirsToMake add:(stxLibDir asFilename constructString:'binary').
    84     dirsToMake add:(stxLibDir asFilename constructString:'bitmaps').
    87     dirsToMake add:(stxLibDir asFilename constructString:'bitmaps').
    85     dirsToMake add:(stxLibDir asFilename constructString:'goodies').
    88     dirsToMake add:(stxLibDir asFilename constructString:'goodies').
    89 
    92 
    90 specOfFilesToCopy
    93 specOfFilesToCopy
    91     |fileSpec|
    94     |fileSpec|
    92 
    95 
    93     fileSpec := #(
    96     fileSpec := #(
    94                 "/ name                        destination   subDir    required mode      
    97                 "/ name                        destination   subDir               required mode      
    95                 ( 'projects/smalltalk/smalltalk'     #bin     nil        true  '755' )
    98                 ( 'projects/smalltalk/smalltalk'        #bin     nil                  true  '755' )
    96                 ( 'projects/smalltalk/include'       #lib     nil        true  '644' )
    99                 ( 'projects/smalltalk/include'          #lib     nil                  true  '644' )
    97                 ( 'projects/smalltalk/*.rc'          #lib     nil        true  '644' )
   100                 ( 'projects/smalltalk/*.rc'             #lib     nil                  true  '644' )
    98                 ( 'projects/smalltalk/patches'       #lib     nil        true  '644' )
   101                 ( 'projects/smalltalk/patches'          #lib     nil                  true  '644' )
    99                 ( 'projects/smalltalk/bitmaps'       #lib     nil        true  '644' )
   102                 ( 'projects/smalltalk/bitmaps'          #lib     nil                  true  '644' )
   100                 ( 'projects/smalltalk/resources'     #lib     nil        true  '644' )
   103                 ( 'projects/smalltalk/resources'        #lib     nil                  true  '644' )
   101                 ( 'projects/smalltalk/lib'           #lib     nil        true  '644' )
   104                 ( 'projects/smalltalk/lib'              #lib     nil                  true  '644' )
       
   105                 ( 'doc/online/german/LICENSE.STX.html'  #lib     'doc/online/german'  true  '644' )
       
   106                 ( 'doc/online/english/LICENSE.STX.html' #lib     'doc/online/english' true  '644' )
   102     ).
   107     ).
   103 
   108 
   104     installDocFiles ifTrue:[
   109     installDocFiles ifTrue:[
   105         fileSpec := fileSpec , #(
   110         fileSpec := fileSpec , #(
   106                 ( 'doc'                              #lib     nil        false '644' )
   111                 ( 'doc'                              #lib     nil        false '644' )