remove rsync from the code and patch make install #37

Merged
hippoz merged 1 commit from Ohio2/repo:master into master 2021-08-02 20:00:20 +03:00
2 changed files with 8 additions and 4 deletions

View file

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

View file

@ -5,4 +5,8 @@ cd make-4.3
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr ./configure --prefix=/usr
make 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