summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-15 19:04:55 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-15 19:04:55 +1030
commit1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (patch)
treeb89337163d96a0f48e0eda487ef36aa48e1cc1cd /Makefile
parent353784724505b23539aa693bd2aed3932493ed62 (diff)
downloadlua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.tar.gz
lua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.tar.bz2
lua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.zip
Automate package releases with build-packages.sh
build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3e179e8..9b1b649 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,3 @@
1CJSON_VERSION = 1.0.4
2LUA_VERSION = 5.1 1LUA_VERSION = 5.1
3 2
4## Available Lua CJSON specific workarounds 3## Available Lua CJSON specific workarounds
@@ -69,9 +68,3 @@ manual.html: manual.txt
69 68
70clean: 69clean:
71 rm -f *.o *.so 70 rm -f *.o *.so
72
73package:
74 git archive --prefix="lua-cjson-$(CJSON_VERSION)/" master | \
75 gzip -9 > "lua-cjson-$(CJSON_VERSION).tar.gz"
76 git archive --prefix="lua-cjson-$(CJSON_VERSION)/" \
77 -o "lua-cjson-$(CJSON_VERSION).zip" master