aboutsummaryrefslogtreecommitdiff
path: root/extra/libnghttp2/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libnghttp2/build')
-rwxr-xr-xextra/libnghttp2/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/libnghttp2/build b/extra/libnghttp2/build
new file mode 100755
index 00000000..dc08efc4
--- /dev/null
+++ b/extra/libnghttp2/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --enable-lib-only
+
+make
+make DESTDIR="$1" install
+
+# Even when only installing libraries, the build system installs manual pages
+# and documentation for the utilities.
+rm -r "${1:?}/usr/share"