#!/bin/sh set -e for locale in en fr; do (cd $locale/; make clean; make all) done rm -rf build mkdir build cp -r assets build/ for locale in en fr; do mkdir build/$locale cp -r $locale/*.html build/$locale cp -r assets build/$locale done cp en/index.html build