90_misc.sh 1.14 KB
Newer Older
1
2
3
4
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh

5
6
cd ${DIR}/../misc || exit 1

7
8
9
# taste-config
mkdir -p ${PREFIX}/bin
sed -e "s:INSTALL_PREFIX:${PREFIX}:g" taste-config.pl > taste-config.pl.tmp
10
install -m 755 taste-config.pl.tmp ${PREFIX}/bin/taste-config
11
rm -f taste-config.pl.tmp
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# TASTE-Directives.asn
mkdir -p ${PREFIX}/share/taste
cp taste-directives/TASTE-Directives.asn ${PREFIX}/share/taste/TASTE-Directives.asn || exit 1

# Gnuplot
cp gnuplot/driveGnuPlotsStreams.pl ${PREFIX}/bin/taste-gnuplot-streams

# PeekPoke component
mkdir -p ${PREFIX}/share/peekpoke
mkdir -p ${PREFIX}/share/peekpoke/component
cp peek-poke/peekpoke.py ${PREFIX}/share/peekpoke/peekpoke.py
cp peek-poke/PeekPoke.glade ${PREFIX}/share/peekpoke/PeekPoke.glade
for i in DataView.aadl DataView.asn export_PeekPoke.aadl taste_probe.zip ; do \
26
        cp peek-poke/component/$i ${PREFIX}/share/peekpoke/component/$i ; \
27
28
done

Thanassis Tsiodras's avatar
Thanassis Tsiodras committed
29
30
31
# Helper scripts
cp -u helper-scripts/* ${PREFIX}/bin/

32
33
34
35
# Ellidiss - point the PATH to the repo
REAL_ELLIDISS=$(realpath "${DIR}/../ellidiss-GUI/TASTE-linux/bin")
PATH_CMD='export PATH=$PATH:'"${REAL_ELLIDISS}"
UpdatePATH
Thanassis Tsiodras's avatar
Thanassis Tsiodras committed
36