diff --git a/autoconf/Makefile b/autoconf/Makefile index abf1ef5..9dc39fd 100644 --- a/autoconf/Makefile +++ b/autoconf/Makefile @@ -4,6 +4,6 @@ prepare: autoconf: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/automake/Makefile b/automake/Makefile index 9e14866..aaed8ab 100644 --- a/automake/Makefile +++ b/automake/Makefile @@ -4,6 +4,6 @@ prepare: automake: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/bash/Makefile b/bash/Makefile index b8fd4be..960ad18 100644 --- a/bash/Makefile +++ b/bash/Makefile @@ -3,6 +3,6 @@ prepare: bash: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/busybox/Makefile b/busybox/Makefile index 5fb9641..eaafdab 100644 --- a/busybox/Makefile +++ b/busybox/Makefile @@ -5,6 +5,6 @@ busybox: make defconfig make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/git/Makefile b/git/Makefile index d5124cb..63d92d5 100644 --- a/git/Makefile +++ b/git/Makefile @@ -4,6 +4,6 @@ prepare: git: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/libc/Makefile b/libc/Makefile index b3b9a52..a48450c 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -4,6 +4,6 @@ prepare: libc: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/m4/Makefile b/m4/Makefile index ba5bfee..f6c3f24 100644 --- a/m4/Makefile +++ b/m4/Makefile @@ -6,6 +6,6 @@ make: ./configure make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/neofetch/Makefile b/neofetch/Makefile index 4adbd5f..e617480 100644 --- a/neofetch/Makefile +++ b/neofetch/Makefile @@ -2,7 +2,7 @@ PREFIX ?= /usr MANDIR ?= $(PREFIX)/share/man all: - @echo Run \'make install\' to install Neofetch. + @echo Run \'make install DESTDIR="${PREFIX}"\' to install Neofetch. install: @mkdir -p $(DESTDIR)$(PREFIX)/bin diff --git a/xorg/Makefile b/xorg/Makefile index 2f1f731..9493d12 100644 --- a/xorg/Makefile +++ b/xorg/Makefile @@ -1,10 +1,9 @@ prepare: git clone https://cgit.freedesktop.org/xorg/xserver/ cd xserver - PREFIX = $(prefix/) xorg: ./configure \ - --prefix=PREFIX \ + --prefix=${PREFIX} \ --localstatedir=/var \ --disable-systemd-logind \ --disable-xwayland \ @@ -19,6 +18,4 @@ xorg: --with-systemd-daemon=off make install: - make install - - + make install DESTDIR="${PREFIX}" diff --git a/xztools/Makefile b/xztools/Makefile index f7c9321..7fa4e99 100644 --- a/xztools/Makefile +++ b/xztools/Makefile @@ -1,16 +1,12 @@ prepare: - PREFIX = $(prefix/) git clone https://git.tukaani.org/xz.git cd xz make: ./configure \ - --prefix=PREFIX \ + --prefix=${PREFIX} \ --disable-nls make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall - - - diff --git a/zlib/Makefile b/zlib/Makefile index f1b809f..7ea967f 100644 --- a/zlib/Makefile +++ b/zlib/Makefile @@ -5,7 +5,7 @@ make: ./configure make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall diff --git a/zsh/Makefile b/zsh/Makefile index 11d4afd..f4db8be 100644 --- a/zsh/Makefile +++ b/zsh/Makefile @@ -3,6 +3,6 @@ prepare: zsh: make install: - make install + make install DESTDIR="${PREFIX}" uninstall: make uninstall