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

# We are in ./src:

. ../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!"