diff --git a/.gitignore b/.gitignore index 2d19fc7..6ed1abf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.html +build diff --git a/build.sh b/build.sh index a81b676..d1d9601 100755 --- a/build.sh +++ b/build.sh @@ -6,11 +6,13 @@ for locale in en fr; do (cd $locale/; make clean; make all) done -workdir=$(mktemp -d) -cp -r assets $workdir +rm -rf build +mkdir build + +cp -r assets build/ for locale in en fr; do - mkdir $workdir/$locale - cp -r $locale/*.html $workdir/$locale - cp -r assets $workdir/$locale + mkdir build/$locale + cp -r $locale/*.html build/$locale + cp -r assets build/$locale done -cp en/index.html $workdir +cp en/index.html build