diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-01-22 06:06:37 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-01-22 06:06:37 +0100 |
commit | 694523eeecf6b591e2929ab5830b9cb96b5f3bc4 (patch) | |
tree | 0ca7d7bd3ff81bcaacd357866677f3300b73892d /debian | |
parent | 24986dd2ed990fc4390878df6c013d27a47fd695 (diff) | |
download | nx-libs-694523eeecf6b591e2929ab5830b9cb96b5f3bc4.tar.gz nx-libs-694523eeecf6b591e2929ab5830b9cb96b5f3bc4.tar.bz2 nx-libs-694523eeecf6b591e2929ab5830b9cb96b5f3bc4.zip |
debian/rules: Backup nxcomp/VERSION file from NoMachine before replacing it with a symlink to debian/VERSION. Recreate the original file when cleaning up.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 4 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 19a12a85f..3395cda02 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,10 @@ nx-libs (2:3.5.0.29-0x2go1) UNRELEASED; urgency=medium without. * Update 320_nxagent_configurable-keystrokes.full.patch. Fix patch header referring to keystrokes.cfg (plural), not keystroke.cfg. + * debian/rules: + + Backup nxcomp/VERSION file from NoMachine before replacing it with + a symlink to debian/VERSION. Recreate the original file when cleaning + up. [ Horst Schirmeier ] * Update 320_nxagent_configurable-keystrokes.full.patch. Fix a typo that diff --git a/debian/rules b/debian/rules index 0a7899bb7..02eaec1dc 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,7 @@ override_dh_clean: rm -f nx-X11/programs/nxauth/changelog rm -Rf replace.sh Makefile bin rgb VERSION.x2goagent etc/keystrokes.cfg rm -f debian/libnx-x11.postinst + if [ -f nxcomp/.VERSION.NoMachine ]; then mv nxcomp/.VERSION.NoMachine nxcomp/VERSION; fi dh_clean override_dh_auto_install: @@ -32,6 +33,7 @@ override_dh_auto_build: # create copies of upstream changelogs so that names apply to Debian policy... cp -a nx-X11/CHANGELOG nx-X11/changelog cp -a nxcomp/CHANGELOG nxcomp/changelog + if [ -f nxcomp/VERSION ]; then cp nxcomp/VERSION nxcomp/.VERSION.NoMachine; fi cp -a nxcompext/CHANGELOG nxcompext/changelog cp -a nxcompshad/CHANGELOG nxcompshad/changelog cp -a nx-X11/programs/Xserver/hw/nxagent/CHANGELOG nx-X11/programs/Xserver/hw/nxagent/changelog |