Install ocamldumpobj.
authorSamuel Mimram <smimram@debian.org>
Wed, 4 Jan 2006 19:52:25 +0000 (19:52 +0000)
committerSamuel Mimram <smimram@debian.org>
Wed, 4 Jan 2006 19:52:25 +0000 (19:52 +0000)
debian/changelog
debian/patches/00list
debian/patches/dumpobj.dpatch [new file with mode: 0755]

index 35b31997f91163ac82bb71fd0e66457a994efd33..c2594ba46c0af19f2838c1b058560ec836247a04 100644 (file)
@@ -4,6 +4,7 @@ ocaml (3.09.1-1) UNRELEASED; urgency=low
   * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846.
   * Added a watch file.
   * Updated objinfo.dpatch.
+  * Added dumpobj.dpatch to install ocamldumpobj.
 
   [ Julien Cristau ]
   * New upstream release
index de6b75524d7d42b665e2bbf8dc8cd94174cf9498..04b4ec79099302eb4ba72b3ebddb0a3c670dd9e7 100644 (file)
@@ -1,5 +1,6 @@
 versioned_libdir
 objinfo
+dumpobj
 man-ocamlmklib
 kbsd-gnu
 alpha_ld_no-relax
diff --git a/debian/patches/dumpobj.dpatch b/debian/patches/dumpobj.dpatch
new file mode 100755 (executable)
index 0000000..2be24b2
--- /dev/null
@@ -0,0 +1,68 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## dumpobj.dpatch by Samuel Mimram <smimram@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Ship ocamldumpobj and add a manpage for it.
+
+@DPATCH@
+diff -urNad ocaml-3.09.1~/man/ocamlc.m ocaml-3.09.1/man/ocamlc.m
+--- ocaml-3.09.1~/man/ocamlc.m 2006-01-04 20:35:35.000000000 +0100
++++ ocaml-3.09.1/man/ocamlc.m  2006-01-04 20:37:08.000000000 +0100
+@@ -243,7 +243,8 @@
+ .SH SEE ALSO
+ .BR ocaml (1),
+ .BR ocamlrun (1),
+-.BR ocamlobjinfo (1).
++.BR ocamlobjinfo (1),
++.BR ocamldumpobj (1).
+ .br
+ .I The Objective Caml user's manual,
+ chapter "Batch compilation".
+diff -urNad ocaml-3.09.1~/man/ocamldumpobj.m ocaml-3.09.1/man/ocamldumpobj.m
+--- ocaml-3.09.1~/man/ocamldumpobj.m   1970-01-01 01:00:00.000000000 +0100
++++ ocaml-3.09.1/man/ocamldumpobj.m    2006-01-04 20:44:49.000000000 +0100
+@@ -0,0 +1,20 @@
++.TH OCAMLDUMOBJ 1 "January 4, 2006"
++.SH NAME
++ocamldumpobj \- disassembler for OCaml executable and .cmo object files
++
++.SH SYNOPSIS
++.B ocamldumpobj
++.RI file\ ...
++
++.SH DESCRIPTION
++Disassembler for executable and .cmo object files compiled by OCaml.
++
++.SH SEE ALSO
++.BR ocamlc (1),
++.BR ocamlopt (1),
++.BR ocamlobjinfo (1).
++.br
++
++.SH AUTHOR
++This manual page was written by Samuel Mimram <smimram@debian.org>,
++for the Debian GNU/Linux system (but may be used by others).
+diff -urNad ocaml-3.09.1~/man/ocamlopt.m ocaml-3.09.1/man/ocamlopt.m
+--- ocaml-3.09.1~/man/ocamlopt.m       2006-01-04 20:35:35.000000000 +0100
++++ ocaml-3.09.1/man/ocamlopt.m        2006-01-04 20:39:46.000000000 +0100
+@@ -226,7 +226,8 @@
+ .SH SEE ALSO
+ .BR ocamlc (1),
+-.BR ocamlobjinfo (1).
++.BR ocamlobjinfo (1),
++.BR ocamldumpobj (1).
+ .br
+ .I The Objective Caml user's manual,
+ chapter "Native-code compilation".
+diff -urNad ocaml-3.09.1~/tools/Makefile ocaml-3.09.1/tools/Makefile
+--- ocaml-3.09.1~/tools/Makefile       2006-01-04 20:35:35.000000000 +0100
++++ ocaml-3.09.1/tools/Makefile        2006-01-04 20:36:07.000000000 +0100
+@@ -71,6 +71,7 @@
+       cp ocamlcp $(BINDIR)/ocamlcp$(EXE)
+       cp profiling.cmi profiling.cmo $(LIBDIR)
+       cp objinfo $(BINDIR)/ocamlobjinfo$(EXE)
++      cp dumpobj $(BINDIR)/ocamldumpobj$(EXE)
+ clean::
+       rm -f ocamlprof ocamlcp