#!/bin/sh
chmod -x `find . -executable -name *.java` 2> /dev/null
chmod -x `find . -executable -name *.tcl` 2> /dev/null
chmod -x `find . -executable -name *.tst` 2> /dev/null
chmod -x `find . -executable -name *.c` 2> /dev/null
chmod -x `find . -executable -name *.patch` 2> /dev/null
chmod -x `find . -executable -name *.p4` 2> /dev/null
chmod -x `find . -executable -name *.py` 2> /dev/null
echo -n `cd misc/android;./d.sh`
echo -n `cd misc/applet;./d.sh`
echo -n `cd misc/p4lang;./d.sh`
echo -n `cd misc/player;./d.sh`
echo -n `cd misc/temper;./d.sh`
echo -n `cd misc/trackmap;./d.sh`
echo -n `cd misc/voice;./d.sh`
echo -n `cd misc/mailer;./d.sh`
echo -n `cd misc/motion;./d.sh`
echo `cd src;./d.sh`
rm rtr.zip 2> /dev/null
zip -r rtr.zip src cfg misc *.sh *.txt *.md >/dev/null
