source: git/make_tar.sh @ a311b30

spielwiese
Last change on this file since a311b30 was 1a1f34b, checked in by Hans Schoenemann <hannes@…>, 9 years ago
removed unsed files, fixed make_tar.sh and make dist
  • Property mode set to 100644
File size: 1.3 KB
Line 
1#!/bin/sh
2VERSION=4.0.2p1
3export VERSION
4
5git archive --prefix=singular-$VERSION/ HEAD |tar xf -
6mkdir singular-$VERSION/doc
7cp doc/*.man singular-$VERSION/doc/.
8command rm singular-$VERSION/.gdbinit singular-$VERSION/*/.gdbinit singular-$VERSION/*/*/.gdbinit singular-$VERSION/*/*/*/.gdbinit
9command rm singular-$VERSION/IntegerProgramming/README
10command rm -rf singular-$VERSION/modules
11command rm -rf singular-$VERSION/factory/old
12cd singular-$VERSION
13./autogen.sh
14cd ..
15command rm -rf singular-$VERSION/autom4te.cache
16command rm -rf singular-$VERSION/*/autom4te.cache
17command rm -rf singular-$VERSION/*/*/autom4te.cache
18command rm -rf singular-$VERSION/omalloc/Misc
19command rm -rf singular-$VERSION/Singular/LIB/surfex
20command rm -rf singular-$VERSION/Singular/dyn_modules/*/test*sh
21command rm -rf singular-$VERSION/Singular/cnf2ideal.py
22command rm -rf singular-$VERSION/kernel/old singular-$VERSION/kernel/sample
23command rm -rf singular-$VERSION/dox/Doxyfile.html.all singular-$VERSION/dox/Doxyfile.in1 singular-$VERSION/dox/Doxyfile.latex.short singular-$VERSION/dox/readme
24command rm singular-$VERSION/factory/ConwayList.txt
25command rm -rf singular-$VERSION/logo  singular-$VERSION/standalone.test  singular-$VERSION/templates  singular-$VERSION/tests
26tar cf singular-$VERSION.tar singular-$VERSION
27gzip -9 -f singular-$VERSION.tar
28command rm -rf singular-$VERSION
Note: See TracBrowser for help on using the repository browser.