aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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