| Line | |
|---|
| 1 | |
|---|
| 2 | SOURCEDIR=$1 |
|---|
| 3 | TARBALL=$2 |
|---|
| 4 | BUILDDIR=$PWD |
|---|
| 5 | |
|---|
| 6 | make clean |
|---|
| 7 | make >makeresult.txt |
|---|
| 8 | sh $SOURCEDIR/build/extract-used-source-list.sh >used-source-list.txt |
|---|
| 9 | sh $SOURCEDIR/build/extract-all-source-list.sh $SOURCEDIR >all-source-list.txt |
|---|
| 10 | python $SOURCEDIR/build/build-ignore-list.py >ignore-sources.txt |
|---|
| 11 | cd $SOURCEDIR |
|---|
| 12 | find . -type d -empty | xargs rm -rf |
|---|
| 13 | rm -rf libs/pixertool libs/webcam |
|---|
| 14 | find . -name '*webcam*' xargs rm -rf |
|---|
| 15 | find . -name '*ffmpeg*' xargs rm -rf |
|---|
| 16 | echo tar -c -X $BUILDDIR/ignore-sources.txt --exclude-vcs -f $TARBALL ./ |
|---|
| 17 | tar -c -X $BUILDDIR/ignore-sources.txt --exclude-vcs -f $TARBALL ./ |
|---|
| 18 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.