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
F=mongoose-`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' ../mongoose.c`.tgz ;cd ../.. &&tar-czf x mongoose/{LICENSE,*.[ch]}&&mv x mongoose/build/$$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/
wine make windows windows_tiny
V=`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' ../mongoose.c`; upx mongoose.exe;upx mongoose-tiny.exe ;cp mongoose.exe mongoose-$$V.exe;cp mongoose-tiny.exe mongoose-tiny-$$V.exe;cp mongoose.exe mongoose_php_bundle/; zip -r mongoose-php-$$V.zip mongoose_php_bundle/