aboutsummaryrefslogtreecommitdiff
path: root/debian/Makefile.nx-libs
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-12 09:59:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-12 10:00:28 +0100
commit4157e8258b2f9f2d760df5aae1ccfadb5f3eb393 (patch)
tree4fa4eeaea1ecd8cda5264314d0287c06137beb73 /debian/Makefile.nx-libs
parent75c4785216a1e91bb403787eba7ce1959b6acd97 (diff)
downloadnx-libs-4157e8258b2f9f2d760df5aae1ccfadb5f3eb393.tar.gz
nx-libs-4157e8258b2f9f2d760df5aae1ccfadb5f3eb393.tar.bz2
nx-libs-4157e8258b2f9f2d760df5aae1ccfadb5f3eb393.zip
Makefile.nx-libs: Run make install for nxproxy first, then create the wrapper script.
Diffstat (limited to 'debian/Makefile.nx-libs')
-rw-r--r--debian/Makefile.nx-libs6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/Makefile.nx-libs b/debian/Makefile.nx-libs
index e85f40447..3aeda739b 100644
--- a/debian/Makefile.nx-libs
+++ b/debian/Makefile.nx-libs
@@ -60,10 +60,12 @@ install:
install-lite:
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
- for f in nxproxy; do \
- $(INSTALL_PROGRAM) bin/$$f $(DESTDIR)$(BINDIR); done
for d in nxcomp nxproxy; do \
$(MAKE) -C $$d install; done
+ mkdir -p $(DESTDIR)$(NXLIBDIR)/bin/
+ mv $(DESTDIR)$(BINDIR)/nxproxy $(DESTDIR)$(NXLIBDIR)/bin/
+ for f in nxproxy; do \
+ $(INSTALL_PROGRAM) bin/$$f $(DESTDIR)$(BINDIR); done
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/man/man1/
$(INSTALL_FILE) nxproxy/man/nxproxy.1 $(DESTDIR)$(PREFIX)/share/man/man1/