X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-docs%2Ftrunk%2Fscripts%2Fbuild.sh;fp=synfig-docs%2Ftrunk%2Fscripts%2Fbuild.sh;h=ccf60e3cc2f5914fa3d24a33fe79e44d1323b39f;hp=0000000000000000000000000000000000000000;hb=5044e6e370d2836bd13aef36ed6ed56f63a0bec1;hpb=e8ae5001d9daab250abb0e25a1fe1fd9b4292d78 diff --git a/synfig-docs/trunk/scripts/build.sh b/synfig-docs/trunk/scripts/build.sh new file mode 100755 index 0000000..ccf60e3 --- /dev/null +++ b/synfig-docs/trunk/scripts/build.sh @@ -0,0 +1,22 @@ +LANGSAVAL="en ca" +TARGETS="pdf multiple-html ps" +if [ -n "$1" ]; then + LANGSAVAL=$1 +fi +if [ -n "$2" ]; then + TARGETS=$2 +fi +for i in $LANGSAVAL + do + echo =========== LANG: $i =============== + for j in $TARGETS + do + echo =------ TARGET: $j ---------- + if [ ! -d "result/$i" ]; then + mkdir -p "result/$i" + mkdir -p "result/$i/out-$j" + fi + make SGMLDIR=$i $j + mv result/$i/tmp-$j/*.$j result/$i/out-$j 2>/dev/null + done +done