diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /unix/hlib/util.csh/mksysgen | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'unix/hlib/util.csh/mksysgen')
-rwxr-xr-x | unix/hlib/util.csh/mksysgen | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/unix/hlib/util.csh/mksysgen b/unix/hlib/util.csh/mksysgen new file mode 100755 index 00000000..770bfd3c --- /dev/null +++ b/unix/hlib/util.csh/mksysgen @@ -0,0 +1,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" |