Hello,
I'm writing a Makefile for installation of my client servers, but I've run into problems. In my Makefile I have the following line
So when I do
Other similar statements are working fine in my script. Any suggestions ?
I'm writing a Makefile for installation of my client servers, but I've run into problems. In my Makefile I have the following line
Code:
/usr/local/bin/axel:
-pkg_add http://${REPO}/${OS}/Latest/axel.tbz
if [ ! -f $@ ]; then cd /usr/ports/ftp/axel && make -s package-recursive clean; fi
So when I do
make /usr/local/bin/axel
it doesn't do anything. It's like if the if statement is not correct - and does not cd to /usr/ports/ftp/axel.Other similar statements are working fine in my script. Any suggestions ?