source: issm/trunk/externalpackages/mtoc/install.sh@ 1518

Last change on this file since 1518 was 1518, checked in by Mathieu Morlighem, 16 years ago

not needed

File size: 355 bytes
Line 
1#!/bin/bash
2
3#version of mtoc
4name=`echo *.tgz | sed 's/\.tgz//g'`
5echo $name
6
7#Some cleanup
8rm -rf src install $name
9
10#Create src and install directories
11mkdir src install
12
13#Untar
14tar -zxvf $name.tgz
15
16#Move mtoc to src directory
17mv $name/* src/
18rm -rf $name
19
20#Compile mtoc
21cd src
22rm -rf mtoc mtoc.exe
23
24flex mtoc.l
25gcc -o ../install/mtoc lex.yy.c -lfl
Note: See TracBrowser for help on using the repository browser.