aboutsummaryrefslogtreecommitdiff
path: root/extra/zip/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/zip/build')
-rwxr-xr-xextra/zip/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/zip/build b/extra/zip/build
new file mode 100755
index 00000000..bb3316b4
--- /dev/null
+++ b/extra/zip/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+make \
+ prefix=/usr \
+ CC="${CC:-gcc} $CFLAGS $CXXFLAGS" \
+ -f unix/Makefile generic
+
+make \
+ prefix="$1/usr" \
+ MANDIR="$1/usr/share/man/man1" \
+ -f unix/Makefile install
+