Merge pull request 'remove rsync from the code and patch make install' (#37) from Ohio2/repo:master into master

Reviewed-on: #37
This commit is contained in:
hippoz 2021-08-02 18:00:18 +01:00
commit c6db5d15b9
2 changed files with 8 additions and 4 deletions

View file

@ -9,6 +9,6 @@ make install DESTDIR="$1"
rsync -a ./busybox/ "$1"/bin/
cd "_install"
install linuxrc "$1"/linuxrc
rsync -a -v ./bin/ "$1"/bin/
rsync -a -v ./sbin/ "$1"/sbin/
rsync -a -v ./usr "$1"/usr/
cp -npr ./bin/ "$1"/bin/
cp -npr ./sbin/ "$1"/sbin/
cp -npr ./usr "$1"/usr/

View file

@ -5,4 +5,8 @@ cd make-4.3
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr
make
make DESTDIR="$1" install
gzip lib/make.1 lib/make.1.gz
cp make $1/usr/bin/make
cp doc/make.1.gz $1/usr/share/man/man1/
cp -npr /lib/* $1/lib