[erlang-questions] Using the -M dependencies generator of erlc

Stavros Aronis aronisstav@REDACTED
Sun Apr 3 11:48:51 CEST 2011


Hi!

I've been trying to make Dialyzer's makefile use the new functionality
added in R14B02 to erlc: "Dependency generation for Makefiles has been
added to the compiler and erlc. See the manual pages for compile and
erlc."

What I've already done can be checked here:
https://github.com/aronisstav/otp/commit/67e07a

What troubles me is whether this "heavy pollution" of the ebin
directory with .Pbeam files is really required for this to work. Is
there somewhere an example of how one can properly use this? If this
is the correct way, should I move the Pbeam exclusion rule to the root
.gitignore file?

Stavros Aronis



More information about the erlang-questions mailing list