On Windows, it requires to correct/add yaws include dir in
make_erlyweb.erl and Emakefile and it works.
The problem arise when some one need something like that:
erlyweb:compile("./myapp", [{i,"d:/some/include"}])
erlyweb_compile:compile will seak directory "./myapp/src/d:/some/
include" instead of "d:/some/include".
The above code works on any OS, for absolute and relative paths as
well.
-module(erlyweb_compile).
...
compile(AppDir, Options) ->
AppDir1 = filename:absname(AppDir)
IncludePaths = [ filename:join(filename:join(AppDir, "src") ,X) ||
{i, X} <-Options],
...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---