summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-08-21 14:31:13 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-12 15:21:27 +0100
commit1640e840e704d97e69edc1c3ddff2ebe4f5326ce (patch)
tree6f361b26979ec0db855f751fbca6a1ef7763c14a
parent75f2d86f6b3c85324309f49cbba87cc0e0be9dd0 (diff)
downloadluxio-1640e840e704d97e69edc1c3ddff2ebe4f5326ce.tar.gz
Update for new lua 5.1 morphology
-rw-r--r--Makefile2
-rw-r--r--luxio.morph13
2 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f59c2f1..71e4ae8 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ clean:
$(RM) *.so *.o luxio_constants.h
luxio_constants.h: luxio_constants.h.in const-proc.lua
- ./const-proc.lua < $^ > $@
+ lua5.1 ./const-proc.lua < $^ > $@
lua-5.1: luxio-5.1.so
ln -s -f luxio-5.1.so luxio.so
diff --git a/luxio.morph b/luxio.morph
new file mode 100644
index 0000000..a04f658
--- /dev/null
+++ b/luxio.morph
@@ -0,0 +1,13 @@
+{
+ "name": "luxio",
+ "description": "Lua Unix IO (and related stuff).",
+ "kind": "chunk",
+ "build-system": "manual",
+ "build-commands": [
+ "make lua-5.1"
+ ],
+ "install-commands": [
+ "make DESTDIR=\"$DESTDIR\" lua-5.1-install"
+ ]
+}
+