lua-users home
lua-l archive

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


On 1/18/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > - 'make install' still does not create the module directories.
> >   It's the duty of the core package to create the module
> >   directories and the duty of the add-on (module) packages to put
> >   modules into them:
> >
> > INSTALL_LMOD= $(INSTALL_TOP)/share/lua/5.1
> > INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/5.1
>
> I've heard you the first time, but I still don't know how to do this
> consistently with what is in luaconf.h. I could run "gcc -E" on a fake
> program to extract the final values of LUA_LDIR and LUA_CDIR, but how
> portable would that be?

Well... after compilation, Lua knows them. How about a simple script
to make the directories?

Ben