source: git/make_tar.sh @ 662704

fieker-DuValspielwiese
Last change on this file since 662704 was 6f8707, checked in by Hans Schoenemann <hannes@…>, 4 years ago
fix: typo
  • Property mode set to 100755
File size: 1.7 KB
RevLine 
[4de3dc]1#!/usr/bin/env bash
2# Hannes helper to build tar files for the ftp server
3
4set -e
[2570f08]5
[2e69cf]6TARVERSION=4.1.3p2
[4da6ec]7VERSION=4.1.3
[6f8707]8INSTALL_DIR=/tmp2/wawa-i
[2570f08]9BUILD_DIR=/tmp2/wawa
10export VERSION TARVERSION INSTALL_DIR BUILD_DIR
[724581c]11
12git archive --prefix=singular-$VERSION/ HEAD |tar xf -
13mkdir singular-$VERSION/doc
14cp doc/*.man singular-$VERSION/doc/.
[2524e4]15cp doc/singular.idx singular-$VERSION/doc/.
[d336ee3]16if test -e doc/doc.tbz2
[fe8ff2]17then
[d336ee3]18  cp doc/doc.tbz2 singular-$VERSION/doc/.
[fe8ff2]19fi
20
[6b08c9e]21command rm singular-$VERSION/.gdbinit singular-$VERSION/*/.gdbinit singular-$VERSION/*/*/.gdbinit singular-$VERSION/*/*/*/.gdbinit
[1a1f34b]22command rm singular-$VERSION/IntegerProgramming/README
[fd1c508]23command rm -rf singular-$VERSION/modules
[1b9fe1]24command rm -rf singular-$VERSION/factory/old
[6b08c9e]25cd singular-$VERSION
26./autogen.sh
27cd ..
[1a1f34b]28command rm -rf singular-$VERSION/autom4te.cache
29command rm -rf singular-$VERSION/*/autom4te.cache
30command rm -rf singular-$VERSION/*/*/autom4te.cache
31command rm -rf singular-$VERSION/omalloc/Misc
32command rm -rf singular-$VERSION/Singular/LIB/surfex
33command rm -rf singular-$VERSION/Singular/cnf2ideal.py
34command rm -rf singular-$VERSION/kernel/old singular-$VERSION/kernel/sample
35command rm -rf singular-$VERSION/dox/Doxyfile.html.all singular-$VERSION/dox/Doxyfile.in1 singular-$VERSION/dox/Doxyfile.latex.short singular-$VERSION/dox/readme
36command rm singular-$VERSION/factory/ConwayList.txt
37command rm -rf singular-$VERSION/logo  singular-$VERSION/standalone.test  singular-$VERSION/templates  singular-$VERSION/tests
[2570f08]38cp $BUILD_DIR/redhat/singular.spec singular-$VERSION/redhat/singular.spec
39cp $INSTALL_DIR/share/singular/LIB/all.lib  singular-$VERSION/Singular/LIB/.
[5afddc]40tar cf singular-$TARVERSION.tar singular-$VERSION
41gzip -9 -f singular-$TARVERSION.tar
[724581c]42command rm -rf singular-$VERSION
Note: See TracBrowser for help on using the repository browser.