I was getting this error:
> Scanning dependencies of target ldoc
> make[5]: Leaving directory '/home/user/Vcs/awesome-www/src/.build-host.example.com-x86_64-pc-linux-gnu-6.1.1'
> make[5]: Entering directory '/home/user/Vcs/awesome-www/src/.build-host.example.com-x86_64-pc-linux-gnu-6.1.1'
> lua: cannot open /dev/null/Vcs/ldoc/ldoc.lua: Not a directory
With this custom `ldoc` wrapper:
> lua ~/Vcs/ldoc/ldoc.lua $*