aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-03 14:20:07 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-03 15:03:47 +0100
commitba2fc098cc08756ac7f92ee187f5b8232587c5a5 (patch)
tree74ffbf59fbf1b2c186c6c476432f0b62243224aa /debian
parent6876758939639c998bf9fdd406e97a4bf2ddf125 (diff)
downloadremote-logon-service-ba2fc098cc08756ac7f92ee187f5b8232587c5a5.tar.gz
remote-logon-service-ba2fc098cc08756ac7f92ee187f5b8232587c5a5.tar.bz2
remote-logon-service-ba2fc098cc08756ac7f92ee187f5b8232587c5a5.zip
Remove dummy ChangeLog file after build if empty.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
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