Subversion Repositories eduke32

Rev

Rev 4130 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4130 Rev 4131
Line 115... Line 115...
115
    cp -R $top/$source/package/sdk/* ./
115
    cp -R $top/$source/package/sdk/* ./
116
}
116
}
117
117
118
function package_execute ()
118
function package_execute ()
119
{
119
{
120
    echo 7z a -mx9 -t7z $output/$date-$head/${*}_$date-$head.7z *
120
    echo 7zr a -mx9 -t7z $output/$date-$head/${*}_$date-$head.7z *
121
    7z a -mx9 -t7z $output/$date-$head/${*}_$date-$head.7z *
121
    7zr a -mx9 -t7z $output/$date-$head/${*}_$date-$head.7z *
122
122
123
    cd $top/$source
123
    cd $top/$source
124
124
125
    rm -rf $package
125
    rm -rf $package
126
}
126
}
Line 148... Line 148...
148
    verifytargets
148
    verifytargets
149
149
150
    # package game
150
    # package game
151
    package_start
151
    package_start
152
    package_debug win32
152
    package_debug win32
153
    mv -f eduke32$exe "$package/eduke32.debug$exe"
153
    mv -f $top/$source/eduke32$exe "$package/eduke32.debug$exe"
154
    package_execute ${basename}_win32_debug
154
    package_execute ${basename}_win32_debug
155
155
156
    # package sdk
156
    # package sdk
157
    package_start
157
    package_start
158
    package_debug win32
158
    package_debug win32
159
    package_sdk
159
    package_sdk
160
    mv -f mapster32$exe "$package/mapster32.debug$exe"
160
    mv -f $top/$source/mapster32$exe "$package/mapster32.debug$exe"
161
    package_execute ${basename}-sdk_win32_debug
161
    package_execute ${basename}-sdk_win32_debug
162
162
163
163
164
    # 64-bit debug
164
    # 64-bit debug
165
165
Line 171... Line 171...
171
    verifytargets
171
    verifytargets
172
172
173
    # package game
173
    # package game
174
    package_start
174
    package_start
175
    package_debug win64
175
    package_debug win64
176
    mv -f eduke32$exe "$package/eduke32.debug$exe"
176
    mv -f $top/$source/eduke32$exe "$package/eduke32.debug$exe"
177
    package_execute ${basename}_win64_debug
177
    package_execute ${basename}_win64_debug
178
178
179
    # package sdk
179
    # package sdk
180
    package_start
180
    package_start
181
    package_debug win64
181
    package_debug win64
182
    package_sdk
182
    package_sdk
183
    mv -f mapster32$exe "$package/mapster32.debug$exe"
183
    mv -f $top/$source/mapster32$exe "$package/mapster32.debug$exe"
184
    package_execute ${basename}-sdk_win64_debug
184
    package_execute ${basename}-sdk_win64_debug
185
185
186
186
187
    # 32-bit Lunatic (pre-)release
187
    # 32-bit Lunatic (pre-)release
188
188
Line 197... Line 197...
197
        verifytargets
197
        verifytargets
198
198
199
        # package game
199
        # package game
200
        package_start
200
        package_start
201
        package_game_lunatic
201
        package_game_lunatic
202
        mv -f eduke32$exe "$package/leduke32_PREVIEW$exe"
202
        mv -f $top/$source/eduke32$exe "$package/leduke32_PREVIEW$exe"
203
        package_execute l${basename}-lunatic-PREVIEW_win32
203
        package_execute l${basename}-lunatic-PREVIEW_win32
204
    fi
204
    fi
205
205
206
206
207
    # 32-bit release
207
    # 32-bit release
Line 213... Line 213...
213
    # make sure all the targets were produced
213
    # make sure all the targets were produced
214
    verifytargets
214
    verifytargets
215
215
216
    # package game
216
    # package game
217
    package_start
217
    package_start
218
    mv -f eduke32$exe "$package/eduke32$exe"
218
    mv -f $top/$source/eduke32$exe "$package/eduke32$exe"
219
    package_execute ${basename}_win32
219
    package_execute ${basename}_win32
220
220
221
    # package sdk
221
    # package sdk
222
    package_start
222
    package_start
223
    package_sdk
223
    package_sdk
224
    mv -f mapster32$exe "$package/mapster32$exe"
224
    mv -f $top/$source/mapster32$exe "$package/mapster32$exe"
225
    package_execute ${basename}-sdk_win32
225
    package_execute ${basename}-sdk_win32
226
226
227
227
228
    # 64-bit release
228
    # 64-bit release
229
229
Line 234... Line 234...
234
    # make sure all the targets were produced
234
    # make sure all the targets were produced
235
    verifytargets
235
    verifytargets
236
236
237
    # package game
237
    # package game
238
    package_start
238
    package_start
239
    mv -f eduke32$exe "$package/eduke32$exe"
239
    mv -f $top/$source/eduke32$exe "$package/eduke32$exe"
240
    package_execute ${basename}_win64
240
    package_execute ${basename}_win64
241
241
242
    # package sdk
242
    # package sdk
243
    package_start
243
    package_start
244
    package_sdk
244
    package_sdk
245
    mv -f mapster32$exe "$package/mapster32$exe"
245
    mv -f $top/$source/mapster32$exe "$package/mapster32$exe"
246
    package_execute ${basename}-sdk_win64
246
    package_execute ${basename}-sdk_win64
247
247
248
248
249
    # clean up
249
    # clean up
250
250