aboutsummaryrefslogtreecommitdiff
path: root/debian/post-build-nx.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-01-02 15:55:33 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-01-02 15:55:33 +0100
commitbfe6f4349e15fe2ae70e773552e1dc080f04b68d (patch)
treecffdbeaafe214a875c47ca0e4777f2bca43fd873 /debian/post-build-nx.sh
parent36a2247e0e65d7b30f95687aaa43f51c373fcc24 (diff)
downloadnx-libs-bfe6f4349e15fe2ae70e773552e1dc080f04b68d.tar.gz
nx-libs-bfe6f4349e15fe2ae70e773552e1dc080f04b68d.tar.bz2
nx-libs-bfe6f4349e15fe2ae70e773552e1dc080f04b68d.zip
Continue Reinhard's work on top-level install/uninstall. Esp. integrate debian/post-nx-build.sh into main Makefile. Make value of CONFIGURE variable traversable through the Makefile tree.
Diffstat (limited to 'debian/post-build-nx.sh')
-rwxr-xr-xdebian/post-build-nx.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/post-build-nx.sh b/debian/post-build-nx.sh
deleted file mode 100755
index 94f18ac3c..000000000
--- a/debian/post-build-nx.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-# create nx-X11/.build-exports
-mkdir -p nx-X11/.build-exports/include
-mkdir -p nx-X11/.build-exports/lib
-
-# copy headers (libnx-x11-dev)
-cp -aL nx-X11/exports/include/* nx-X11/.build-exports/include
-
-# copy libs (libnx-x11)
-find nx-X11/exports/lib/ | egrep "^.*\.so$" | while read libpath; do
- libfile=$(basename $libpath)
- libdir=$(dirname $libpath)
-
- mkdir -p ${libdir//exports/.build-exports}
- cp -L $libpath ${libdir//exports/.build-exports}
-
- find $libdir/$libfile.* | while read symlink; do
- ln -s $libfile ${libdir//exports/.build-exports}/$(basename $symlink)
- done
-done
-
-exit 0