From 0939d0910aed780e4767077d69c23eb7b0a1a8d6 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 12 Aug 2015 16:13:40 +0200 Subject: Dh_Lib: Export get_source_date_epoch() Signed-off-by: Niels Thykier --- doc/PROGRAMMING | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/PROGRAMMING') 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 -- cgit v1.2.3