Updated log names to match script names.
[tangerine.git] / scripts / nightly / pkg / sources-all
blobf5d8d3c79fde7e1147fbe5e9841aadefbf18f66b
1 #!/bin/zsh
2 # Creates source packages.
4 source $SP/setup
5 setl sources-all.log
7 ARCHIVE_BASE=$ARCHIVE_BASE/Sources
9 printi "Creating source packages..."
10 cd $SOURCE_ROOT
12 printi "Creating AROS source package..."
13 PACKAGE=$BASENAME-source
14 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
16 move $SOURCE_AROS $PACKAGE
17 move $SOURCE_NECESSARY $PACKAGE/contrib
18 archive $ARCHIVE $PACKAGE
19 move $PACKAGE/contrib $SOURCE_NECESSARY
20 move $PACKAGE $SOURCE_AROS
22 printi "Creating contrib source package..."
23 PACKAGE=$BASENAME-contrib-source
24 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
26 move $SOURCE_CONTRIB $PACKAGE
27 copy $SOURCE_AROS/LICENSE $PACKAGE
28 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
29 archive $ARCHIVE $PACKAGE
30 move $PACKAGE $SOURCE_CONTRIB
32 printi "Creating documentation source package..."
33 PACKAGE=$BASENAME-docs-source
34 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
36 move $SOURCE_DOCS $PACKAGE
37 copy $SOURCE_AROS/LICENSE $PACKAGE
38 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
39 archive $ARCHIVE $PACKAGE
40 move $PACKAGE $SOURCE_DOCS
42 cd $ROOT
43 resetl