release: add singleinclude and meson.build to include.zip

This serves as a minimal release-only way to embed json into a project.
Add meson support to this directly, to make it usable standalone as a
meson subproject.

Implements #1672
This commit is contained in:
Eli Schwartz 2019-07-31 15:43:31 -04:00
parent 0245ae5157
commit 84faa36ec5
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6

View file

@ -594,7 +594,7 @@ ChangeLog.md:
release:
rm -fr release_files
mkdir release_files
zip -9 --recurse-paths -X include.zip $(SRCS)
zip -9 --recurse-paths -X include.zip $(SRCS) $(AMALGAMATED_FILE) meson.build
gpg --armor --detach-sig include.zip
mv include.zip include.zip.asc release_files
gpg --armor --detach-sig $(AMALGAMATED_FILE)