# recover version number from code\r
# thanks to Firman Pribadi for unix command line help\r
# on unix shells lasts char should be \\2/g )\r
-###export VERSION=$(shell grep -E "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g )\r
-export VERSION=3.0.0\r
+export VERSION=$(shell grep -E "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g )\r
\r
LIBFILES=lib/xmlrpc.inc lib/xmlrpcs.inc lib/xmlrpc_wrappers.inc\r
\r
cp ${INFOFILES} xmlrpc-${VERSION}\r
cd doc && $(MAKE) dist\r
# on unix shells last char should be \;\r
- ${FIND} xmlrpc-${VERSION} -type f ! -name "*.fttb" ! -name "*.pdf" ! -name "*.gif" -exec ${DOS2UNIX} {} ;\r
+ ${FIND} xmlrpc-${VERSION} -type f ! -name "*.fttb" ! -name "*.pdf" ! -name "*.gif" -exec ${DOS2UNIX} ;\r
-rm xmlrpc-${VERSION}.zip xmlrpc-${VERSION}.tar.gz\r
tar -cvf xmlrpc-${VERSION}.tar xmlrpc-${VERSION}\r
gzip xmlrpc-${VERSION}.tar\r