File: makeone.csh

package info (click to toggle)
emboss 6.6.0%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 571,544 kB
  • sloc: ansic: 460,579; java: 29,439; perl: 13,573; sh: 12,754; makefile: 3,283; csh: 706; asm: 351; xml: 239; pascal: 237; modula3: 8
file content (46 lines) | stat: -rwxr-xr-x 1,262 bytes parent folder | download | duplicates (6)
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
42
43
44
45
46
#!/bin/csh -f


set app = $argv[1]
set script = `which makeone.csh`
#set embosshome = $script:h/..

foreach embosshome (`embossversion -full -auto| grep '^BaseDirectory'`)
#  echo "$embosshome"
end

foreach embosssystem (`embossversion -full -auto| grep '^System:'`)
#  echo "$embosssystem"
end

set rundir = `which embossversion`
set embossint = $rundir:h

foreach embossinst (`embossversion -full -auto| grep '^InstallDirectory'`)
#  echo "$embossinst"
end
#echo "install: $embossinst"
#echo "   home: $embosshome"

cd $embosshome

cd plplot
echo "make PLPLOT"
make -j 4 install |& egrep '^[^ =\[]*:' |& grep -v '^libtool: '
cd ../ajax 
echo "make AJAX"
make -j 4 install |& egrep '^[^ =\[]*:' |& grep -v '^libtool: '
cd ../nucleus
echo "make NUCLEUS"
make -j 4 install |& egrep '^[^ =\[]*:' |& grep -v '^libtool: '
cd ../emboss
echo "make $app"
if ($embosssystem == "CYGWIN_NT-5.1") then
make -j 4 $app.exe |& egrep '^[^ =\[]*:' |& grep -v '^libtool: '
else
make -j 4 $app |& egrep '^[^ =\[]*:' |& grep -v '^libtool: '
endif
echo "install $app"
echo "/bin/sh ../libtool --mode=install /usr/bin/install -c $app $embossinst/bin/$app"
/bin/sh ../libtool --mode=install /usr/bin/install  -c $app $embossinst/bin/$app
cp acd/$app.acd $embossinst/share/EMBOSS/acd/