Do a make clean wherever it is sensible

This commit is contained in:
sin 2014-02-28 15:25:23 +00:00
parent 6a60a6e01f
commit da375a7a29
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ build: ncurses
wget -c $url
[ -d dvtm-$v ] || tar -xzf dvtm-$v.tar.gz
cd dvtm-$v
make clean
sed -i "s@PREFIX = /usr/local@PREFIX = /@" config.mk
sed -i "s@INCS = -I. -I/usr/include -I/usr/local/include@INCS = -I. -I$libcroot/include -I$libcroot/include/ncursesw@" config.mk
sed -i "s@LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}@LDFLAGS += -L$libcroot/lib ${LIBS} -static @" config.mk

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,5 +4,6 @@ build: tinyxlib
wget -c $url
[ -d uuterm ] || tar xzf uuterm.tar.gz
cd uuterm
make clean
make CC=$CC LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1
cp uuterm-x11 "$root/bin"