summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 5 insertions, 3 deletions
diff --git a/install b/install
index b30bf6b..5401000 100755
--- a/install
+++ b/install
@@ -1,9 +1,11 @@
#!/bin/sh
-. ./conf-build
+# We are in ./src:
-install_libs() { cp src/*.a $OFILES "$LIBDIR" ; }
-install_hdrs() { cp include/*.h "$HDRDIR" ; }
+. ../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