Rename interpretor to interpreter.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / tools / faust2appls / faust2pdf
diff --git a/interpreter/preprocessor/faust-0.9.47mr3/tools/faust2appls/faust2pdf b/interpreter/preprocessor/faust-0.9.47mr3/tools/faust2appls/faust2pdf
new file mode 100755 (executable)
index 0000000..c74d830
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+faust2svg $@
+
+for d in $@; do
+       cd $d-svg
+       echo $d-svg
+    for f in *.svg; do
+        inkscape -E ${f%.svg}.eps $f
+        epstopdf ${f%.svg}.eps
+        rm $f
+    done
+    cd ..
+    mv $d-svg $d-pdf
+done
+