#!/bin/bash
# $Id: xise_msg_summary 1172 2019-06-29 07:27:24Z mueller $
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2016-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
#  Revision History:
# Date         Rev  Vers    Comment
# 2016-06-05   772   1.0    Initial version
#

for f in `find -name "*.imfset" | sort`
do
  dnam=`dirname $f`
  bnam=`basename $f .imfset`
  echo ""
  echo "####################################################################"
  echo "### ${dnam}/${bnam} ###"
  pushd ${dnam} > /dev/null
  if [ ! -r ${bnam}_xst.log ]
  then
    echo No ${bnam}_xst.log available
  else
    make ${bnam}.mfsum
  fi
  popd > /dev/null
done
