diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-15 19:04:55 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-15 19:04:55 +1030 |
commit | 1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (patch) | |
tree | b89337163d96a0f48e0eda487ef36aa48e1cc1cd /Makefile | |
parent | 353784724505b23539aa693bd2aed3932493ed62 (diff) | |
download | lua-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-- | Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1,4 +1,3 @@ | |||
1 | CJSON_VERSION = 1.0.4 | ||
2 | LUA_VERSION = 5.1 | 1 | LUA_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 | ||
70 | clean: | 69 | clean: |
71 | rm -f *.o *.so | 70 | rm -f *.o *.so |
72 | |||
73 | package: | ||
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 | ||