aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/util.csh/mksysgen
blob: 770bfd3c3153827a08d29bb5bf873bd8e5c44e75 (plain) (blame)
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
#!/bin/csh -f
#

if (! $?iraf) then
    #echo ""
    #echo "Error:  You must have the iraf env variable defined !"
    #echo ""
    #exit 1

    set  iraf 	= $cwd/
endif


set  c_start	= `date`
/bin/rm -f spool */spool


$iraf/util/mkclean				# clean old binaries

cd $iraf/unix					# NOVOS bootstrap
source hlib/irafuser.csh
sh -x mkpkg.sh |& tee -a spool

cd $iraf/					# build NOVOS
mkpkg |& tee -a spool

cd $iraf/unix					# VOS bootstrap
source hlib/irafuser.csh
sh -x mkpkg.sh |& tee -a spool

cd $iraf/vendor					# build vendor libs
(make all |& tee -a ../spool.final)

cd $iraf/					# build core system
mkpkg |& tee -a ../spool.final

cd $iraf/noao					# build NOAO package
setenv noao $cwd/
mkpkg -p noao |& tee -a ../spool.final

/bin/rm -rf bin*/pkgconfig			# misc cleanup

set  c_end	= `date`


echo ""
echo ""
echo ""
echo "Start:  $c_start"
echo "  End:  $c_end"