morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 1443555312c873e97cdf19702c13deb3824854a1
parent da375a7a29d05a2acd04001b66538615815aa920
Author: sin <sin@2f30.org>
Date:   Fri, 28 Feb 2014 15:27:55 +0000

Don't use make -C

Diffstat:
Mpkgs/dwm | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/pkgs/dwm b/pkgs/dwm @@ -3,10 +3,11 @@ build: tinyxlib cd src wget -c $url [ -d dwm ] || tar xzf dwm-git.tar.gz - make -C dwm clean - sed -i "s@X11INC = /usr/X11R6/include@X11INC = $libcroot/include @" dwm/config.mk - sed -i "s@X11LIB = /usr/X11R6/lib@X11LIB = $libcroot/lib @" dwm/config.mk - sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static @' dwm/config.mk - sed -i "s@CC = cc@CC = $CC@" dwm/config.mk - make -C dwm - make -C dwm DESTDIR=${root} install + cd dwm + make clean + sed -i "s@X11INC = /usr/X11R6/include@X11INC = $libcroot/include @" config.mk + sed -i "s@X11LIB = /usr/X11R6/lib@X11LIB = $libcroot/lib @" config.mk + sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static @' config.mk + sed -i "s@CC = cc@CC = $CC@" config.mk + make || return 1 + make DESTDIR=${root} install || return 1