--- Makefile.orig 2013-06-14 11:27:32 UTC +++ Makefile @@ -23,21 +23,15 @@ print: test: lua test/hello.lua -install-both: - $(MAKE) clean - @cd src; $(MAKE) $(PLAT) LUAV=5.1 - @cd src; $(MAKE) install LUAV=5.1 +install: $(MAKE) clean - @cd src; $(MAKE) $(PLAT) LUAV=5.2 - @cd src; $(MAKE) install LUAV=5.2 + @cd src; $(MAKE) $(PLAT) LUAV=$(LUA_VER) + @cd src; $(MAKE) install LUAV=$(LUA_VER) -install-both-unix: - $(MAKE) clean - @cd src; $(MAKE) $(PLAT) LUAV=5.1 - @cd src; $(MAKE) install-unix LUAV=5.1 +install-unix: $(MAKE) clean - @cd src; $(MAKE) $(PLAT) LUAV=5.2 - @cd src; $(MAKE) install-unix LUAV=5.2 + @cd src; $(MAKE) $(PLAT) LUAV=$(LUA_VER) + @cd src; $(MAKE) install-unix LUAV=$(LUA_VER) .PHONY: test