On 7 February 2013 11:41, Reuben Thomas <[email protected]> wrote:
> On 7 February 2013 02:09, Hisham <[email protected]> wrote:
>
>> On Wed, Feb 6, 2013 at 8:05 PM, <[email protected]> wrote:
>> > Rockspec for stdlib version 29 attached.
>>
>> Hi, I noticed that the rockspec has a build-time dependency on luadoc.
>> Currently, LuaRocks does not support build-only dependencies, so I
>> think we should either add "luadoc" to the dependencies array of the
>> rockspec or not (re?)generate the documentation during build.
>>
>> How should we proceed?
>
>
> This is a bug in the git repository (the first time I've found a git
> setting I could classify as a bug!): the documentation files are ignored
> and not checked in (because the release branch inherited its .gitignore
> files from the source branch, where the documentation, being generated
> files, is correctly ignored), and hence the documentation is regenerated
> when the build is run.
>
> I'll fix this and make a new release; thanks for the report.
>
In fact, since the only fix needed is a minor one to the build system, I've
simply fixed it and made no new release. You should now find that
installing the rock no longer runs luadoc (at least, it doesn't for me).
As well as removing the offending patterns from the relevant .gitignore
file, there was one other problem: std.lua (which is just a wrapper to load
the standard modules) was generated by configure, which then triggered a
doc rebuild. Fortunately it's straightforward instead to add a dependency
to the Makefile to build it, so that it's only built when necessary
(really, I think it's wrong to ship a file which is built by configure, so
the problem is not a surprise).
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers