summaryrefslogtreecommitdiff
path: root/dh_elpa.in
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa.in')
-rwxr-xr-xdh_elpa.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/dh_elpa.in b/dh_elpa.in
index 94fa94f..67cd9d8 100755
--- a/dh_elpa.in
+++ b/dh_elpa.in
@@ -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
+