[debhelper-devel] [Git][debian/debhelper][master] debhelper.7: Recommend d/<pkg>.foo over d/foo
Niels Thykier
gitlab at salsa.debian.org
Sat Apr 7 07:01:00 UTC 2018
Niels Thykier pushed to branch master at Debian / debhelper
Commits:
8b216c9d by Niels Thykier at 2018-04-07T06:59:00+00:00
debhelper.7: Recommend d/<pkg>.foo over d/foo
Signed-off-by: Niels Thykier <niels at thykier.net>
- - - - -
2 changed files:
- debhelper.pod
- debian/changelog
Changes:
=====================================
debhelper.pod
=====================================
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -78,7 +78,11 @@ complicated formats.
Note for the first (or only) binary package listed in
F<debian/control>, debhelper will use F<debian/foo> when there's no
-F<debian/package.foo> file.
+F<debian/I<package>.foo> file. However, it is often a good idea to keep
+the F<I<package>.> prefix as it is more explicit. The primary exception
+to this are files that debhelper by default installs in every binary
+package when it does not have a package prefix (such as
+F<debian/copyright> or F<debian/changelog>).
In some rare cases, you may want to have different versions of these files
for different architectures or OSes. If files named debian/I<package>.foo.I<ARCH>
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,9 @@ debhelper (11.2) UNRELEASED; urgency=medium
suggestion. (Closes: #895044)
* meson.pm: Rewrite as a generator build system with ninja as
the only backend.
+ * debhelper.7: Recommend packagers to use "debian/<pkg>.<file>"
+ over "debian/<file>" in most cases. Thanks to Johannes
+ Schauer for the suggestion.
[ Nicolas Boulenguez ]
* dh_installxfonts: Fix typo that causes a misc:Depends on
View it on GitLab: https://salsa.debian.org/debian/debhelper/commit/8b216c9dd5fbb034281bac95ba08ddfb36ca7efc
---
View it on GitLab: https://salsa.debian.org/debian/debhelper/commit/8b216c9dd5fbb034281bac95ba08ddfb36ca7efc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180407/1d7ed144/attachment-0001.html>
More information about the debhelper-devel
mailing list