From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- unix/hlib/util.csh/mksysgen | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 unix/hlib/util.csh/mksysgen (limited to 'unix/hlib/util.csh/mksysgen') 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" -- cgit