aboutsummaryrefslogtreecommitdiff
path: root/extra/kcgi/build
blob: f6bc745bd97f5b9139b4fbd746167748e0f15807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

# Modify Makefile to make it POSIX
sed -i '/^\.for/,/^\.endfor/d' Makefile

./configure \
    PREFIX=/usr \
    SBINDIR=/usr/bin \
    MANDIR=/usr/share/man

make
make DESTDIR="$1" install