--- /dev/null
+all: objects theories
+
+objects:
+ coqc -R EXCEPTIONS Bordeaux.EXCEPTIONS EXCEPTIONS/*.v
+ echo "Load Verbose prova_Bordeaux_EXCEPTIONS." | coqtop.byte -R EXCEPTIONS Bordeaux.EXCEPTIONS
+
+theories:
+ ./exporttheories.sh
+
+clean:
+ rm -f *.vo EXCEPTIONS/*.vo
--- /dev/null
+#!/bin/bash
+
+echo "Exporting theory $1";
+
+for i in EXCEPTIONS/*.v
+ do
+ basename=$(basename $i | sed s/\\.v//)
+ cat $i | ../mktheory.pl "Bordeaux/EXCEPTIONS/$basename" > \
+ examples/Bordeaux/EXCEPTIONS/$basename.theory.xml
+ done