Rev 17936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17936 | Rev 18044 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | exit |
12 | exit |
13 | fi |
13 | fi |
14 | 14 | ||
15 | cd `dirname $0` |
15 | cd `dirname $0` |
16 | 16 | ||
17 | echo " |
17 | echo "WIMS must be compiled to make a fully functional distribution." |
18 | echo "Do you want to compile now ? (y/n)? [y] " |
18 | echo "Do you want to compile now ? (y/n)? [y] " |
19 | read ans |
19 | read ans |
20 | if [ "$ans" = "n" ] || [ "$ans" = "N" ]; then |
20 | if [ "$ans" = "n" ] || [ "$ans" = "N" ]; then |
21 | echo "** Continuing without compilation. Assume you did it already.." |
21 | echo "** Continuing without compilation. Assume you did it already.." |
22 | else |
22 | else |
Line 29... | Line 29... | ||
29 | rm -Rf $target/* |
29 | rm -Rf $target/* |
30 | 30 | ||
31 | echo "** Export repo in $target/wims" |
31 | echo "** Export repo in $target/wims" |
32 | cd `dirname $0` |
32 | cd `dirname $0` |
33 | svn export . $target/wims |
33 | svn export . $target/wims |
- | 34 | echo "** copy src/configure" |
|
- | 35 | cp src/configure $target/wims/src |
|
- | 36 | ||
34 | cd $target/wims |
37 | cd $target/wims |
35 | # git clone --depth 1 your_repo_url |
38 | # git clone --depth 1 your_repo_url |
36 | # rm -rf .git |
39 | # rm -rf .git |
37 | 40 | ||
38 | # disable "maintainer-only" extensions in the exported version : don't run |
41 | # disable "maintainer-only" extensions in the exported version : don't run |
39 | # autoconf / autoheader |
42 | # autoconf / autoheader |
40 | rm -f .wims_maintainer_mode |
43 | rm -f .wims_maintainer_mode |
41 | 44 | ||
42 | # call script for permissions |
45 | # call script for permissions |
43 | bin/changepermissions |
46 | bin/changepermissions |
44 | 47 | ||
45 | echo "** Insert current version number in README.template" |
48 | echo "** Insert current version number in README.template" |
46 | 49 | ||
47 | sed -e "s/WIMS_VERSION/$version/" $target/wims/README.template > $target/wims/README |
50 | sed -e "s/WIMS_VERSION/$version/" $target/wims/README.template > $target/wims/README |
48 | rm -f $target/wims/README.template |
51 | rm -f $target/wims/README.template |
49 | cp $target/wims/README $target/wims/public_html/README |
52 | cp $target/wims/README $target/wims/public_html/README |
50 | 53 | ||
51 | #echo "** Create configure file using autoconf" |
54 | #echo "** Create configure file using autoconf" |
52 | #cd $target/wims/src; autoconf; autoheader |
55 | #cd $target/wims/src; autoconf; autoheader |
53 | - | ||
54 | echo "** Remove temporary files and wimstest directory" |
56 | echo "** Remove temporary files and wimstest directory" |
55 | rm -Rf *.cache *.log 2>/dev/null |
57 | rm -Rf *.cache *.log 2>/dev/null |
56 | rm $target/wims/mkdistsvn |
58 | rm $target/wims/mkdistsvn |
57 | rm -rf $target/wims/wimstest |
59 | rm -rf $target/wims/wimstest |
58 | rm -rf $target/wims/public_html/modules/moduletest |
60 | rm -rf $target/wims/public_html/modules/moduletest |