diff --git a/bash/Makefile b/bash/Makefile index 960ad18..cf2532b 100644 --- a/bash/Makefile +++ b/bash/Makefile @@ -1,5 +1,6 @@ prepare: - git clone https://git.savannah.gnu.org/git/bash.git && cd bash + git clone https://git.savannah.gnu.org/git/bash.git + cd bash bash: make install: diff --git a/flex/Makefile b/flex/Makefile index 82b1d2d..ba31eb0 100644 --- a/flex/Makefile +++ b/flex/Makefile @@ -7,6 +7,7 @@ make: --prefix=/usr \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes + make install: make install DESTDIR="${PREFIX}" diff --git a/gcc/Makefile b/gcc/Makefile index 4b8c576..46d23ec 100644 --- a/gcc/Makefile +++ b/gcc/Makefile @@ -1,8 +1,11 @@ prepare: - git clone git://gcc.gnu.org/git/gcc.git && cd gcc + git clone git://gcc.gnu.org/git/gcc.git + cd gcc gcc: - ./configure + mkdir build + cd build + ./configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++ install: - ./install-sh + make install DESTDIR="${PREFIX}" uninstall: rm -rf /usr/bin/gcc diff --git a/zsh/Makefile b/zsh/Makefile index f4db8be..56c4dea 100644 --- a/zsh/Makefile +++ b/zsh/Makefile @@ -1,5 +1,6 @@ prepare: - git clone https://github.com/zsh-users/zsh.git && cd zsh + git clone https://github.com/zsh-users/zsh.git + cd zsh zsh: make install: