Commit 694523ee authored by Mike Gabriel's avatar Mike Gabriel

debian/rules: Backup nxcomp/VERSION file from NoMachine before replacing it with…

debian/rules: Backup nxcomp/VERSION file from NoMachine before replacing it with a symlink to debian/VERSION. Recreate the original file when cleaning up.
parent 24986dd2
...@@ -11,6 +11,10 @@ nx-libs (2:3.5.0.29-0x2go1) UNRELEASED; urgency=medium ...@@ -11,6 +11,10 @@ nx-libs (2:3.5.0.29-0x2go1) UNRELEASED; urgency=medium
without. without.
* Update 320_nxagent_configurable-keystrokes.full.patch. Fix patch header * Update 320_nxagent_configurable-keystrokes.full.patch. Fix patch header
referring to keystrokes.cfg (plural), not keystroke.cfg. 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 ] [ Horst Schirmeier ]
* Update 320_nxagent_configurable-keystrokes.full.patch. Fix a typo that * Update 320_nxagent_configurable-keystrokes.full.patch. Fix a typo that
......
...@@ -22,6 +22,7 @@ override_dh_clean: ...@@ -22,6 +22,7 @@ override_dh_clean:
rm -f nx-X11/programs/nxauth/changelog rm -f nx-X11/programs/nxauth/changelog
rm -Rf replace.sh Makefile bin rgb VERSION.x2goagent etc/keystrokes.cfg rm -Rf replace.sh Makefile bin rgb VERSION.x2goagent etc/keystrokes.cfg
rm -f debian/libnx-x11.postinst rm -f debian/libnx-x11.postinst
if [ -f nxcomp/.VERSION.NoMachine ]; then mv nxcomp/.VERSION.NoMachine nxcomp/VERSION; fi
dh_clean dh_clean
override_dh_auto_install: override_dh_auto_install:
...@@ -32,6 +33,7 @@ override_dh_auto_build: ...@@ -32,6 +33,7 @@ override_dh_auto_build:
# create copies of upstream changelogs so that names apply to Debian policy... # create copies of upstream changelogs so that names apply to Debian policy...
cp -a nx-X11/CHANGELOG nx-X11/changelog cp -a nx-X11/CHANGELOG nx-X11/changelog
cp -a nxcomp/CHANGELOG nxcomp/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 nxcompext/CHANGELOG nxcompext/changelog
cp -a nxcompshad/CHANGELOG nxcompshad/changelog cp -a nxcompshad/CHANGELOG nxcompshad/changelog
cp -a nx-X11/programs/Xserver/hw/nxagent/CHANGELOG nx-X11/programs/Xserver/hw/nxagent/changelog cp -a nx-X11/programs/Xserver/hw/nxagent/CHANGELOG nx-X11/programs/Xserver/hw/nxagent/changelog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment