[Bug 1077531] Re: debhelper lacks example rules files

Jon Dowland jmtd at debian.org
Fri Apr 12 08:38:39 UTC 2013


Those files were removed on purpose in 2011-04-01 (here's the commit:
http://anonscm.debian.org/gitweb/?p=debhelper/debhelper.git;a=commitdiff;h=54fbbed4eb8bf4086e12f4c22204ab75729a4f65)

I think the reason is that the old, long-form way of writing rules files
is deprecated, at least from the debhelper maintainer's POV.

You are best to start with the tiny file and override what stages you
need to for your particular package. Here's a short example of such a
rules file, with two or three targets overidden:
http://anonscm.debian.org/gitweb/?p=pkg-
games/freedoom.git;a=blob;f=debian/rules;h=78c4b4271775f6c59f232bc85670f1fb806ec498;hb=HEAD

Check the dh(1) manpage, section "OVERRIDE TARGETS" to learn more about
how it works.

** Changed in: debhelper (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1077531

Title:
  debhelper lacks example rules files

Status in “debhelper” package in Ubuntu:
  Invalid

Bug description:
  I was going through a deb package building tutorial at
  https://www.youtube.com/watch?v=nhoRyd2CEVs and it used Ubuntu. It
  mentions a few example rules files under
  /usr/share/doc/debhelper/examples: rules.multi, rules.multi2,
  rules.arch and rules.indep. I noticed that the current Ubuntu
  debhelper package only has rules.tiny under this directory.

  I search through apt-file and tried to locate such examples in many
  other packages but I was unsuccessful. I browsed through the changelog
  of debhelper to see if there was any notice of removal of these files
  but also could not find it.

  I was able to find the files in the internet here:
  http://www.fifi.org/doc/debhelper/examples/

  Thus I think that the non-inclusion of these files might be a bug.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: debhelper 9.20120608ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sat Nov 10 22:46:00 2012
  InstallationDate: Installed on 2012-08-18 (84 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: debhelper
  UpgradeStatus: Upgraded to quantal on 2012-10-01 (40 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1077531/+subscriptions




More information about the foundations-bugs mailing list