13 lines
263 B
Bash
Executable File
13 lines
263 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export CFLAGS="$CFLAGS -fcommon"
|
|
cp makefile.mid ./Makefile
|
|
|
|
make PREFIX=/usr
|
|
make PREFIX=/usr DESTDIR="$1" install
|
|
|
|
# Prevent 9yacc from actually installing
|
|
for file in /usr/bin/yacc /usr/yacc /usr/share/man/man1/yacc.1
|
|
do rm -rf "$1$file"
|
|
done
|