--- /dev/null
+(pdflatex '\newcommand{\genc}{true}\newcommand{\genpy}{true}\newcommand{\targetlang}{c}\input{opencv.tex}' &&
+ bibtex opencv &&
+ makeindex opencv &&
+ pdflatex '\newcommand{\genc}{true}\newcommand{\genpy}{true}\newcommand{\targetlang}{c}\input{opencv.tex}' > 1
+ ) || exit 1
+#gv -page=480 opencv.pdf