#!/bin/sh

# This Bourne or Korn Shell script runs mmg with predefined paths.

# These are the directories in which you installed MuPAD

# MuPAD_ROOT_PATH is the root directory of the MuPAD-System  
# MuPAD_BIN       is the directory of the MuPAD programms

SYSINFO=`$MuPAD_ROOT_PATH/share/bin/sysinfo`
INCLUDE=$MuPAD_ROOT_PATH/share/mmg/include
MMG_PROG=$MuPAD_ROOT_PATH/$SYSINFO/bin/mmg

# This ensures that mmg will find all needed files.

$MMG_PROG "$@" -I$INCLUDE/kernel -I$INCLUDE/pari -I$INCLUDE/mmt

