File: inst

package info (click to toggle)
snappea 3.0d3-23
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,900 kB
  • ctags: 3,582
  • sloc: ansic: 33,469; sh: 8,565; python: 7,623; makefile: 242
file content (41 lines) | stat: -rwxr-xr-x 1,645 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
#
# Installation file for SnapPeaC.s?. Requires the file Makefile.pre.in
# (which is included in the distribution of python 1.5).
#
# Peter Brinkmann (brinkman@math.utah.edu), 02/12/2000
# $Id: inst,v 1.5 2000-02-17 17:39:05-07 brinkman Exp brinkman $

if [ -f Makefile.pre.in ]
then
        echo '***********************************************************'
        echo '* This is going to take a few minutes. Please be patient. *'
        echo '***********************************************************'

        rm -f SnapPeaC.s?
        make -f Makefile.pre.in boot
        make

        if [ -f SnapPeaC.s? ]
        then
                mv SnapPeaC.s? SnapPeaPython
                make distclean

                echo '*******************************************************'
                echo '* Done! You can find the library "SnapPeaC.s?" in the *'
                echo '* directory "SnapPeaPython".                          *'
                echo '*******************************************************'
        else
                make distclean

                echo '******************************************'
                echo '* Oops! Something went terribly wrong... *'
                echo '******************************************'
        fi
else
        echo '**************************************************************'
        echo '* Please choose the appropriate file from the list below and *'
        echo '* copy it into this directory.                               *'
        echo '**************************************************************'
        locate config/Makefile.pre.in
fi