aboutsummaryrefslogtreecommitdiff
path: root/install.do
blob: cc11bd4804a0827b4644309507382d2d9d1f5750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. ./config.rc
redo all

# Install executables.
mkdir -p "${DESTDIR}${BINDIR}"
getbin | while read -r file; do
    cp "$file" "${DESTDIR}${BINDIR}/${file##*/}"
    chmod 755 "${DESTDIR}${BINDIR}/${file##*/}"
done

# Install manual pages.
mkdir -p "${DESTDIR}${MAN1}"
for man in man/*.1; do
    cp "$man" "${DESTDIR}${MAN1}/${man##*/}"
    chmod 644 "${DESTDIR}${MAN1}/${man##*/}"
done