Deb file from sh script
<p>Im trying to establish if it possible to create a deb package for the following app:</p>

<p><a href="http://openfoam.org/download/4-0-source/" rel="nofollow">http://openfoam.org/download/4-0-source/</a></p>

<p>It uses an Allmake shell script which contains various standard shell commands and wmake commands to compile the source.  wmake appears to be specific to this application but does call make:</p>

<p><a href="http://www.cfdsupport.com/OpenFOAM-Training-by-CFD-Support/node25.html" rel="nofollow">http://www.cfdsupport.com/OpenFOAM-Training-by-CFD-Support/node25.html</a>
<a href="https://github.com/OpenFOAM/OpenFOAM-2.1.x/blob/master/wmake/wmake" rel="nofollow">https://github.com/OpenFOAM/OpenFOAM-2.1.x/blob/master/wmake/wmake</a></p>

<p>Is it possible to call the shell script from within a debian/rules file? or is there a better way of doing this if it is indeed possible?</p>

<p>Any assistance is much appreciated.</p>