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:01:18 +0100
commitd569145e640c40ea4cccbdd8703a254618b10c73 (patch)
tree2c1682660b50e709fb62bdb264b2aa268eb61274 /debian/Makefile.nx-libs
parenta7cc4edef158a1d7c02eb074baf74b7bd3cb0fec (diff)
downloadnx-libs-d569145e640c40ea4cccbdd8703a254618b10c73.tar.gz
nx-libs-d569145e640c40ea4cccbdd8703a254618b10c73.tar.bz2
nx-libs-d569145e640c40ea4cccbdd8703a254618b10c73.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/