diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-07-19 12:19:12 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-07-19 12:19:12 -0700 |
commit | 477820c743fb6aab0fd8515fb0d5fbf6029bd4a5 (patch) | |
tree | 67046d46056928dd6e555be37e6a4e7c713ebf0a /dh_elpa.in | |
parent | 345bb7b3203d870ef67f46467938965992c84024 (diff) |
document DEB_* functionality in dh_elpa(1)
Diffstat (limited to 'dh_elpa.in')
-rwxr-xr-x | dh_elpa.in | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -320,3 +320,20 @@ substvars =back +=head1 HINTS + +=head2 Specifying the package version + +If dh_elpa can't determine the package version by looking at *.el +files (usually because upstream has failed to include the proper +headers), it will fallback to the DEB_UPSTREAM_VERSION and +DEB_VERSION_UPSTREAM environment variables. An easy way to set one of +these is just to prepend the following to your rules file: + +=over 4 + + include /usr/share/dpkg/pkg-info.mk + export DEB_VERSION_UPSTREAM + +=back + |