From 3ad1eca29ec0b04b15ede2b3233d14a75d1464f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Wed, 24 May 2006 12:33:19 +0000 Subject: [PATCH] * stage perftest sample event files if LB_PERF is defined --- org.glite.lb.common/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index fa3b1b1..3cbab7f 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -116,6 +116,13 @@ THRLTLIB:=libglite_lb_common_${thrflavour}.la REPORTS:=${top_srcdir}/reports +ifdef LB_PERF +STAGE_PERFTEST_EXAMPLES=mkdir -p ${PREFIX}/examples/perftest; \ + install -m 644 ${top_srcdir}/examples/*.log ${PREFIX}/examples/perftest +else +STAGE_PERFTEST_EXAMPLES=true +endif + default: all #all compile: check_version ${STATICLIB} ${LTLIB} ${THRSTATICLIB} ${THRLTLIB} ${TRIO_LIB} ${MAILDIR_LIB} @@ -224,7 +231,8 @@ install: if [ x${LB_STANDALONE} = xyes ]; then \ mkdir -p ${PREFIX}/include/glite/wmsutils/jobid ; \ install -m 644 glite/wmsutils/jobid/*.h ${PREFIX}/include/glite/wmsutils/jobid/ ; \ - fi \ + fi ; \ + ${STAGE_PERFTEST_EXAMPLES} ; \ fi clean: -- 1.8.2.3