~noskcaj/ubuntu/saucy/debhelper/saucy

« back to all changes in this revision

Viewing changes to doc/PROGRAMMING

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-04 11:46:28 UTC
  • mfrom: (1.4.61 sid)
  • Revision ID: package-import@ubuntu.com-20130604114628-vagwisunbd72ihwg
Tags: 9.20130518ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Depend on dh-apparmor.
  - dh_installinit, autoscripts/postinst-upstart-replace: Prefer upstart
    jobs where they exist.
  - autoscripts/preinst-upstart-compatibility: Handle upgrades from older
    versions that created the /lib/init/upstart-job symlink.
  - autoscripts/postinst-init*: Only call update-rc.d when there's no
    upstart job.
  - autoscripts/*-init*: Test for /etc/init/*.conf where necessary.
  - dh_installinit: Add no-op --upstart-only option for compatibility.
  - dh_installudev: Change default rules.d symlink priority to 40.
  - dh_installchangelogs: Do not install upstream changelog in compat
    level 7.  This floods packages with huge upstream changelogs which
    take precious CD space.

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        package. The convention is that the files are named
182
182
        debian/package.filename, and debian/filename is also allowable for
183
183
        the $dh{MAINPACKAGE}. If the file does not exist, nothing is returned.
 
184
 
 
185
        If the *entire* behavior of a command, when run without any special
 
186
        options, is determined by the existence of 1 or more pkgfiles,
 
187
        or by the existence of a file or directory in a location in the
 
188
        tmpdir, it can be marked as such, which allows dh to automatically
 
189
        skip running it. This is done by inserting a special comment,
 
190
        of the form:
 
191
 
 
192
        # PROMISE: DH NOOP WITHOUT pkgfilea pkgfileb tmp(need/this)
 
193
 
184
194
pkgext($package)
185
195
        Pass this command the name of a binary package, and it will return
186
196
        the name to prefix to files in debian/ for this package. For the