mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 12:28:21 +01:00
Support the conventional DESTDIR and prefix variables
Many packaging systems rely on them, they are described here: - http://www.gnu.org/prep/standards/standards.html#index-prefix - http://www.gnu.org/prep/standards/standards.html#DESTDIR
This commit is contained in:
parent
e3e0dee639
commit
dcb92d6268
10
config
10
config
@ -27,11 +27,15 @@ UNIX_SO=unix.$(EXT)
|
||||
#------
|
||||
# Top of your Lua installation
|
||||
# Relative paths will be inside the src tree
|
||||
#
|
||||
|
||||
DESTDIR=
|
||||
prefix=/usr/local
|
||||
top=$(DESTDIR)$(prefix)
|
||||
|
||||
#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
|
||||
#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
|
||||
INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
|
||||
INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
|
||||
INSTALL_TOP_SHARE=$(top)/share/lua/5.1
|
||||
INSTALL_TOP_LIB=$(top)/lib/lua/5.1
|
||||
|
||||
INSTALL_DATA=cp
|
||||
INSTALL_EXEC=cp
|
||||
|
Loading…
Reference in New Issue
Block a user