summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 13:02:45 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 13:02:45 +0200
commit96cf8dffe4f7b0b910f790066ae622dc429eb522 (patch)
treecc1343a0ac92bb4836cae2dd63a97fa045765e7f /install
initial commit of version 23fehQlibs-23
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!"