File: automakeit

package info (click to toggle)
emboss 6.6.0%2Bdfsg-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 571,584 kB
  • sloc: ansic: 460,579; java: 29,383; perl: 13,573; sh: 12,753; makefile: 3,294; csh: 706; asm: 351; xml: 239; pascal: 237; modula3: 8
file content (57 lines) | stat: -rwxr-xr-x 1,863 bytes parent folder | download | duplicates (10)
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
47
48
49
50
51
52
53
54
55
56
57
#!/bin/csh -x

#######################################
set maillist = "emboss-bug@sanger.ac.uk"

# touch file before deleteing in case it does not exist

touch ~emboss/COMPILEOKAY
rm -f ~emboss/COMPILEOKAY

rm -Rf ~emboss/CURRENT
mkdir  ~emboss/CURRENT
rm -f  ~emboss/*.out
	
~emboss/cvsscripts/makeemboss OSF >&! ~emboss/ALPHA.out 
rsh unst  ~emboss/cvsscripts/makeemboss2 SGI >&! ~emboss/SGI.out &
rsh ics-sparc1 ~emboss/cvsscripts/makeemboss2 SOLARIS  >&! ~emboss/SOLARIS.out & 
rsh ics-linux2 ~emboss/cvsscripts/makeemboss2 LINUX >&! ~emboss/LINUX.out  &
	
wait
rsh unst  ~emboss/cvsscripts/makeembosspure SGI-PURE >&! ~emboss/SGI-PURE.out &
#rsh ics-sparc1 ~emboss/cvsscripts/makeemboss3 SOLARIS_CC  >&! ~emboss/SOLARIS_CC.out & 
rsh ics-linux2 ~emboss/cvsscripts/makeemboss3 LINUX_CC >&! ~emboss/LINUX_CC.out  &
~emboss/cvsscripts/makeemboss3 OSF_CC >&! ~emboss/ALPHA_CC.out &
#wait # no point as the output is not checked.

set ok = "Y"

# Check for the executable seqret (different place than the others)
if(! -e ~emboss/CURRENT/OSF/emboss/emboss/wossname) then
    more ~emboss/$t.out | Mail -s "emboss make failed on OSF" $maillist
    set ok = "N"    
endif

# Check for the executable seqret.
foreach t (SOLARIS SGI LINUX)
  if(! -e ~emboss/CURRENT/$t/EMBOSS-0.0.4/emboss/wossname) then
      more ~emboss/$t.out |  Mail -s "emboss make failed on $t" $maillist
      set ok = "N"
   endif
end

if ($ok == "Y") then
    \cp ~emboss/EMBOSS-[0-9]*.tar.gz ~ftp/pub/EMBOSS/

    echo "~ftp/pub/EMBOSS/*.tar.gz   distribution updated"
    touch ~emboss/COMPILEOKAY
    ~emboss/cvsscripts/automakeembassy
endif
wait
# Check for the executable seqret.
foreach t (SGI-PURE LINUX_CC OSF_CC)
  if(! -e ~emboss/CURRENT/$t/EMBOSS-0.0.4/emboss/wossname) then
      more ~emboss/$t.out |  Mail -s "emboss make failed on $t" $maillist
      set ok = "N"
   endif
end