better way of query-tests exampels installation
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 4 Apr 2006 11:02:16 +0000 (11:02 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 4 Apr 2006 11:02:16 +0000 (11:02 +0000)
org.glite.jp.index/Makefile

index 85500b6..ef0864a 100644 (file)
@@ -22,7 +22,7 @@ CC=gcc
 -include Makefile.inc
 
 
-VPATH=${top_srcdir}/src:${top_srcdir}/examples:${top_srcdir}/examples/query-tests:${top_srcdir}/tests:${top_srcdir}/test:${top_srcdir}/project:${top_srcdir}/doc:${jpproject}:${stagedir}/interface
+VPATH=${top_srcdir}/src:${top_srcdir}/examples:${top_srcdir}/tests:${top_srcdir}/test:${top_srcdir}/project:${top_srcdir}/doc:${jpproject}:${stagedir}/interface
 
 GLOBUS_LIBS:=-L${globus_prefix}/lib \
        -lglobus_common_${nothrflavour} \
@@ -96,7 +96,9 @@ glite-jpis-client: ${EXA_CLIENT_OBJS}
        ${LINK} -o $@ $+ ${GSOAPLIB}
 
 copy_tests: ${test} ${test_files}
-       -for i in $?; do cp $$i  ${top_srcdir}/build; done
+
+${test} ${test_files}:
+       for i in $@; do cp ${top_srcdir}/examples/query-tests/$$i  ${top_srcdir}/build; done
 
 JobProvenanceIS.xh: JobProvenanceIS.wsdl JobProvenanceTypes.wsdl typemap.dat
        cp  ${stagedir}/interface/JobProvenanceTypes.wsdl .