[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian/rules being +x, dpkg and life



Hello, policy mailing list!

I recently sent a package to my usual sponsor to be reviewed and they
came back telling me I should +x debian/rules.

Looking at the Debian Policy, 4.9 says:

> This file [debian/rules] must be an executable makefile

But then 3.3 goes on and says:

> The "dpkg-source" program will automatically make the "debian/rules"
> file executable (see below).

There is also no lintian warning about debian/rules needing to be
executable.

When building the package with debian/rules in mode 644, dpkg-source
indeed fixes it:

> dpkg-buildpackage: warning: debian/rules is not executable; fixing
> that

I'm thus wondering, in my VCS:

* do I have to make debian/rules executable ?
* should I make debian/rules executable ?

If the answer to any of those two questions is 'yes', why should I since
dpkg-source will fix that for me automagically ?

Thanks in advance!


NB: I'm not subscribed to this list, so if you want me to see your
replies, please don't forget to CC me!

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: