#!/bin/bash set -e pushd csharp/mDoc >/dev/null ln -sf /usr/share/mbuild/makefile . echo "SOURCES=\\" >> make.pre find . -name "*.cs" -exec echo " "{}" \\" >> make.pre \; echo >> make.pre echo "CSLIBS = -r:../mDocLib/mdoclib.dll" >> make.pre popd >/dev/null pushd csharp/mutil >/dev/null ln -sf /usr/share/mbuild/makefile . echo "SOURCES=\\" >> make.pre find . -name "*.cs" -exec echo " "{}" \\" >> make.pre \; echo >> make.pre popd >/dev/null pushd csharp/mDocLib >/dev/null ln -sf /usr/share/mbuild/makefile . echo "SOURCES=\\" >> make.pre find . -name "*.cs" -exec echo " "{}" \\" >> make.pre \; echo >> make.pre echo "CSLIBS = -r:../mutil/mutil.dll" >> make.pre popd >/dev/null