]> git.armaanb.net Git - asd-repo.git/blob - extra/m4/build
m4, flex: replace with obsd implementations
[asd-repo.git] / extra / m4 / build
1 #!/usr/bin/sh -e
2
3 for i in libopenbsd libz yacc mv m4; do
4     make PREFIX=/usr -C "$i"
5 done
6
7 mkdir -p "$1/usr/share/man" "$1/usr/bin"
8
9 cd m4
10 install -Dm755 m4   "$1/usr/bin/m4"
11 install -Dm644 m4.1 "$1/usr/share/man/man1/m4.1"