install.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --- Makefile~ 2008-08-12 03:40:48.000000000 +0300
  2. +++ Makefile 2009-01-02 17:16:41.000000000 +0200
  3. @@ -9,16 +9,16 @@
  4. # Where to install. The installation starts in the src and doc directories,
  5. # so take care if INSTALL_TOP is not an absolute path.
  6. -INSTALL_TOP= /usr/local
  7. +INSTALL_TOP= /usr
  8. INSTALL_BIN= $(INSTALL_TOP)/bin
  9. INSTALL_INC= $(INSTALL_TOP)/include
  10. INSTALL_LIB= $(INSTALL_TOP)/lib
  11. -INSTALL_MAN= $(INSTALL_TOP)/man/man1
  12. +INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
  13. #
  14. # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
  15. # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
  16. INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
  17. -INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
  18. +INSTALL_CMOD= $(INSTALL_TOP)/lib
  19. # How to install. If your install program does not support "-p", then you
  20. # may have to run ranlib on the installed liblua.a (do "make ranlib").
  21. @@ -43,7 +43,7 @@
  22. # What to install.
  23. TO_BIN= lua luac
  24. TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
  25. -TO_LIB= liblua.a
  26. +TO_LIB= liblua.so.$V
  27. TO_MAN= lua.1 luac.1
  28. # Lua version and release.
  29. --- etc/lua.pc~ 2008-08-08 15:46:11.000000000 +0300
  30. +++ etc/lua.pc 2009-01-02 17:17:32.000000000 +0200
  31. @@ -8,11 +8,11 @@
  32. R= 5.1.4
  33. # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
  34. -prefix= /usr/local
  35. +prefix= /usr
  36. INSTALL_BIN= ${prefix}/bin
  37. INSTALL_INC= ${prefix}/include
  38. INSTALL_LIB= ${prefix}/lib
  39. -INSTALL_MAN= ${prefix}/man/man1
  40. +INSTALL_MAN= ${prefix}/share/man/man1
  41. INSTALL_LMOD= ${prefix}/share/lua/${V}
  42. INSTALL_CMOD= ${prefix}/lib/lua/${V}