1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## dumpobj.dpatch by Samuel Mimram <smimram@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Ship ocamldumpobj and add a manpage for it.
8
diff -urNad ocaml-3.09.1~/man/ocamlc.m ocaml-3.09.1/man/ocamlc.m
9
--- ocaml-3.09.1~/man/ocamlc.m 2006-01-04 20:35:35.000000000 +0100
10
+++ ocaml-3.09.1/man/ocamlc.m 2006-01-04 20:37:08.000000000 +0100
15
-.BR ocamlobjinfo (1).
16
+.BR ocamlobjinfo (1),
17
+.BR ocamldumpobj (1).
19
.I The Objective Caml user's manual,
20
chapter "Batch compilation".
21
diff -urNad ocaml-3.09.1~/man/ocamldumpobj.m ocaml-3.09.1/man/ocamldumpobj.m
22
--- ocaml-3.09.1~/man/ocamldumpobj.m 1970-01-01 01:00:00.000000000 +0100
23
+++ ocaml-3.09.1/man/ocamldumpobj.m 2006-01-04 20:44:49.000000000 +0100
25
+.TH OCAMLDUMPOBJ 1 "January 4, 2006"
27
+ocamldumpobj \- disassembler for OCaml executable and .cmo object files
34
+Disassembler for executable and .cmo object files compiled by OCaml.
39
+.BR ocamlobjinfo (1).
43
+This manual page was written by Samuel Mimram <smimram@debian.org>,
44
+for the Debian GNU/Linux system (but may be used by others).
45
diff -urNad ocaml-3.09.1~/man/ocamlopt.m ocaml-3.09.1/man/ocamlopt.m
46
--- ocaml-3.09.1~/man/ocamlopt.m 2006-01-04 20:35:35.000000000 +0100
47
+++ ocaml-3.09.1/man/ocamlopt.m 2006-01-04 20:39:46.000000000 +0100
52
-.BR ocamlobjinfo (1).
53
+.BR ocamlobjinfo (1),
54
+.BR ocamldumpobj (1).
56
.I The Objective Caml user's manual,
57
chapter "Native-code compilation".
58
diff -urNad ocaml-3.09.1~/tools/Makefile ocaml-3.09.1/tools/Makefile
59
--- ocaml-3.09.1~/tools/Makefile 2006-01-04 20:35:35.000000000 +0100
60
+++ ocaml-3.09.1/tools/Makefile 2006-01-04 20:36:07.000000000 +0100
62
cp ocamlcp $(BINDIR)/ocamlcp$(EXE)
63
cp profiling.cmi profiling.cmo $(LIBDIR)
64
cp objinfo $(BINDIR)/ocamlobjinfo$(EXE)
65
+ cp dumpobj $(BINDIR)/ocamldumpobj$(EXE)
68
rm -f ocamlprof ocamlcp