diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-05-06 22:38:51 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-05-06 22:38:51 +0200 |
commit | d8a55d2c604a770133dcb0216f5d6fd7d087c2a3 (patch) | |
tree | b96f684b7eb4a0316504887c06d2aa2af5519b8b /debian/Makefile.nx-libs | |
parent | dc5faf7afc6ac120e909c18203dd74a393fdaa2a (diff) | |
download | nx-libs-d8a55d2c604a770133dcb0216f5d6fd7d087c2a3.tar.gz nx-libs-d8a55d2c604a770133dcb0216f5d6fd7d087c2a3.tar.bz2 nx-libs-d8a55d2c604a770133dcb0216f5d6fd7d087c2a3.zip |
Provide a default keystrokes.cfg in /etc/nx (for nxagent) and /etc/x2go (for x2goagent). (Fixes: #199).
Diffstat (limited to 'debian/Makefile.nx-libs')
-rw-r--r-- | debian/Makefile.nx-libs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/Makefile.nx-libs b/debian/Makefile.nx-libs index 02e7d12d4..3083a089a 100644 --- a/debian/Makefile.nx-libs +++ b/debian/Makefile.nx-libs @@ -7,6 +7,8 @@ COPY_SYMLINK=cp -a RM_FILE=rm -f RM_DIR=rmdir -p --ignore-fail-on-non-empty +ETCDIR_NX ?= /etc/nx +ETCDIR_X2GO ?= /etc/x2go PREFIX ?= /usr/local BINDIR=$(PREFIX)/bin NXLIBDIR=$(PREFIX)/lib/nx @@ -127,6 +129,11 @@ install-full: $(INSTALL_FILE) nx-X11/extras/Mesa/include/GLES/*.h \ $(DESTDIR)$(PREFIX)/include/nx/extras/Mesa/GLES/ + $(INSTALL_DIR) $(DESTDIR)/$(ETCDIR_NX) + $(INSTALL_DIR) $(DESTDIR)/$(ETCDIR_X2GO) + $(INSTALL_FILE) etc/keystrokes.cfg $(DESTDIR)/$(ETCDIR_NX)/ + $(INSTALL_FILE) etc/keystrokes.cfg $(DESTDIR)/$(ETCDIR_X2GO)/ + uninstall: $(MAKE) uninstall-lite [ ! -d nx-X11 ] || $(MAKE) uninstall-full |