F=mongoose-`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1'mongoose.c`.tgz ;cd .. &&tar-czf x mongoose/{LICENSE,Makefile,examples,test,build,*.[ch],*.md}&&mv x mongoose/$$F
F=mongoose-`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1'../mongoose.c`.tgz ;cd ../.. &&tar-czf x mongoose/{LICENSE,examples,test,build,*.[ch],*.md}&&mv x mongoose/$$F
release:tarball cocoa
wine make windows
V=`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' mongoose.c`; upx mongoose.exe;cp mongoose.exe mongoose-$$V.exe;cp mongoose.exe mongoose_php_bundle/; zip -r mongoose_php_bundle_$$V.zip mongoose_php_bundle/
V=`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1'../mongoose.c`; upx mongoose.exe;cp mongoose.exe mongoose-$$V.exe;cp mongoose.exe mongoose_php_bundle/; zip -r mongoose_php_bundle_$$V.zip mongoose_php_bundle/