source: git/make_tar.sh @ fe8ff2

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