Mirror of the JODE repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jode/jode/maketar

14 lines
530 B

#!/bin/sh
echo '#!/bin/sh' > co.all
echo co -u jcpp make* COPYING *.html *.java */*.java test/*.j >> co.all
chmod a+x co.all
echo '#!/bin/sh' > compile
echo 'COMPILER=${1:-javac}' >> compile
echo 'if [ -n "$1" ]; then FLAGS="-g"; else shift; FLAGS="$*"; fi' >>compile
echo 'rm -f *.class */*.class' >> compile
echo \$COMPILER -d \$HOME/java \$FLAGS Decompiler.java Obfuscator.java JodeApplet.java swingui/MainWindow.java >> compile
chmod a+x compile
cd ..
tar -cvzf jode/jode.tar.gz jode/co.all jode/compile jode/RCS jode/*/RCS