Last change
on this file since 34199 was 34199, checked in by ak19, 4 years ago |
A makedists.sh script for gstika to make the cutdown zip and tarball. Updated the one for tesseract. I'm not sure what the CASCADE-MAKE makedist includes (yet), and it may be different for gnome-lib. But I have so far followed the manual steps for Imagemagick in creating the cutdown binary-only distribution tarballs and carefully controlling what goes in there (which is different for each of these gs extensions).
|
-
Property svn:executable
set to
*
|
File size:
734 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | gsExt="gstika"
|
---|
4 | echo "Creating tarball and zip for $gsExt"
|
---|
5 |
|
---|
6 | if [ ! -d $gsExt ]; then
|
---|
7 |
|
---|
8 | cp -r java $gsExt
|
---|
9 |
|
---|
10 | # remove the src subfolder and the makeGSTikaCLI.sh compile script before packaging it up
|
---|
11 | rm -rf $gsExt/src
|
---|
12 | rm $gsExt/makeGSTikaCLI.sh
|
---|
13 | else
|
---|
14 | echo "Folder $gsExt already exists. Using existing."
|
---|
15 | echo "For creating a fresh tarball and zip, delete the existing $gsExt folder"
|
---|
16 | echo "at this script level ($0) first."
|
---|
17 | fi
|
---|
18 |
|
---|
19 | # just try to create it for the OS
|
---|
20 | if [ -f "$gsExt.tar.gz" ]; then
|
---|
21 | rm "$gsExt.tar.gz"
|
---|
22 | fi
|
---|
23 | tar -cvzf "$gsExt.tar.gz" $gsExt
|
---|
24 |
|
---|
25 | if [ -f "$gsExt.zip" ]; then
|
---|
26 | rm "$gsExt.zip"
|
---|
27 | fi
|
---|
28 | zip -r "$gsExt.zip" $gsExt
|
---|
29 |
|
---|
30 | #rm -rf $gsExt
|
---|
31 |
|
---|
32 | echo "Done making $gsExt tarball/zip"
|
---|
33 | echo ""
|
---|
Note:
See
TracBrowser
for help on using the repository browser.