build/class/org/ibex/translators/MIPSApps.class: build/mips/mipsapps.mips .jikes
mkdir -p build/java/org/ibex/translators
@echo -e "\n\033[1mtranslating .mips -> .java: $<\033[0m"
- (echo -e 'package org.xwt.translators;\n'; \
+ (echo -e 'package org.ibex.translators;\n'; \
java -Xint -cp upstream/mips/build org.xwt.mips.Compiler MIPSApps build/mips/mipsapps.mips) \
| sed 's,//.*$$,,;'| tr -d '\n' > build/java/org/ibex/translators/MIPSApps.java
@echo -e "\n\033[1mcompiling .java -> .class: $<\033[0m"
propose-patch:
@darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/
@(echo "To: patches@xwt.org";\
- SUB=`grep -A2 New.patches .darcspatch | tail -n 1 | cut -b 2-`;\
- echo "Subject: $SUB";\
- cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org
+ SUB=`grep -A10000 New.patches .darcspatch | grep '^\\[' | cut -b 2- | tr \\\n , | sed s_,_,\ _g | sed "s_, *\\$$__"`;\
+ echo "Subject: $$SUB";\
+ echo;\
+ cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org;
@rm .darcspatch