diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-08-01 11:02:37 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-08-01 11:02:37 +0100 |
commit | 92f91a1cf08d4128d209dcf2162f1c898a1d33a5 (patch) | |
tree | 33504bae71441aa54c1458006210c73a78a535fe /Makefile | |
parent | 86d0f1f1ad2a8839b24e20e2a2cfee94dfb51c50 (diff) | |
download | lrexlib-92f91a1cf08d4128d209dcf2162f1c898a1d33a5.tar.gz |
Write the rest of the dist target to build a release zip.
Move make variable V into defaults.mak, which can be included from
top-level Makefile, and used to name the zip.
In release Zip, copy doc/index.txt to README.
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,7 +2,10 @@ # See src/*/Makefile and src/defaults.mak for user-definable settings +include src/defaults.mak + REGNAMES = gnu pcre posix oniguruma tre +DISTFILE = lrexlib-$(V).zip all: @for i in $(REGNAMES); do \ @@ -21,3 +24,6 @@ clean: dist: git2cl > ChangeLog + cp -a doc/index.txt README + rm -f $(DISTFILE) + zip $(DISTFILE) -r . -x ".git/*" "*.gitignore" "*.o" "*.a" "*.so" "*.so.*" |