Instructions for building the Cygwin package.

We use the cygport Cygwin package.

$ cd monotone/cygport
$ ln -s monotone.cygport monotone-$NEW-1.cygport
$ ln -s monotone.cygwin.patch monotone-$NEW-1.cygwin.patch

    edit *.cygport and/or *.patch as needed
    add the new version to Port Notes in *.patch

download monotone-$NEW.tar.bz2 from http://www.monotone.ca/downloads.php
    to monotone/cygport directory

    or build dist-gzip, copy to here

$ bunzip2 monotone-$NEW.tar.bz2
$ gzip monotone-$NEW.tar
$ cygport monotone-$NEW-1 all
$ cp monotone-$NEW-1/spkg/monotone.cygwin.patch .

If cygport hangs, it may be due to a parallel make bug. Try the
following:

echo "export MAKEOPTS=-j1" >> ~/.cygport.conf
