[Pkg-sdl-commits] [sdlgfx] 05/08: d/rules: Move retrieval of SOURCE_DATE to the beginning of the file

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Tue Jun 20 20:12:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

mafm pushed a commit to annotated tag debian/2.0.25-6
in repository sdlgfx.

commit 86aa6eec6e5819c272a4b9b0557807cd9c7e50f5
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Tue Jun 20 20:25:04 2017 +0200

    d/rules: Move retrieval of SOURCE_DATE to the beginning of the file
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6d3ad25..dcf002f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 LIBPKG = libsdl-gfx1.2-5
 
+SOURCE_DATE := $(shell dpkg-parsechangelog --show-field=Date)
+
 
 %:
 	dh $@ --with linktree
@@ -23,7 +25,6 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	SOURCE_DATE := $(shell dpkg-parsechangelog --show-field=Date)
 	GZIP=-n tar -cvz --transform='s,^Test,examples,' --owner=0 --group=0 --mtime="$(SOURCE_DATE)" -f debian/examples.tar.gz Test
 
 override_dh_auto_clean:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdlgfx.git



More information about the pkg-sdl-commits mailing list