From ba2fc098cc08756ac7f92ee187f5b8232587c5a5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 3 Nov 2014 14:20:07 +0100 Subject: Remove dummy ChangeLog file after build if empty. --- debian/changelog | 1 + debian/rules | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index fbc5317..eb89716 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ remote-login-service-x2go (1.0.0.1-0x2go1) UNRELEASED; urgency=medium * debian/rules: + Build using dh_autoreconf. + Make sure we have an empty upstream ChangeLog file when building from Git. + + Remove dummy ChangeLog file after build if empty. * debian/copyright: + Add Upstream-Contract: field. Add myself as copyright holder. * debian/control: diff --git a/debian/rules b/debian/rules index f2df4f3..dc357c6 100755 --- a/debian/rules +++ b/debian/rules @@ -6,3 +6,6 @@ override_dh_autoreconf: touch ChangeLog dh_autoreconf + +override_dh_auto_clean: + if [ -s ChangeLog ]; then rm -f ChangeLog; fi -- cgit v1.2.3