You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
425 B

diff --git a/Makefile b/Makefile
index f765ca7..dc1ee2b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,13 @@ ifndef REV
REV := 1
endif
-ifndef DESTDIR
- DESTDIR := /usr/local
-endif
-LIBDIR := $(DESTDIR)/share/lua/5.1
+LUAVER := 5.1
+PREFIX := /usr/local
+DPREFIX := $(DESTDIR)$(PREFIX)
+LIBDIR := $(DPREFIX)/share/lua/$(LUAVER)
+
+all:
+ @echo "Nothing to build here"
install:
mkdir -p $(LIBDIR)/CodeGen