repo/core/mandoc/build

17 lines
289 B
Plaintext
Raw Normal View History

2019-08-13 04:49:28 -06:00
#!/bin/sh -e
2019-08-13 10:43:52 -06:00
sed -i'' 's,"more -s","less",g' main.c
2019-08-13 04:49:28 -06:00
cat > configure.local <<EOF
PREFIX=/usr
MANDIR=/usr/share/man
LIBDIR=/usr/lib
CFLAGS="$CFLAGS"
MANPATH_DEFAULT=/usr/share/man
LN="ln -sf"
EOF
MANPATH_BASE=/usr/share/man ./configure
make
make -j1 DESTDIR="$1" base-install lib-install