lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Luiz,
>> I just came (finally) to merge the 5.1w3 -> 5.1w4 changes for lua into
>> my archive for Aranha only to discover that there's been a huge
>> rearrangement in the src/ directory.

LHdF> This is the new layout. It allows for much simpler Makefiles, avoiding
LHdF> recursive makes.

I'm building lua with SCons.
And I can say that the old layout fitted, well, "a little" better for
me.
With the old layout I've been enumerating files for every logical part
of lua source(lib, lualib, interpreter) with a single line of python
code(e.g. os.listdir('src/lib')). Now I must copy list of '.o' files from
Makefile. Which is much less robust(I should modify my SConstruct file
for every new version of lua I evaluate - in case something is changed
in files set).


Best regards,
 Kerim                            mailto:warkid@hotbox.ru


Wednesday, February 16, 2005, 11:13:07 PM, you wrote:

>> I just came (finally) to merge the 5.1w3 -> 5.1w4 changes for lua into
>> my archive for Aranha only to discover that there's been a huge
>> rearrangement in the src/ directory.

LHdF> This is the new layout. It allows for much simpler Makefiles, avoiding
LHdF> recursive makes.

LHdF> Like I said in the announcement, the main change in 5.1w4 is the simplification
LHdF> of the Makefiles. They look much simpler and at the same time are more powerful
LHdF> (in the Lua tradition). We're pretty happy with the change. I hope others are
LHdF> as well (not having seen any complaints here yet).

LHdF> The process is now clearly separated into a build step and a install step.
LHdF> The build happens completely inside src/. The installation is done at your
LHdF> selected location. You can get the previous arrangement by doing "make local"
LHdF> as explained in INSTALL. So, the best of both worlds.
LHdF> --lhf