source: git/make_tar.sh @ d336ee3

jengelh-datetimespielwiese
Last change on this file since d336ee3 was d336ee3, checked in by Hans Schoenemann <hannes@…>, 7 years ago
fix: installation/location of help files (idx,hlp,htm)
  • Property mode set to 100644
File size: 1.4 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/doc.tbz2
9then
10  cp doc/doc.tbz2 singular-$VERSION/doc/.
11fi
12
13command rm singular-$VERSION/.gdbinit singular-$VERSION/*/.gdbinit singular-$VERSION/*/*/.gdbinit singular-$VERSION/*/*/*/.gdbinit
14command rm singular-$VERSION/IntegerProgramming/README
15command rm -rf singular-$VERSION/modules
16command rm -rf singular-$VERSION/factory/old
17cd singular-$VERSION
18./autogen.sh
19cd ..
20command rm -rf singular-$VERSION/autom4te.cache
21command rm -rf singular-$VERSION/*/autom4te.cache
22command rm -rf singular-$VERSION/*/*/autom4te.cache
23command rm -rf singular-$VERSION/omalloc/Misc
24command rm -rf singular-$VERSION/Singular/LIB/surfex
25command rm -rf singular-$VERSION/Singular/dyn_modules/*/test*sh
26command rm -rf singular-$VERSION/Singular/cnf2ideal.py
27command rm -rf singular-$VERSION/kernel/old singular-$VERSION/kernel/sample
28command rm -rf singular-$VERSION/dox/Doxyfile.html.all singular-$VERSION/dox/Doxyfile.in1 singular-$VERSION/dox/Doxyfile.latex.short singular-$VERSION/dox/readme
29command rm singular-$VERSION/factory/ConwayList.txt
30command rm -rf singular-$VERSION/logo  singular-$VERSION/standalone.test  singular-$VERSION/templates  singular-$VERSION/tests
31tar cf singular-$VERSION.tar singular-$VERSION
32gzip -9 -f singular-$VERSION.tar
33command rm -rf singular-$VERSION
Note: See TracBrowser for help on using the repository browser.