Move ocaml-base-nox to the top of d/control for dh_installdocs
authorXimin Luo <infinity0@debian.org>
Thu, 6 Jul 2017 20:57:54 +0000 (22:57 +0200)
committerXimin Luo <infinity0@debian.org>
Thu, 6 Jul 2017 20:57:54 +0000 (22:57 +0200)
debian/control

index fc3c50b8561015071a4870449968e5e580839af4..5c13c8f9af8c13e0221bf85e4f224ef1e84c714b 100644 (file)
@@ -24,6 +24,45 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/ocaml.git/
 Vcs-Browser: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/ocaml.git/
 Homepage: http://caml.inria.fr/
 
+# This needs to stay at the top - we symlink docs to the copy in this package,
+# and dh_installdocs installs README.Debian etc into the first package listed.
+Package: ocaml-base-nox
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Provides:
+ ${ocaml:Provides}
+Replaces: ocaml-interp (<< 3.11.1-3)
+Breaks: ocaml-interp (<< 3.11.1-3)
+Description: Runtime system for OCaml bytecode executables (no X)
+ Objective Caml (OCaml) is an implementation of the ML language, based on
+ the Caml Light dialect extended with a complete class-based object system
+ and a powerful module system in the style of Standard ML.
+ .
+ This package contains only the runtime system needed to run bytecode
+ executables that do not use the graphics library. The 'ocaml' package
+ contains the full development suite of Objective Caml.
+
+Package: ocaml-base
+Architecture: any
+Depends:
+ ocaml-base-nox,
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${ocaml:Depends}
+Provides:
+ ${ocaml:Provides}
+Description: Runtime system for OCaml bytecode executables
+ Objective Caml (OCaml) is an implementation of the ML language, based on
+ the Caml Light dialect extended with a complete class-based object system
+ and a powerful module system in the style of Standard ML.
+ .
+ This package contains only the runtime system needed to run bytecode
+ executables. The 'ocaml' package contains the full development suite of
+ Objective Caml.  You may wish to install the 'ocaml-base-nox' package if
+ you do not require any graphical capabilities for your runtime.
+
 Package: ocaml-nox
 Architecture: any
 Depends:
@@ -108,43 +147,6 @@ Description: ML language implementation with a class-based object system
  This package contains everything needed to develop OCaml applications,
  including the graphics libraries.
 
-Package: ocaml-base-nox
-Architecture: any
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
-Provides:
- ${ocaml:Provides}
-Replaces: ocaml-interp (<< 3.11.1-3)
-Breaks: ocaml-interp (<< 3.11.1-3)
-Description: Runtime system for OCaml bytecode executables (no X)
- Objective Caml (OCaml) is an implementation of the ML language, based on
- the Caml Light dialect extended with a complete class-based object system
- and a powerful module system in the style of Standard ML.
- .
- This package contains only the runtime system needed to run bytecode
- executables that do not use the graphics library. The 'ocaml' package
- contains the full development suite of Objective Caml.
-
-Package: ocaml-base
-Architecture: any
-Depends:
- ocaml-base-nox,
- ${shlibs:Depends},
- ${misc:Depends},
- ${ocaml:Depends}
-Provides:
- ${ocaml:Provides}
-Description: Runtime system for OCaml bytecode executables
- Objective Caml (OCaml) is an implementation of the ML language, based on
- the Caml Light dialect extended with a complete class-based object system
- and a powerful module system in the style of Standard ML.
- .
- This package contains only the runtime system needed to run bytecode
- executables. The 'ocaml' package contains the full development suite of
- Objective Caml.  You may wish to install the 'ocaml-base-nox' package if
- you do not require any graphical capabilities for your runtime.
-
 Package: ocaml-source
 Architecture: all
 Depends: ${misc:Depends}