aboutsummaryrefslogtreecommitdiff
path: root/extra/info/build
blob: 5c2a320abe2459808d907ec22fe309b65d7d9451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e
# Standalone build for info that doesn't depend on Perl. Only the info page
# viewer.

export LDFLAGS="$LDFLAGS -static"
export PERL=/bin/true

./configure \
    --disable-nls \
    --disable-rpath

make -C gnulib/lib
make -C info
make -C install-info

clinst -Dm755 info/ginfo                 "$1/usr/bin/info"
clinst -Dm755 install-info/ginstall-info "$1/usr/bin/install-info"

clman -d "$1" man/info.1 man/install-info.1 man/info.5