Author: Ralf Treinen <treinen@debian.org>
Description: add target for building viewer in bytecode
Debian-bug:  #656730

Index: coinst/viewer/Makefile
===================================================================
--- coinst.orig/viewer/Makefile	2012-01-21 22:01:30.000000000 +0100
+++ coinst/viewer/Makefile	2012-01-21 22:04:02.000000000 +0100
@@ -25,6 +25,9 @@
 coinst_viewer: $(OBJS)
 	$(OCAMLOPT) -o $@  $(OPTLINKFLAGS) $^
 
+coinst_viewer.byte: $(OBJS:.cmx=.cmo)
+	$(OCAMLC) -o $@  $(OPTLINKFLAGS) $^
+
 coinst_converter: $(CONVERTER)
 	$(OCAMLOPT) -o $@  $(OPTLINKFLAGS) $^
 
