aboutsummaryrefslogtreecommitdiff
path: root/debian/Makefile.nx-libs
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-16 05:45:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-16 06:09:24 +0100
commitd2ff2138b4710faab79145e8ac020d295754a8d6 (patch)
tree2a1f0d4fffe3bf5b6df656c696742c46ebd723e6 /debian/Makefile.nx-libs
parent0a423ce8f689bb934831f1fecc41b6db5c5c8fdb (diff)
downloadnx-libs-d2ff2138b4710faab79145e8ac020d295754a8d6.tar.gz
nx-libs-d2ff2138b4710faab79145e8ac020d295754a8d6.tar.bz2
nx-libs-d2ff2138b4710faab79145e8ac020d295754a8d6.zip
Make install-lite rule in Makefile.nx-libs more predictable and not rely on nxproxy/Makefile.in.
Diffstat (limited to 'debian/Makefile.nx-libs')
-rw-r--r--debian/Makefile.nx-libs15
1 files changed, 10 insertions, 5 deletions
diff --git a/debian/Makefile.nx-libs b/debian/Makefile.nx-libs
index 52326fb22..2c2cf3548 100644
--- a/debian/Makefile.nx-libs
+++ b/debian/Makefile.nx-libs
@@ -59,17 +59,22 @@ install:
[ ! -d nx-X11 ] || $(MAKE) install-full
install-lite:
+ # install nxcomp library
+ $(MAKE) -C nxcomp install
+
+ # install nxproxy wrapper script
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
- for d in nxcomp nxproxy; do \
- $(MAKE) -C $$d install; done
- for f in nxproxy; do \
- $(INSTALL_PROGRAM) bin/$$f $(DESTDIR)$(BINDIR); done
+ $(INSTALL_PROGRAM) bin/nxproxy $(DESTDIR)$(BINDIR)
+
+ # FIXME: the below install logic should work via nxproxy/Makefile.in
+ # overriding for now...
+ $(INSTALL_DIR) $(DESTDIR)$(NXLIBDIR)/bin
+ $(INSTALL_PROGRAM) nxproxy/nxproxy $(DESTDIR)$(NXLIBDIR)/bin
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/man/man1/
$(INSTALL_FILE) nxproxy/man/nxproxy.1 $(DESTDIR)$(PREFIX)/share/man/man1/
gzip $(DESTDIR)$(PREFIX)/share/man/man1/*.1
-
install-full:
for f in nxagent nxauth x2goagent; do \
$(INSTALL_PROGRAM) bin/$$f $(DESTDIR)$(BINDIR); done