-export VERSION=$(shell egrep "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\\2/g )\r
-\r
-LIBFILES=xmlrpc.inc xmlrpcs.inc xmlrpc_wrappers.inc compat/*.php\r
-\r
-EXTRAFILES=test.pl \\r
- test.py \\r
- rsakey.pem \\r
- workspace.testPhpServer.fttb\r
-\r
-DEMOFILES=vardemo.php \\r
- demo1.txt \\r
- demo2.txt \\r
- demo3.txt\r
-\r
-DEMOSFILES=discuss.php \\r
- server.php \\r
- proxy.php\r
-\r
-DEMOCFILES=agesort.php \\r
- client.php \\r
- comment.php \\r
- introspect.php \\r
- mail.php \\r
- simple_call.php \\r
- which.php \\r
- wrap.php \\r
- zopetest.php\r
-\r
-TESTFILES=testsuite.php \\r
- benchmark.php \\r
- parse_args.php \\r
- phpunit.php \\r
- verify_compat.php \\r
- PHPUnit/*.php\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
+\r
+LIBFILES=lib/xmlrpc.inc lib/xmlrpcs.inc lib/xmlrpc_wrappers.inc \\r
+ src/*.php src/Helper/*.php\r
+\r
+EXTRAFILES=extras/test.pl \\r
+ extras/test.py \\r
+ extras/rsakey.pem \\r
+ extras/workspace.testPhpServer.fttb\r
+\r
+DEMOFILES=demo/vardemo.php \\r
+ demo/demo1.xml \\r
+ demo/demo2.xml \\r
+ demo/demo3.xml\r
+\r
+DEMOSFILES=demo/server/discuss.php \\r
+ demo/server/server.php \\r
+ demo/server/proxy.php\r
+\r
+DEMOCFILES=demo/client/agesort.php \\r
+ demo/client/client.php \\r
+ demo/client/comment.php \\r
+ demo/client/introspect.php \\r
+ demo/client/mail.php \\r
+ demo/client/simple_call.php \\r
+ demo/client/which.php \\r
+ demo/client/wrap.php \\r
+ demo/client/zopetest.php\r
+\r
+TESTFILES=test/testsuite.php \\r
+ tests/benchmark.php \\r
+ tests/parse_args.php \\r
+ test/InvalidHostTest.php \\r
+ test/LocalHostTest.php \\r
+ test/ParsingBugsTest.php \\r
+ tests/verify_compat.php\r