diff options
author | Niels Thykier <niels@thykier.net> | 2015-08-12 16:13:40 +0200 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-08-12 16:17:59 +0200 |
commit | 0939d0910aed780e4767077d69c23eb7b0a1a8d6 (patch) | |
tree | 818c904a06e0d26ab37cbd63399ede4c136bc3ca /doc/PROGRAMMING | |
parent | 3d16b06e3825905fb882420d83d8e46f986d16d5 (diff) | |
download | debhelper-0939d0910aed780e4767077d69c23eb7b0a1a8d6.tar.gz |
Dh_Lib: Export get_source_date_epoch()
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r-- | doc/PROGRAMMING | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 701af6b8..3b0bc136 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -271,6 +271,10 @@ getpackages($type) of "arch" and "indep" packages. As a side effect, populates %package_arches and %package_types with the types of all packages (not only those returned). +get_source_date_epoch() + Return the value of $ENV{SOURCE_DATE_EPOCH} if exists. + Otherwise compute the value from the first changelog entry, + use it to set the ENV variable and return it. inhibit_log() Prevent logging the program's successful finish to debian/*debhelper.log |