[724581c] | 1 | #!/bin/sh |
---|
[1d8b37] | 2 | TARVERSION=4.1.0p2 |
---|
| 3 | VERSION=4.1.0 |
---|
[5afddc] | 4 | export VERSION TARVERSION |
---|
[724581c] | 5 | |
---|
| 6 | git archive --prefix=singular-$VERSION/ HEAD |tar xf - |
---|
| 7 | mkdir singular-$VERSION/doc |
---|
| 8 | cp doc/*.man singular-$VERSION/doc/. |
---|
[2524e4] | 9 | cp doc/singular.idx singular-$VERSION/doc/. |
---|
[d336ee3] | 10 | if test -e doc/doc.tbz2 |
---|
[fe8ff2] | 11 | then |
---|
[d336ee3] | 12 | cp doc/doc.tbz2 singular-$VERSION/doc/. |
---|
[fe8ff2] | 13 | fi |
---|
| 14 | |
---|
[6b08c9e] | 15 | command rm singular-$VERSION/.gdbinit singular-$VERSION/*/.gdbinit singular-$VERSION/*/*/.gdbinit singular-$VERSION/*/*/*/.gdbinit |
---|
[1a1f34b] | 16 | command rm singular-$VERSION/IntegerProgramming/README |
---|
[fd1c508] | 17 | command rm -rf singular-$VERSION/modules |
---|
[1b9fe1] | 18 | command rm -rf singular-$VERSION/factory/old |
---|
[6b08c9e] | 19 | cd singular-$VERSION |
---|
| 20 | ./autogen.sh |
---|
| 21 | cd .. |
---|
[1a1f34b] | 22 | command rm -rf singular-$VERSION/autom4te.cache |
---|
| 23 | command rm -rf singular-$VERSION/*/autom4te.cache |
---|
| 24 | command rm -rf singular-$VERSION/*/*/autom4te.cache |
---|
| 25 | command rm -rf singular-$VERSION/omalloc/Misc |
---|
| 26 | command rm -rf singular-$VERSION/Singular/LIB/surfex |
---|
| 27 | command rm -rf singular-$VERSION/Singular/cnf2ideal.py |
---|
| 28 | command rm -rf singular-$VERSION/kernel/old singular-$VERSION/kernel/sample |
---|
| 29 | command rm -rf singular-$VERSION/dox/Doxyfile.html.all singular-$VERSION/dox/Doxyfile.in1 singular-$VERSION/dox/Doxyfile.latex.short singular-$VERSION/dox/readme |
---|
| 30 | command rm singular-$VERSION/factory/ConwayList.txt |
---|
| 31 | command rm -rf singular-$VERSION/logo singular-$VERSION/standalone.test singular-$VERSION/templates singular-$VERSION/tests |
---|
[1550e4d] | 32 | cp redhat/singular.spec singular-$VERSION/redhat/singular.spec |
---|
[61141fd] | 33 | cp /tmp2/wawa-i/share/singular/LIB/all.lib singular-$VERSION/Singular/LIB/. |
---|
[5afddc] | 34 | tar cf singular-$TARVERSION.tar singular-$VERSION |
---|
| 35 | gzip -9 -f singular-$TARVERSION.tar |
---|
[724581c] | 36 | command rm -rf singular-$VERSION |
---|