aboutsummaryrefslogtreecommitdiff
path: root/debian/Makefile.nx-libs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/Makefile.nx-libs')
-rw-r--r--debian/Makefile.nx-libs7
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