rdmd: Clean up the temporary executable file if the build fails

OPTLINK may leave behind a broken executable, although the build failed.
Depending on user options, this .tmp file may reside outside the
rdmd work directory, so clean it up if it is created.
Merge pull request #110 from CyberShadow/rdmd-20140127

rdmd: Clean up the temporary executable file if the build fails
rdmd: Use execv on supported systems
Merge pull request #112 from CyberShadow/rdmd-20140201

rdmd: Use execv on supported systems
rdmd: Fix --dry-run
rdmd_test: Add test for issue 11983
Merge pull request #113 from CyberShadow/rdmd-20140202

rdmd: Fix `--dry-run`, add test for issue 11983
Fix #12149: ".exe" not auto-added with -of on windows.
Merge pull request #114 from Abscissa/master

Fix #12149: ".exe" not auto-added with -of on windows.
Add test-case for Issue 12149 - RDMD -of switch doesn't append .exe to an executable on Windows.
Merge pull request #116 from AndrejMitrovic/Test12149

Add test-case for Issue 12149 - RDMD -of switch doesn't append .exe to an executable on Windows.
Fix Issue 12205: update posix.mak to use local, recently-built druntime and phobos.

This fixes https://d.puremagic.com/issues/show_bug.cgi?id=12205
by adding library/include paths to the locations where druntime
and phobos have been built, plus a flag to prevent/suppress
alignment errors in one of the builds.

In the event that the user wishes to build using the system dmd
instead of the locally-built ../dmd/src/dmd, this is trivial to
achieve by overriding with DMD=dmd.  DFLAGS will also then be
overridden with those from the system dmd.conf.
rdmd: Improve --makedepend test a bit
Add rdmd.1 man page (copied from the dmd repo)
rdmd.1: Add missing options
rdmd: Add --makedepfile option

The idea behind this option is to provide something similar to GCC's -MF
option, which generate a dependency file at the same time it compiles
the program. This is very useful to keep a Makefile with the
dependencies always updated:

-include .deps.mak

prog:
	rdmd --build-only --makedepfile=.deps.mak prog.d

On the first build .deps.mak will be created and afterwards, the only
way the dependencies could change is if prog.d or any of its
dependencies change, in which case a build will be triggered and the new
dependencies file will be generated.
Merge pull request #117 from WebDrake/makefile-dflags

Fix Issue 12205: update posix.mak to use local, recently-built druntime and phobos
Merge pull request #118 from leandro-lucarella-sociomantic/dependfile

rdmd: Add --dependfile option
Move rdmd.1 to a man directory to ease packaging
Merge pull request #119 from leandro-lucarella-sociomantic/man-dir

Move rdmd.1 to a man directory to ease packaging