basho/lager — pull request #82 by legoscia (2012-10-11 17:56:57+00:00)
Title: Use -include instead of -include_lib

As `lager_default_formatter` uses `include_lib` instead of `include`, it's not possible to compile lager from a directory not called "lager" or "lager-VSN":

==> Entering directory `/private/tmp/foobar'
==> foobar (compile)
src/lager_default_formatter.erl:22: can't find include lib "lager/include/lager.hrl"
make: *** [compile] Error 1

(Unfortunately, our build system has an appetite for inventing names when it checks code out of repositories...)

This patch changes it to use a plain `include` instead.