summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall14
1 files changed, 14 insertions, 0 deletions
diff --git a/install b/install
new file mode 100755
index 0000000..ef58eaa
--- /dev/null
+++ b/install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+. ./conf-build
+
+install_libs() { cp *.a $OFILES "$LIBDIR" ; }
+install_hdrs() { cp include/*.h "$HDRDIR" ; }
+
+echo -n "Installing qlibs ..."
+mkdir -p "$LIBDIR" "$HDRDIR" 2>/dev/null
+
+[ "$LIBDIR" ] && install_libs
+[ "$HDRDIR" ] && install_hdrs
+
+echo " done!"