aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2011-06-17 14:36:20 -0700
committerSam Roberts <vieuxtech@gmail.com>2012-04-11 13:45:58 -0700
commitdcb92d62681be91686b4b5211dbd419b95d81e06 (patch)
treeb21bd83e3b93cb4a49dafad86f82cd8af07da82c
parente3e0dee639309b0496b3955051269fddbd397675 (diff)
downloadluasocket-dcb92d62681be91686b4b5211dbd419b95d81e06.tar.gz
luasocket-dcb92d62681be91686b4b5211dbd419b95d81e06.tar.bz2
luasocket-dcb92d62681be91686b4b5211dbd419b95d81e06.zip
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
-rw-r--r--config10
1 files changed, 7 insertions, 3 deletions
diff --git a/config b/config
index 49958eb..62e52ef 100644
--- a/config
+++ b/config
@@ -27,11 +27,15 @@ UNIX_SO=unix.$(EXT)
27#------ 27#------
28# Top of your Lua installation 28# Top of your Lua installation
29# Relative paths will be inside the src tree 29# Relative paths will be inside the src tree
30# 30
31DESTDIR=
32prefix=/usr/local
33top=$(DESTDIR)$(prefix)
34
31#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 35#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
32#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 36#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
33INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 37INSTALL_TOP_SHARE=$(top)/share/lua/5.1
34INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 38INSTALL_TOP_LIB=$(top)/lib/lua/5.1
35 39
36INSTALL_DATA=cp 40INSTALL_DATA=cp
37INSTALL_EXEC=cp 41INSTALL_EXEC=cp