[X2Go-Commits] [nx-libs] 02/03: Install upstream ChangeLogs into bin:packages.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 28 21:32:00 CET 2015


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

x2go pushed a commit to branch master
in repository nx-libs.

commit 912d62ba50086aa47f2365c19ffe6ae9b3cb45c6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jan 28 21:28:04 2015 +0100

    Install upstream ChangeLogs into bin:packages.
---
 debian/changelog |    1 +
 debian/rules     |   11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 30b2797..b1f84d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,6 +61,7 @@ nx-libs (2:3.5.0.29-0x2go2) UNRELEASED; urgency=medium
     + Correctly link config files (etc/rgb, etc/nxagent.keyboard,
       etc/x2goagent.keyboard) before dh_auto_build.
     + Add to B-D: expat.
+    + Install upstream ChangeLogs into bin:packages.
 
   * nx-libs.spec:
     + The gpg-offline bin:package is not available in our SLE repo. We can do
diff --git a/debian/rules b/debian/rules
index a4f9257..d215394 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,15 @@ override_dh_clean:
 	if [ -f nxcomp/.VERSION.NoMachine ]; then mv nxcomp/.VERSION.NoMachine nxcomp/VERSION; fi
 	dh_clean
 
+override_dh_installchangelog:
+
+	### the doc/changelog file is the actual NX (redistributed) ChangeLog
+	#dh_installchangelog doc/changelog
+
+	### the nx-X11/CHANGELOG is an old upstream ChangeLog by NoMachine that prevents us from
+        ### being shouted at by lintian (while testing the package build scripts)
+	dh_installchangelog nx-X11/CHANGELOG
+
 override_dh_install:
 
 	# handle builds for Debian squeeze (non multi-arch)
@@ -108,6 +117,8 @@ override_dh_auto_build:
 	ln -s ../debian/rgb etc/rgb
 	ln -s ../debian/nxagent.keyboard etc/nxagent.keyboard
 	ln -s ../debian/x2goagent.keyboard etc/x2goagent.keyboard
+	mkdir -p doc/
+	ln -s ../debian/changelog doc/changelog
 	ln -sf debian/VERSION VERSION.x2goagent
 	ln -sf ../debian/VERSION nxcomp/VERSION
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list