aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-22 06:06:37 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-22 06:06:37 +0100
commit694523eeecf6b591e2929ab5830b9cb96b5f3bc4 (patch)
tree0ca7d7bd3ff81bcaacd357866677f3300b73892d /debian/rules
parent24986dd2ed990fc4390878df6c013d27a47fd695 (diff)
downloadnx-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/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
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