repo/core/make/build
nitori 0b15002ecc
make: replace with pdpmake, at 1.4.1
split from patch provided by emma
2024-01-02 17:45:31 +00:00

13 lines
175 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
export PREFIX=/usr
cc -o make *.c
./make
./make test
mkdir -p "$1/usr/bin"
cp -f make "$1/usr/bin/pdpmake"
ln -s pdpmake "$1/usr/bin/make"