File: reference-dh.xml

package info (click to toggle)
dh-ocaml 2.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: xml: 1,746; perl: 1,063; sh: 244; makefile: 105
file content (32 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 "/usr/share/sgml/docbook/dtd/xml/4.4/docbookx.dtd" [
<!ENTITY % included SYSTEM "included.ent">
%included;
]>
<section>
  <title>Building packages with dh (debhelper > 7)</title>

  <para>Debhelper provides since version 7 the <command>dh</command>
  tool which automatizes in simply and standard cases completely the
  tasks to be done by <filename>debian/rules</filename>, and which
  provides for various means to adapt to complex or non-standard cases
  (see <command>dh(1)</command>). The
  <package>dh-ocaml</package> package provides since version
  0.9.0 a <command>ocaml</command> addon to <command>dh</command>.</para>

  <example>
    <title>A <filename>debian/rules</filename> file using <command>dh</command>
    </title>
    <programlisting>
#!/usr/bin/make -f
%:
        dh $@ --with ocaml
    </programlisting>
    <para>
      This package must build-depend on <code>dh-ocaml (>= 0.9.0)</code>.
    </para>
  </example>

</section>