source: git/make_tar.sh @ 112f6ef

spielwiese
Last change on this file since 112f6ef was 61141fd, checked in by Hans Schoenemann <hannes@…>, 7 years ago
4.0.3p5
  • Property mode set to 100644
File size: 1.6 KB
Line 
1#!/bin/sh
2TARVERSION=4.0.3p5
3VERSION=4.0.3
4export VERSION TARVERSION
5
6git archive --prefix=singular-$VERSION/ HEAD |tar xf -
7mkdir singular-$VERSION/doc
8cp doc/*.man singular-$VERSION/doc/.
9cp doc/singular.idx singular-$VERSION/doc/.
10if test -e doc/doc.tbz2
11then
12  cp doc/doc.tbz2 singular-$VERSION/doc/.
13fi
14
15command rm singular-$VERSION/.gdbinit singular-$VERSION/*/.gdbinit singular-$VERSION/*/*/.gdbinit singular-$VERSION/*/*/*/.gdbinit
16command rm singular-$VERSION/IntegerProgramming/README
17command rm -rf singular-$VERSION/modules
18command rm -rf singular-$VERSION/factory/old
19cd singular-$VERSION
20./autogen.sh
21cd ..
22command rm -rf singular-$VERSION/autom4te.cache
23command rm -rf singular-$VERSION/*/autom4te.cache
24command rm -rf singular-$VERSION/*/*/autom4te.cache
25command rm -rf singular-$VERSION/omalloc/Misc
26command rm -rf singular-$VERSION/Singular/LIB/surfex
27command rm -rf singular-$VERSION/Singular/cnf2ideal.py
28command rm -rf singular-$VERSION/kernel/old singular-$VERSION/kernel/sample
29command rm -rf singular-$VERSION/dox/Doxyfile.html.all singular-$VERSION/dox/Doxyfile.in1 singular-$VERSION/dox/Doxyfile.latex.short singular-$VERSION/dox/readme
30command rm singular-$VERSION/factory/ConwayList.txt
31command rm -rf singular-$VERSION/logo  singular-$VERSION/standalone.test  singular-$VERSION/templates  singular-$VERSION/tests
32cp redhat/singular.spec singular-$VERSION/redhat/singular.spec
33cp /tmp2/wawa-i/share/singular/LIB/all.lib  singular-$VERSION/Singular/LIB/.
34tar cf singular-$TARVERSION.tar singular-$VERSION
35gzip -9 -f singular-$TARVERSION.tar
36command rm -rf singular-$VERSION
Note: See TracBrowser for help on using the repository browser.