lua-users home
lua-l archive

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



They may be useful, but not necessarily in downstream packaging.

At least, the way I see it, packaging calls for some sed'ding of Makefile and probably lua_conf.h, and then the normal compilation. Any packaging starts by a clean tgz, fresh from ftp.

-asko

Luiz Henrique de Figueiredo kirjoitti 18.1.2006 kello 2.13:

Since 5.0, the top-level Makefile contains echo, lecho, and pecho targets that were supposed to be helpful for downstream packagers. For instance,
make echo in Lua 5.1 outputs the text below. (make lecho outputs this
data as a Lua program.) Should we keep these targets? Are they useful? Does anyone use them? Will anyone use them, now that they know they exist? :-)
--lhf

% make echo

These are the parameters currently set in src/Makefile to build Lua 5.1:

PLAT = none
CC = gcc
CFLAGS = -O2 -Wall
AR = ar rcu
RANLIB = ranlib
RM = rm -f
MYCFLAGS =
MYLDFLAGS =
MYLIBS =

These are the parameters currently set in Makefile to install Lua 5.1:

PLAT = none
INSTALL_TOP = /usr/local
INSTALL_BIN = /usr/local/bin
INSTALL_INC = /usr/local/include
INSTALL_LIB = /usr/local/lib
INSTALL_MAN = /usr/local/man/man1
INSTALL_EXEC = cp
INSTALL_DATA = cp

See also src/luaconf.h .