Package: yojson / 1.3.2-1

byte-code-compilation.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: make rule for byte code version of ydump
Author: Hendrik Tews <hendrik@askra.de>
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,10 @@
 	ocamlfind ocamlopt -o ydump$(EXE) $(FLAGS) -package $(PACKS) -linkpkg \
 		$(CMX) ydump.ml
 
+ydump.byte: yojson.cmo yojson_biniou.cmo ydump.ml
+	ocamlfind ocamlc -o ydump $(FLAGS) -package $(PACKS) -linkpkg \
+		$(CMO) ydump.ml
+
 doc: doc/index.html
 doc/index.html: yojson.mli yojson_biniou.mli
 	mkdir -p doc