X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=blobdiff_plain;f=Makefile;h=d1c837bad9cf799193fb8f4fee841d7ae48247a6;hp=a421f20dc387d221fde901a530ee69ea9c9c9ba0;hb=f9fab3f48990c93fd9a43dc98bb3613a847b6358;hpb=e885361eab7c181fe3b2e6923ced3de43ba3e285 diff --git a/Makefile b/Makefile index a421f20..d1c837b 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ PHPINCLUDEDIR=/usr/local/lib/php # mkdir is a thorny beast under windows: make sure we can not use the cmd version, running eg. "make MKDIR=mkdir.exe" MKDIR=mkdir -#find too +# find too FIND=find @@ -20,7 +20,7 @@ FIND=find # recover version number from code # thanks to Firman Pribadi for unix command line help # on unix shells lasts char should be \\2/g ) -export VERSION=$(shell egrep "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g ) +export VERSION=$(shell grep -E "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g ) LIBFILES=lib/xmlrpc.inc lib/xmlrpcs.inc lib/xmlrpc_wrappers.inc