This has already been merged into the master branch,
but FYI anyway (Thanks Klacke!)
git fetch git://github.com/jj1bdx/yaws.git jj1bdx-dialyzer-fix
* Targets in `Makefile` of `yaws.plt` and `dialyzer` calls
dialyzer with two target directories, `ebin` and `src`;
this causes the error of duplicate modules.
Checking out the .beam files under `ebin` is sufficient
for dialyzer; `src` is removed.
* Target `mime_type_c.beam` in `src/Makefile` is
superfluous and generates a spurious .beam file in
the `src` directory, so the target is removed.
Also target `charset.def` in `src/Makefile` should be
dependent on `../ebin/mime_type_c.beam`, so this is
also changed from the previous target without the
This patch is tested with Erlang/OTP R15B02
on FreeBSD 9.1-PRERELEASE/amd64.