I want to detect a condition in my makefile where the tool is the wrong version and make make fail with an error message indicating that the item is not the correct version.
Can someone give an example of this?
I tried the following, but this is not the correct syntax:
ifeq "$(shell svnversion --version | sed s/[^0-9\.]*://)" "1.4" $error("Bad svnversion v1.4, please install v1.6") endif
Thank.
makefile gnu-make
WilliamKF Dec 08 '09 at 3:31 2009-12-08 03:31
source share