2012-07-18 15:59:10 +02:00
|
|
|
Do not use a symlink for the binary, simply name if luajit
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
|
|
|
|
Index: b/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2012-10-18 10:56:39 +02:00
|
|
|
@@ -43,8 +43,7 @@
|
2012-07-18 15:59:10 +02:00
|
|
|
INSTALL_MAN= $(INSTALL_SHARE)/man/man1
|
|
|
|
INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
|
|
|
|
|
|
|
|
-INSTALL_TNAME= luajit-$(VERSION)
|
|
|
|
-INSTALL_TSYMNAME= luajit
|
|
|
|
+INSTALL_TNAME= luajit
|
|
|
|
INSTALL_ANAME= libluajit-$(ABIVER).a
|
|
|
|
INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER)
|
|
|
|
INSTALL_SOSHORT= libluajit-$(ABIVER).so
|
2012-10-18 10:56:39 +02:00
|
|
|
@@ -58,7 +57,6 @@
|
2012-07-18 15:59:10 +02:00
|
|
|
INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
|
|
|
|
INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
|
|
|
|
INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
|
|
|
|
-INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME)
|
|
|
|
INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
|
|
|
|
|
|
|
|
INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
|
2012-10-18 10:56:39 +02:00
|
|
|
@@ -120,13 +118,6 @@
|
2012-07-18 15:59:10 +02:00
|
|
|
$(RM) $(FILE_PC).tmp
|
|
|
|
cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
|
2012-10-18 10:56:39 +02:00
|
|
|
cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
|
2012-07-18 15:59:10 +02:00
|
|
|
- @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
|
|
|
|
- @echo ""
|
|
|
|
- @echo "Note: the beta releases deliberately do NOT install a symlink for luajit"
|
|
|
|
- @echo "You can do this now by running this command (with sudo):"
|
|
|
|
- @echo ""
|
|
|
|
- @echo " $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)"
|
|
|
|
- @echo ""
|
|
|
|
|
2012-10-18 10:56:39 +02:00
|
|
|
uninstall:
|
|
|
|
@echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ===="
|