#!/bin/sh -x
rm -rf apache-brotli
git clone https://github.com/kjdev/apache-mod-brotli.git apache-brotli
( cd apache-brotli && git submodule update --init --recursive )
tar cvf - --exclude .git apache-brotli | xz -9 >apache-brotli-`date '+%Y%m%d'`.tar.xz
rm -rf apache-brotli
