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:

$ makefile: 2: *** Bad svn version v1 Install .4, v1.6. Go back.

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -