name clash when building docs on MAC OSX

4 views
Skip to first unread message

kim shrier

unread,
Apr 13, 2012, 8:52:17 PM4/13/12
to Zotonic developers
Hello,

I am building zotonic on MAC OSX 10.7.3. The file system on my
machine is the default one, hfs+ with journaling, which is a case
preserving but case insensitive file system. When doing a "make docs"
command at the top level zotonic directory, it runs into an error
because it is trying to create a directory in the doc directory named
"install" and there is already a file in the doc directory named
"INSTALL". From the hfs+ point of view, this is the same file name.
I renamed INSTALL to INSTALL.plain and make docs works.

Kim

Arjan Scherpenisse

unread,
Apr 14, 2012, 5:38:25 AM4/14/12
to zotonic-d...@googlegroups.com
Hi Kim,

thanks for the report!
As it turns out, the "make docs" command was actually not supposed to be
used that way. I committed a fix in which the "docs" target of the
Makefile calls the "zotonic generate-edoc" command, which is the correct
way of generating the documentation.

This will be part of the next bugfix release of 0.8. The diff of makefile:

- @erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
+ bin/zotonic generate-edoc


Arjan

Reply all
Reply to author
Forward
0 new messages