makefile - How to force an error in a gnumake file -
I want to find a condition in my makefile where an instrument is the wrong version and the correct version of pointing to an error message item is not.
Can someone give an example of doing this?
I tried the following, but this is not the correct syntax:
ifeq "$ (shell svnversion --version | sed s / [^ 0-9.] *: //) "1.4" $ error ("Install bad svnversion v1.4, v1.6"), endiff
thanks.
From:
$ (Error Bad svn version v1.4, please install v1.6)
This will result in creating
for a fatal error:
Comments
Post a Comment