summaryrefslogtreecommitdiff
path: root/install
blob: b30bf6bfc5ac8b47e46cf9f83f5ff14a102d1138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. ./conf-build

install_libs() { cp src/*.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!"