* upstream/master: (33 commits) Makefile: fix things so rockspecs aren't distributed (a hard problem) but do have the right MD5 sums NEWS: add for 2.7.1 Makefile: make it harder to make mistakes Makefile: exclude luarocks directory from distribution zip Makefile: bump version to 2.7.1 Allow to signal no replacement in gsub with a nil or false replacement. rockspecs.lua: fix some inconsistent whitespace rockspecs.lua: mention that we're Lua 5.2 compatible algo.h: fix to make it work on Lua 5.1; oops .gitignore: add luarocks directory Add luarocks-config.lua, needed for testing rockspecs Makefile: fix testing of rockspecs, and remove now-redundant warning to upload to github Makefile: make release depend on dist and check Makefile: fix a typo Makefile: test rockspecs after uploading the distribution before announcing it. common.c: remove last use of non-Lua state malloc Makefile: add a convenience install target for testing common.c: use Lua state allocator for TBuffers Makefile: simplify running tests, and error if LUA is not set rockspecs.lua: fix some typos in the GNU rockspec ...
… but do have the right MD5 sums
Have install depend on dist, and dist depend on rockspecs, and make rockspecs remove any old rockspec files, so it is much less likely that the wrong rockspec is used, or out-of-date rockspecs distributed.
…to upload to github
A single Makefile remains to take care of tests, distribution, release and documentation. As a result, rockspecs are automatically generated for all lrexlib flavours (previously, only POSIX and PCRE were available).
The implementation is in algo.h, in the new check_subject function. Usage is documented in manual.txt. Optional tests have been added, using alien buffers.