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