]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Install bin/luajit symlink for non-beta releases.
authorMike Pall <mike>
Wed, 31 Oct 2012 17:10:27 +0000 (18:10 +0100)
committerMike Pall <mike>
Wed, 31 Oct 2012 17:10:27 +0000 (18:10 +0100)
Makefile

index 840ee454d4cbec8c75caa8925d83a4ced829d453..4d4a1c2583c5cce2413b6c25cb6f7c4ba1c243c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ install: $(INSTALL_DEP)
        $(MKDIR) $(INSTALL_DIRS)
        cd src && $(INSTALL_X) $(FILE_T) $(INSTALL_T)
        cd src && test -f $(FILE_A) && $(INSTALL_F) $(FILE_A) $(INSTALL_STATIC) || :
-       $(RM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
+       $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
        cd src && test -f $(FILE_SO) && \
          $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
          $(LDCONFIG) $(INSTALL_LIB) && \
@@ -120,17 +120,12 @@ install: $(INSTALL_DEP)
          $(RM) $(FILE_PC).tmp
        cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
        cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
+       $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)
        @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 ""
 
 uninstall:
        @echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ===="
-       $(UNINSTALL) $(INSTALL_T) $(INSTALL_STATIC) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) $(INSTALL_MAN)/$(FILE_MAN) $(INSTALL_PC)
+       $(UNINSTALL) $(INSTALL_TSYM) $(INSTALL_T) $(INSTALL_STATIC) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) $(INSTALL_MAN)/$(FILE_MAN) $(INSTALL_PC)
        for file in $(FILES_JITLIB); do \
          $(UNINSTALL) $(INSTALL_JITLIB)/$$file; \
          done
@@ -138,7 +133,6 @@ uninstall:
          $(UNINSTALL) $(INSTALL_INC)/$$file; \
          done
        $(LDCONFIG) $(INSTALL_LIB)
-       test -f $(INSTALL_TSYM) || $(UNINSTALL) $(INSTALL_TSYM)
        $(RMDIR) $(UNINSTALL_DIRS) || :
        @echo "==== Successfully uninstalled LuaJIT $(VERSION) from $(PREFIX) ===="