]> git.armaanb.net Git - asd-repo.git/blob - core/ugrep/build
ugrep: make more compatible
[asd-repo.git] / core / ugrep / build
1 #!/usr/bin/sh -e
2
3 ./configure \
4     --prefix=/usr \
5     --sysconfdir=/etc \
6     --mandir=/usr/share/man
7
8 make
9 make DESTDIR="$1" install
10
11 ln -s /usr/share/man/man1/ugrep.1 "$1/usr/share/man/man1/grep.1"
12
13 for i in grep fgrep egrep; do
14     install -Dm755 "$i" "$1/usr/bin/$i"
15 done