From: jiehua.xiong Date: Thu, 10 Oct 2013 07:53:14 +0000 (+0800) Subject: Update build files for gbs build X-Git-Tag: 2.2.1_release~79^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54eaac1fb161561edec3eaf0aa68104f8650bca5;p=test%2Ftct%2Fweb%2Fapi.git Update build files for gbs build Change-Id: I59ee7c539b8f0269eb350e0a1420a9966f598937 --- diff --git a/inst.sh b/inst.sh index 2b11e8356..b728f0729 100755 --- a/inst.sh +++ b/inst.sh @@ -33,21 +33,20 @@ BUILD_ROOT=$1 BUILD_DIR=$2 VERSION="$3-*" SUB_PKG_NAME=$5 +prefix=/opt/usr/media/tct mkdir -p $BUILD_DIR/$SUB_PKG_NAME/opt -mkdir -p $BUILD_DIR/$SUB_PKG_NAME/usr/share/$SUB_PKG_NAME -cp -ar $BUILD_ROOT/opt/$SUB_PKG_NAME $BUILD_DIR/$SUB_PKG_NAME/opt/$SUB_PKG_NAME +cp -ar $BUILD_ROOT/$prefix/opt/$SUB_PKG_NAME $BUILD_DIR/$SUB_PKG_NAME/opt/$SUB_PKG_NAME cp -af $BUILD_DIR/$VERSION/$SUB_PKG_NAME/manifest.json $BUILD_DIR/$SUB_PKG_NAME cp -af $BUILD_DIR/$VERSION/$SUB_PKG_NAME/icon.png $BUILD_DIR/$SUB_PKG_NAME cp -af $BUILD_DIR/$VERSION/$SUB_PKG_NAME/config.xml.wgt $BUILD_DIR/$SUB_PKG_NAME/config.xml -cp -af $BUILD_DIR/$VERSION/$SUB_PKG_NAME/tests.xml $BUILD_DIR/$SUB_PKG_NAME/usr/share/$SUB_PKG_NAME cd $BUILD_DIR/$SUB_PKG_NAME cat > index.html << EOF - + EOF @@ -55,14 +54,12 @@ mkdir -p $BUILD_ROOT/opt/$SUB_PKG_NAME rm -f `find * -name *.wgt` -zip -rq $BUILD_ROOT/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt * +zip -rq $BUILD_ROOT/$prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt * if [ $4 -eq 1 ];then -hash-signer.sh -ad -p platform $BUILD_ROOT/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt +hash-signer.sh -ad -p platform $BUILD_ROOT/$prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fi cd - -mkdir -p $BUILD_ROOT/usr/share/$SUB_PKG_NAME - rm -rf $BUILD_DIR/$SUB_PKG_NAME diff --git a/packaging/tct-webapi.spec b/packaging/tct-webapi.spec index 99422c0be..dfcd81347 100755 --- a/packaging/tct-webapi.spec +++ b/packaging/tct-webapi.spec @@ -1,4 +1,5 @@ -%define _unpackaged_files_terminate_build 0 +%define _unpackaged_files_terminate_build 0 +%define prefix /opt/usr/media/tct Summary: Template Tizen Integration Test Suite Name: tct-webapi @@ -1184,18 +1185,15 @@ This is webapi w3c xmlhttprequest test suite package %build unset LD_AS_NEEDED ./autogen -./configure --prefix=/usr +./configure --prefix=%prefix make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name "Makefile*" -delete -mkdir -p $RPM_BUILD_ROOT/usr/bin -chmod 755 $RPM_BUILD_DIR/%name-*/tct-testconfig/tct-testconfig.sh -cp -a $RPM_BUILD_DIR/%name-*/tct-testconfig/tct-testconfig.sh $RPM_BUILD_ROOT/usr/bin/ - -hash-signer.sh -ad -p platform $RPM_BUILD_ROOT/opt/tct-security-tcs-tests/security/support/sharedDirTestApp.wgt +hash-signer.sh -ad -p platform $RPM_BUILD_ROOT/%prefix/opt/tct-security-tcs-tests/security/support/sharedDirTestApp.wgt sh inst.sh $RPM_BUILD_ROOT $RPM_BUILD_DIR %name "1" "tct-capability-tests" sh inst.sh $RPM_BUILD_ROOT $RPM_BUILD_DIR %name "1" "tct-privilege-tizen-tests" @@ -1300,13 +1298,30 @@ rm -rf $RPM_BUILD_ROOT %changelog %files -n tct-testconfig -/opt/tct-testconfig -/usr/share/tct-testconfig -/usr/bin/tct-testconfig.sh +%prefix/opt/tct-testconfig + +%post -n tct-testconfig +SUB_PKG_NAME=tct-testconfig +wgt_installer="wrt-installer" + +### copy json file ### +if [ -f %prefix/opt/$SUB_PKG_NAME/preconfigure.json ];then + cp -f %prefix/opt/$SUB_PKG_NAME/preconfigure.json /opt/usr/media/tct/ +else + echo "cp file fails, please check if exists file: %prefix/opt/$SUB_PKG_NAME/preconfigure.json..." +fi + +%postun -n tct-testconfig +SUB_PKG_NAME=tct-testconfig +wgt_installer="wrt-installer" + +###### remove preconfigure.json from /opt/usr/media/ ###### +if [ -f /opt/usr/media/tct/preconfigure.json ]; then + rm -f /opt/usr/media/tct/preconfigure.json +fi %files -n tct-capability-tests -/opt/tct-capability-tests -/usr/share/tct-capability-tests +%prefix/opt/tct-capability-tests %post -n tct-capability-tests SUB_PKG_NAME=tct-capability-tests @@ -1314,12 +1329,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -1357,8 +1372,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-privilege-tizen-tests -/opt/tct-privilege-tizen-tests -/usr/share/tct-privilege-tizen-tests +%prefix/opt/tct-privilege-tizen-tests %post -n tct-privilege-tizen-tests SUB_PKG_NAME=tct-privilege-tizen-tests @@ -1366,12 +1380,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -1409,8 +1423,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-alarm-tizen-tests -/opt/tct-alarm-tizen-tests -/usr/share/tct-alarm-tizen-tests +%prefix/opt/tct-alarm-tizen-tests %post -n tct-alarm-tizen-tests SUB_PKG_NAME=tct-alarm-tizen-tests @@ -1418,14 +1431,14 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi - [ -e /opt/$SUB_PKG_NAME/UnitTest-AlarmTest1.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/UnitTest-AlarmTest1.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/UnitTest-AlarmTest1.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/UnitTest-AlarmTest1.wgt sync fi @@ -1482,9 +1495,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-appcontrol-tizen-tests -/opt/tct-appcontrol-tizen-tests -/usr/share/tct-appcontrol-tizen-tests -/opt/usr/media/tct-appcontrol-tizen-tests +%prefix/opt/tct-appcontrol-tizen-tests %post -n tct-appcontrol-tizen-tests SUB_PKG_NAME=tct-appcontrol-tizen-tests @@ -1492,15 +1503,22 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + mkdir -p /opt/usr/media/$SUB_PKG_NAME/ + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/$SUB_PKG_NAME/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-appcontrol-tizen-tests SUB_PKG_NAME=tct-appcontrol-tizen-tests @@ -1531,14 +1549,17 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +if [ -d /opt/usr/media/$SUB_PKG_NAME ]; then + rm -f /opt/usr/media/$SUB_PKG_NAME +else + echo "Remove media files fail, please check if exists file: /opt/usr/media/$SUB_PKG_NAME ..." +fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-application-tizen-tests -/opt/tct-application-tizen-tests -/usr/share/tct-application-tizen-tests -/opt/usr/media/Others/TCTAppInfoEventTest1.wgt -/opt/usr/media/Others/TCTAppInfoEventTest2.wgt +%prefix/opt/tct-application-tizen-tests %post -n tct-application-tizen-tests SUB_PKG_NAME=tct-application-tizen-tests @@ -1546,16 +1567,22 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync - [ -e /opt/$SUB_PKG_NAME/TCTAppControl.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/TCTAppControl.wgt - [ -e /opt/$SUB_PKG_NAME/TCTAppControlMock.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/TCTAppControlMock.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/TCTAppControl.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/TCTAppControl.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/TCTAppControlMock.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/TCTAppControlMock.wgt +fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/Others/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." fi %postun -n tct-application-tizen-tests @@ -1608,12 +1635,22 @@ if [ $? -eq 0 ]; then fi done fi +### remove media files ### +MEDIAFILE="TCTAppInfoEventTest1.wgt +TCTAppInfoEventTest2.wgt" + +for mediafile in $MEDIAFILE;do + if [ -f /opt/usr/media/Others/$mediafile ]; then + rm -f /opt/usr/media/Others/$mediafile + else + echo "Remove media files fail, please check if exists file: /opt/usr/media/Others/$mediafile ..." + fi +done rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-bluetooth-tizen-tests -/opt/tct-bluetooth-tizen-tests -/usr/share/tct-bluetooth-tizen-tests +%prefix/opt/tct-bluetooth-tizen-tests %post -n tct-bluetooth-tizen-tests SUB_PKG_NAME=tct-bluetooth-tizen-tests @@ -1621,16 +1658,15 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync - - [ -e /opt/$SUB_PKG_NAME/tct_bt_helper.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/tct_bt_helper.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/tct_bt_helper.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/tct_bt_helper.wgt fi %postun -n tct-bluetooth-tizen-tests @@ -1672,8 +1708,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-bookmark-tizen-tests -/opt/tct-bookmark-tizen-tests -/usr/share/tct-bookmark-tizen-tests +%prefix/opt/tct-bookmark-tizen-tests %post -n tct-bookmark-tizen-tests SUB_PKG_NAME=tct-bookmark-tizen-tests @@ -1681,12 +1716,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -1724,8 +1759,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-calendar-tizen-tests -/opt/tct-calendar-tizen-tests -/usr/share/tct-calendar-tizen-tests +%prefix/opt/tct-calendar-tizen-tests %post -n tct-calendar-tizen-tests SUB_PKG_NAME=tct-calendar-tizen-tests @@ -1733,12 +1767,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -1776,8 +1810,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-callhistory-tizen-tests -/opt/tct-callhistory-tizen-tests -/usr/share/tct-callhistory-tizen-tests +%prefix/opt/tct-callhistory-tizen-tests %post -n tct-callhistory-tizen-tests SUB_PKG_NAME=tct-callhistory-tizen-tests @@ -1785,12 +1818,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -1828,12 +1861,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-contact-tizen-tests -/opt/tct-contact-tizen-tests -/usr/share/tct-contact-tizen-tests -/opt/usr/media/webapi-tizen-contact-test_ring1.mp3 -/opt/usr/media/webapi-tizen-contact-test_ring2.mp3 -/opt/usr/media/webapi-tizen-contact-test_image1.png -/opt/usr/media/webapi-tizen-contact-test_image2.png +%prefix/opt/tct-contact-tizen-tests %post -n tct-contact-tizen-tests SUB_PKG_NAME=tct-contact-tizen-tests @@ -1841,15 +1869,21 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-contact-tizen-tests SUB_PKG_NAME=tct-contact-tizen-tests @@ -1880,27 +1914,24 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +MEDIAFILE="webapi-tizen-contact-test_ring1.mp3 +webapi-tizen-contact-test_ring2.mp3 +webapi-tizen-contact-test_image1.png +webapi-tizen-contact-test_image2.png" + +for mediafile in $MEDIAFILE;do + if [ -f /opt/usr/media/$mediafile ]; then + rm -f /opt/usr/media/$mediafile + else + echo "Remove media files fail, please check if exists file: /opt/usr/media/$mediafile ..." + fi +done rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-content-tizen-tests -/opt/tct-content-tizen-tests -/usr/share/tct-content-tizen-tests -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_audio_default.mp3 -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_audio_no_tag.mp3 -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_audio_lyrics.mp3 -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_video.mp4 -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_video_tagged.mp4 -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_default.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_geolocation.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_1.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_2.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_3.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_4.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_5.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_6.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_7.jpg -/opt/usr/media/tct-content-tizen-tests/tct-content-tizen-tests_image_orientation_8.jpg +%prefix/opt/tct-content-tizen-tests %post -n tct-content-tizen-tests SUB_PKG_NAME=tct-content-tizen-tests @@ -1908,16 +1939,23 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload chsmack -a '_' /opt/usr/media/tct-content-tizen-tests else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + mkdir -p /opt/usr/media/$SUB_PKG_NAME + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/$SUB_PKG_NAME/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-content-tizen-tests SUB_PKG_NAME=tct-content-tizen-tests @@ -1948,12 +1986,17 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +if [ -d /opt/usr/media/$SUB_PKG_NAME ]; then + rm -rf /opt/usr/media/$SUB_PKG_NAME +else + echo "Remove media files fail, please check if exists file: /opt/usr/media/$SUB_PKG_NAME ..." +fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-datacontrol-tizen-tests -/opt/tct-datacontrol-tizen-tests -/usr/share/tct-datacontrol-tizen-tests +%prefix/opt/tct-datacontrol-tizen-tests %post -n tct-datacontrol-tizen-tests SUB_PKG_NAME=tct-datacontrol-tizen-tests @@ -1961,12 +2004,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2004,8 +2047,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-datasync-tizen-tests -/opt/tct-datasync-tizen-tests -/usr/share/tct-datasync-tizen-tests +%prefix/opt/tct-datasync-tizen-tests %post -n tct-datasync-tizen-tests SUB_PKG_NAME=tct-datasync-tizen-tests @@ -2013,12 +2055,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2056,8 +2098,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-filesystem-tizen-tests -/opt/tct-filesystem-tizen-tests -/usr/share/tct-filesystem-tizen-tests +%prefix/opt/tct-filesystem-tizen-tests %post -n tct-filesystem-tizen-tests SUB_PKG_NAME=tct-filesystem-tizen-tests @@ -2065,12 +2106,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2108,8 +2149,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-messageport-tizen-tests -/opt/tct-messageport-tizen-tests -/usr/share/tct-messageport-tizen-tests +%prefix/opt/tct-messageport-tizen-tests %post -n tct-messageport-tizen-tests SUB_PKG_NAME=tct-messageport-tizen-tests @@ -2117,12 +2157,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2160,10 +2200,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-messaging-email-tizen-tests -/opt/tct-messaging-email-tizen-tests -/usr/share/tct-messaging-email-tizen-tests -/opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg -/opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 +%prefix/opt/tct-messaging-email-tizen-tests %post -n tct-messaging-email-tizen-tests SUB_PKG_NAME=tct-messaging-email-tizen-tests @@ -2171,15 +2208,22 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/webapi-tizen-messaging-test_image.jpg /opt/usr/media/Images/ + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/webapi-tizen-messaging-test_noise.mp3 /opt/usr/media/Sounds/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-messaging-email-tizen-tests SUB_PKG_NAME=tct-messaging-email-tizen-tests @@ -2210,14 +2254,14 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +[ -f /opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg ] && rm -f /opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg +[ -f /opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 ] && rm -f /opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-messaging-mms-tizen-tests -/opt/tct-messaging-mms-tizen-tests -/usr/share/tct-messaging-mms-tizen-tests -/opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg -/opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 +%prefix/opt/tct-messaging-mms-tizen-tests %post -n tct-messaging-mms-tizen-tests SUB_PKG_NAME=tct-messaging-mms-tizen-tests @@ -2225,15 +2269,22 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/webapi-tizen-messaging-test_image.jpg /opt/usr/media/Images/ + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/webapi-tizen-messaging-test_noise.mp3 /opt/usr/media/Sounds/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-messaging-mms-tizen-tests SUB_PKG_NAME=tct-messaging-mms-tizen-tests @@ -2264,12 +2315,14 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +[ -f /opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg ] && rm -f /opt/usr/media/Images/webapi-tizen-messaging-test_image.jpg +[ -f /opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 ] && rm -f /opt/usr/media/Sounds/webapi-tizen-messaging-test_noise.mp3 rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-messaging-sms-tizen-tests -/opt/tct-messaging-sms-tizen-tests -/usr/share/tct-messaging-sms-tizen-tests +%prefix/opt/tct-messaging-sms-tizen-tests %post -n tct-messaging-sms-tizen-tests SUB_PKG_NAME=tct-messaging-sms-tizen-tests @@ -2277,12 +2330,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2320,8 +2373,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-namespace-tizen-tests -/opt/tct-namespace-tizen-tests -/usr/share/tct-namespace-tizen-tests +%prefix/opt/tct-namespace-tizen-tests %post -n tct-namespace-tizen-tests SUB_PKG_NAME=tct-namespace-tizen-tests @@ -2329,12 +2381,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2372,8 +2424,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-networkbearerselection-tizen-tests -/opt/tct-networkbearerselection-tizen-tests -/usr/share/tct-networkbearerselection-tizen-tests +%prefix/opt/tct-networkbearerselection-tizen-tests %post -n tct-networkbearerselection-tizen-tests SUB_PKG_NAME=tct-networkbearerselection-tizen-tests @@ -2381,12 +2432,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2424,8 +2475,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-nfc-tizen-tests -/opt/tct-nfc-tizen-tests -/usr/share/tct-nfc-tizen-tests +%prefix/opt/tct-nfc-tizen-tests %post -n tct-nfc-tizen-tests SUB_PKG_NAME=tct-nfc-tizen-tests @@ -2433,12 +2483,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2476,8 +2526,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-secureelement-tizen-tests -/opt/tct-secureelement-tizen-tests -/usr/share/tct-secureelement-tizen-tests +%prefix/opt/tct-secureelement-tizen-tests %post -n tct-secureelement-tizen-tests SUB_PKG_NAME=tct-secureelement-tizen-tests @@ -2485,12 +2534,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2528,8 +2577,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-systeminfo-tizen-tests -/opt/tct-systeminfo-tizen-tests -/usr/share/tct-systeminfo-tizen-tests +%prefix/opt/tct-systeminfo-tizen-tests %post -n tct-systeminfo-tizen-tests SUB_PKG_NAME=tct-systeminfo-tizen-tests @@ -2537,12 +2585,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2580,10 +2628,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-systemsetting-tizen-tests -/opt/tct-systemsetting-tizen-tests -/usr/share/tct-systemsetting-tizen-tests -/opt/usr/media/tct-systemsetting-tizen-tests/tct-systemsetting-tizen-tests_image.jpg -/opt/usr/media/tct-systemsetting-tizen-tests/tct-systemsetting-tizen-tests_audio.mp3 +%prefix/opt/tct-systemsetting-tizen-tests %post -n tct-systemsetting-tizen-tests SUB_PKG_NAME=tct-systemsetting-tizen-tests @@ -2591,16 +2636,23 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload chsmack -a '_' /opt/usr/media/tct-systemsetting-tizen-tests else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + mkdir -p /opt/usr/media/$SUB_PKG_NAME + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/$SUB_PKG_NAME/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-systemsetting-tizen-tests SUB_PKG_NAME=tct-systemsetting-tizen-tests @@ -2631,12 +2683,17 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +if [ -d /opt/usr/media/$SUB_PKG_NAME ]; then + rm -rf /opt/usr/media/$SUB_PKG_NAME +else + echo "Remove media files fail, please check if exists file: /opt/usr/media/$SUB_PKG_NAME ..." +fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-time-tizen-tests -/opt/tct-time-tizen-tests -/usr/share/tct-time-tizen-tests +%prefix/opt/tct-time-tizen-tests %post -n tct-time-tizen-tests SUB_PKG_NAME=tct-time-tizen-tests @@ -2644,12 +2701,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2687,8 +2744,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-tizen-tizen-tests -/opt/tct-tizen-tizen-tests -/usr/share/tct-tizen-tizen-tests +%prefix/opt/tct-tizen-tizen-tests %post -n tct-tizen-tizen-tests SUB_PKG_NAME=tct-tizen-tizen-tests @@ -2696,12 +2752,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2739,8 +2795,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-download-tizen-tests -/opt/tct-download-tizen-tests -/usr/share/tct-download-tizen-tests +%prefix/opt/tct-download-tizen-tests %post -n tct-download-tizen-tests SUB_PKG_NAME=tct-download-tizen-tests @@ -2748,12 +2803,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2791,26 +2846,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-notification-tizen-tests -/opt/tct-notification-tizen-tests -/usr/share/tct-notification-tizen-tests -/opt/usr/media/Sounds/webapi-tizen-notification-test_noise1.mp3 -/opt/usr/media/Sounds/webapi-tizen-notification-test_noise2.mp3 -/opt/usr/media/Images/webapi-tizen-notification-test_image1.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_image2.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_background1.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_background2.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_subIcon1.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_subIcon2.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail1.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail2.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail3.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail4.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail5.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail6.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail7.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail8.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail9.jpg -/opt/usr/media/Images/webapi-tizen-notification-test_thumbnail10.jpg +%prefix/opt/tct-notification-tizen-tests %post -n tct-notification-tizen-tests SUB_PKG_NAME=tct-notification-tizen-tests @@ -2818,15 +2854,22 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/*.jpg /opt/usr/media/Images/ + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/*.mp3 /opt/usr/media/Sounds/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." +fi %postun -n tct-notification-tizen-tests SUB_PKG_NAME=tct-notification-tizen-tests @@ -2857,14 +2900,14 @@ if [ $? -eq 0 ]; then sync fi fi +### remove media files ### +rm -f /opt/usr/media/Images/webapi-tizen-notification-test*.jpg +rm -f /opt/usr/media/Sounds/webapi-tizen-notification-test*.mp3 rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-package-tizen-tests -/opt/tct-package-tizen-tests -/usr/share/tct-package-tizen-tests -/opt/usr/media/Others/TCTPackageManagerTest1.1.1.wgt -/opt/usr/media/Others/TCTPackageManagerTest2.2.2.wgt +%prefix/opt/tct-package-tizen-tests %post -n tct-package-tizen-tests SUB_PKG_NAME=tct-package-tizen-tests @@ -2872,15 +2915,21 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync - [ -e /opt/$SUB_PKG_NAME/TCTPackageInfoTest.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/TCTPackageInfoTest.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/TCTPackageInfoTest.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/TCTPackageInfoTest.wgt +fi +### copy media files ### +if [ -d %prefix/opt/$SUB_PKG_NAME/mediasrc ]; then + cp -f %prefix/opt/$SUB_PKG_NAME/mediasrc/* /opt/usr/media/Others/ +else + echo "Cp media files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/mediasrc/ ..." fi %postun -n tct-package-tizen-tests @@ -2921,12 +2970,22 @@ if [ $? -eq 0 ]; then $wgt_installer -un $INSTALLED_ID fi fi +### remove media files ### +MEDIAFILE="TCTPackageManagerTest1.1.1.wgt +TCTPackageManagerTest2.2.2.wgt" + +for mediafile in $MEDIAFILE;do + if [ -f /opt/usr/media/Others/$mediafile ]; then + rm -f /opt/usr/media/Others/$mediafile + else + echo "Remove media files fail, please check if exists file: /opt/usr/media/Others/$mediafile ..." + fi +done rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-power-tizen-tests -/opt/tct-power-tizen-tests -/usr/share/tct-power-tizen-tests +%prefix/opt/tct-power-tizen-tests %post -n tct-power-tizen-tests SUB_PKG_NAME=tct-power-tizen-tests @@ -2934,12 +2993,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -2977,8 +3036,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-push-tizen-tests -/opt/tct-push-tizen-tests -/usr/share/tct-push-tizen-tests +%prefix/opt/tct-push-tizen-tests %post -n tct-push-tizen-tests SUB_PKG_NAME=tct-push-tizen-tests @@ -2986,12 +3044,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3029,8 +3087,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-websetting-tizen-tests -/opt/tct-websetting-tizen-tests -/usr/share/tct-websetting-tizen-tests +%prefix/opt/tct-websetting-tizen-tests %post -n tct-websetting-tizen-tests SUB_PKG_NAME=tct-websetting-tizen-tests @@ -3038,12 +3095,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3081,8 +3138,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-security-tcs-tests -/opt/tct-security-tcs-tests -/usr/share/tct-security-tcs-tests +%prefix/opt/tct-security-tcs-tests %post -n tct-security-tcs-tests SUB_PKG_NAME=tct-security-tcs-tests @@ -3090,16 +3146,15 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync - - [ -e /opt/$SUB_PKG_NAME/security/support/sharedDirTestApp.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/security/support/sharedDirTestApp.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/security/support/sharedDirTestApp.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/security/support/sharedDirTestApp.wgt fi %postun -n tct-security-tcs-tests @@ -3130,13 +3185,32 @@ if [ $? -eq 0 ]; then fi sync fi + for i in ATRPHmnr6B.sharedDirTestApp + do + if [ -n "$(ps -ef | grep $i | grep -v grep | awk '{print $2}')" ]; then + kill -9 $(ps -ef | grep $i | grep -v grep | awk '{print $2}') + if [ "$?" -ne 0 ]; then + echo "Kill the processes of $i fail ..." + else + echo "Kill the processes of $i done" + fi + fi + INSTALLED=`wrt-launcher -l | awk /$i/' { print $(NF); }'` + if [ -n "$INSTALLED" ] ; then + $wgt_installer -un $i + if [ "$?" -ne 0 ]; then + echo "Uninstall $i fail ..." + else + echo "Uninstall $i done" + fi + fi + done fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-2dtransforms-css3-tests -/opt/tct-2dtransforms-css3-tests -/usr/share/tct-2dtransforms-css3-tests +%prefix/opt/tct-2dtransforms-css3-tests %post -n tct-2dtransforms-css3-tests SUB_PKG_NAME=tct-2dtransforms-css3-tests @@ -3144,12 +3218,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3187,8 +3261,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-3dtransforms-css3-tests -/opt/tct-3dtransforms-css3-tests -/usr/share/tct-3dtransforms-css3-tests +%prefix/opt/tct-3dtransforms-css3-tests %post -n tct-3dtransforms-css3-tests SUB_PKG_NAME=tct-3dtransforms-css3-tests @@ -3196,12 +3269,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3239,8 +3312,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-animations-css3-tests -/opt/tct-animations-css3-tests -/usr/share/tct-animations-css3-tests +%prefix/opt/tct-animations-css3-tests %post -n tct-animations-css3-tests SUB_PKG_NAME=tct-animations-css3-tests @@ -3248,12 +3320,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3291,8 +3363,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-backgrounds-css3-tests -/opt/tct-backgrounds-css3-tests -/usr/share/tct-backgrounds-css3-tests +%prefix/opt/tct-backgrounds-css3-tests %post -n tct-backgrounds-css3-tests SUB_PKG_NAME=tct-backgrounds-css3-tests @@ -3300,12 +3371,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3343,8 +3414,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-colors-css3-tests -/opt/tct-colors-css3-tests -/usr/share/tct-colors-css3-tests +%prefix/opt/tct-colors-css3-tests %post -n tct-colors-css3-tests SUB_PKG_NAME=tct-colors-css3-tests @@ -3352,12 +3422,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3395,8 +3465,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-flexiblebox-css3-tests -/opt/tct-flexiblebox-css3-tests -/usr/share/tct-flexiblebox-css3-tests +%prefix/opt/tct-flexiblebox-css3-tests %post -n tct-flexiblebox-css3-tests SUB_PKG_NAME=tct-flexiblebox-css3-tests @@ -3404,12 +3473,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3447,8 +3516,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-fonts-css3-tests -/opt/tct-fonts-css3-tests -/usr/share/tct-fonts-css3-tests +%prefix/opt/tct-fonts-css3-tests %post -n tct-fonts-css3-tests SUB_PKG_NAME=tct-fonts-css3-tests @@ -3456,12 +3524,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3499,8 +3567,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-mediaqueries-css3-tests -/opt/tct-mediaqueries-css3-tests -/usr/share/tct-mediaqueries-css3-tests +%prefix/opt/tct-mediaqueries-css3-tests %post -n tct-mediaqueries-css3-tests SUB_PKG_NAME=tct-mediaqueries-css3-tests @@ -3508,12 +3575,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3551,8 +3618,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-multicolumn-css3-tests -/opt/tct-multicolumn-css3-tests -/usr/share/tct-multicolumn-css3-tests +%prefix/opt/tct-multicolumn-css3-tests %post -n tct-multicolumn-css3-tests SUB_PKG_NAME=tct-multicolumn-css3-tests @@ -3560,12 +3626,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3603,8 +3669,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-text-css3-tests -/opt/tct-text-css3-tests -/usr/share/tct-text-css3-tests +%prefix/opt/tct-text-css3-tests %post -n tct-text-css3-tests SUB_PKG_NAME=tct-text-css3-tests @@ -3612,12 +3677,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3655,8 +3720,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-transitions-css3-tests -/opt/tct-transitions-css3-tests -/usr/share/tct-transitions-css3-tests +%prefix/opt/tct-transitions-css3-tests %post -n tct-transitions-css3-tests SUB_PKG_NAME=tct-transitions-css3-tests @@ -3664,12 +3728,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3707,8 +3771,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-ui-css3-tests -/opt/tct-ui-css3-tests -/usr/share/tct-ui-css3-tests +%prefix/opt/tct-ui-css3-tests %post -n tct-ui-css3-tests SUB_PKG_NAME=tct-ui-css3-tests @@ -3716,12 +3779,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3759,8 +3822,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-appcache-html5-tests -/opt/tct-appcache-html5-tests -/usr/share/tct-appcache-html5-tests +%prefix/opt/tct-appcache-html5-tests %post -n tct-appcache-html5-tests SUB_PKG_NAME=tct-appcache-html5-tests @@ -3768,12 +3830,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3811,8 +3873,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-audio-html5-tests -/opt/tct-audio-html5-tests -/usr/share/tct-audio-html5-tests +%prefix/opt/tct-audio-html5-tests %post -n tct-audio-html5-tests SUB_PKG_NAME=tct-audio-html5-tests @@ -3820,12 +3881,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3863,8 +3924,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-browserstate-html5-tests -/opt/tct-browserstate-html5-tests -/usr/share/tct-browserstate-html5-tests +%prefix/opt/tct-browserstate-html5-tests %post -n tct-browserstate-html5-tests SUB_PKG_NAME=tct-browserstate-html5-tests @@ -3872,12 +3932,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3915,8 +3975,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-canvas-html5-tests -/opt/tct-canvas-html5-tests -/usr/share/tct-canvas-html5-tests +%prefix/opt/tct-canvas-html5-tests %post -n tct-canvas-html5-tests SUB_PKG_NAME=tct-canvas-html5-tests @@ -3924,12 +3983,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -3967,8 +4026,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-dnd-html5-tests -/opt/tct-dnd-html5-tests -/usr/share/tct-dnd-html5-tests +%prefix/opt/tct-dnd-html5-tests %post -n tct-dnd-html5-tests SUB_PKG_NAME=tct-dnd-html5-tests @@ -3976,12 +4034,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4019,8 +4077,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-extra-html5-tests -/opt/tct-extra-html5-tests -/usr/share/tct-extra-html5-tests +%prefix/opt/tct-extra-html5-tests %post -n tct-extra-html5-tests SUB_PKG_NAME=tct-extra-html5-tests @@ -4028,12 +4085,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4071,8 +4128,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-forms-html5-tests -/opt/tct-forms-html5-tests -/usr/share/tct-forms-html5-tests +%prefix/opt/tct-forms-html5-tests %post -n tct-forms-html5-tests SUB_PKG_NAME=tct-forms-html5-tests @@ -4080,12 +4136,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4123,8 +4179,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-jsenhance-html5-tests -/opt/tct-jsenhance-html5-tests -/usr/share/tct-jsenhance-html5-tests +%prefix/opt/tct-jsenhance-html5-tests %post -n tct-jsenhance-html5-tests SUB_PKG_NAME=tct-jsenhance-html5-tests @@ -4132,12 +4187,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4175,8 +4230,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-sandbox-html5-tests -/opt/tct-sandbox-html5-tests -/usr/share/tct-sandbox-html5-tests +%prefix/opt/tct-sandbox-html5-tests %post -n tct-sandbox-html5-tests SUB_PKG_NAME=tct-sandbox-html5-tests @@ -4184,12 +4238,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4227,8 +4281,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-sessionhistory-html5-tests -/opt/tct-sessionhistory-html5-tests -/usr/share/tct-sessionhistory-html5-tests +%prefix/opt/tct-sessionhistory-html5-tests %post -n tct-sessionhistory-html5-tests SUB_PKG_NAME=tct-sessionhistory-html5-tests @@ -4236,19 +4289,19 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### config tinyweb server ###### - if [ -e /opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi ]; then - cp -r /opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi/*.php /opt/$SUB_PKG_NAME/sessionhistory/w3c + if [ -e %prefix/opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi ]; then + cp -r %prefix/opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi/*.php %prefix/opt/$SUB_PKG_NAME/sessionhistory/w3c else - echo "cp cgi files fail, please check if exists file: /opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi/*.php..." + echo "cp cgi files fail, please check if exists file: %prefix/opt/$SUB_PKG_NAME/sessionhistory/w3c/cgi/*.php..." fi fi @@ -4285,8 +4338,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-svg-html5-tests -/opt/tct-svg-html5-tests -/usr/share/tct-svg-html5-tests +%prefix/opt/tct-svg-html5-tests %post -n tct-svg-html5-tests SUB_PKG_NAME=tct-svg-html5-tests @@ -4294,12 +4346,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4337,8 +4389,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-video-html5-tests -/opt/tct-video-html5-tests -/usr/share/tct-video-html5-tests +%prefix/opt/tct-video-html5-tests %post -n tct-video-html5-tests SUB_PKG_NAME=tct-video-html5-tests @@ -4346,12 +4397,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4389,8 +4440,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-fullscreen-nonw3c-tests -/opt/tct-fullscreen-nonw3c-tests -/usr/share/tct-fullscreen-nonw3c-tests +%prefix/opt/tct-fullscreen-nonw3c-tests %post -n tct-fullscreen-nonw3c-tests SUB_PKG_NAME=tct-fullscreen-nonw3c-tests @@ -4398,12 +4448,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4441,8 +4491,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-typedarrays-nonw3c-tests -/opt/tct-typedarrays-nonw3c-tests -/usr/share/tct-typedarrays-nonw3c-tests +%prefix/opt/tct-typedarrays-nonw3c-tests %post -n tct-typedarrays-nonw3c-tests SUB_PKG_NAME=tct-typedarrays-nonw3c-tests @@ -4450,12 +4499,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4493,8 +4542,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-webgl-nonw3c-tests -/opt/tct-webgl-nonw3c-tests -/usr/share/tct-webgl-nonw3c-tests +%prefix/opt/tct-webgl-nonw3c-tests %post -n tct-webgl-nonw3c-tests SUB_PKG_NAME=tct-webgl-nonw3c-tests @@ -4502,12 +4550,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4545,8 +4593,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-animationtiming-w3c-tests -/opt/tct-animationtiming-w3c-tests -/usr/share/tct-animationtiming-w3c-tests +%prefix/opt/tct-animationtiming-w3c-tests %post -n tct-animationtiming-w3c-tests SUB_PKG_NAME=tct-animationtiming-w3c-tests @@ -4554,12 +4601,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4597,8 +4644,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-batterystatus-w3c-tests -/opt/tct-batterystatus-w3c-tests -/usr/share/tct-batterystatus-w3c-tests +%prefix/opt/tct-batterystatus-w3c-tests %post -n tct-batterystatus-w3c-tests SUB_PKG_NAME=tct-batterystatus-w3c-tests @@ -4606,12 +4652,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4649,8 +4695,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-cors-w3c-tests -/opt/tct-cors-w3c-tests -/usr/share/tct-cors-w3c-tests +%prefix/opt/tct-cors-w3c-tests %post -n tct-cors-w3c-tests SUB_PKG_NAME=tct-cors-w3c-tests @@ -4658,19 +4703,19 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### config tinyweb server ###### - if [ -e /opt/tct-cors-w3c-tests/cors/support/cgi ]; then - cp -rf /opt/tct-cors-w3c-tests/cors/support/cgi/*.php /opt/tct-cors-w3c-tests/cors/support + if [ -e %prefix/opt/tct-cors-w3c-tests/cors/support/cgi ]; then + cp -rf %prefix/opt/tct-cors-w3c-tests/cors/support/cgi/*.php %prefix/opt/tct-cors-w3c-tests/cors/support else - echo "cp file fail, please check if exists file: /opt/tct-cors-w3c-tests/cors/support/cgi/*.php..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-cors-w3c-tests/cors/support/cgi/*.php..." fi fi @@ -4707,8 +4752,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-csp-w3c-tests -/opt/tct-csp-w3c-tests -/usr/share/tct-csp-w3c-tests +%prefix/opt/tct-csp-w3c-tests %post -n tct-csp-w3c-tests SUB_PKG_NAME=tct-csp-w3c-tests @@ -4716,12 +4760,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4759,8 +4803,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-deviceorientation-w3c-tests -/opt/tct-deviceorientation-w3c-tests -/usr/share/tct-deviceorientation-w3c-tests +%prefix/opt/tct-deviceorientation-w3c-tests %post -n tct-deviceorientation-w3c-tests SUB_PKG_NAME=tct-deviceorientation-w3c-tests @@ -4768,12 +4811,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4811,8 +4854,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-fileapi-w3c-tests -/opt/tct-fileapi-w3c-tests -/usr/share/tct-fileapi-w3c-tests +%prefix/opt/tct-fileapi-w3c-tests %post -n tct-fileapi-w3c-tests SUB_PKG_NAME=tct-fileapi-w3c-tests @@ -4820,19 +4862,19 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### cp sample.html to /opt/usr/media/ ###### - if [ -f /opt/tct-fileapi-w3c-tests/fileapi/support/sample.html ]; then - cp -f /opt/tct-fileapi-w3c-tests/fileapi/support/sample.html /opt/usr/media/ + if [ -f %prefix/opt/tct-fileapi-w3c-tests/fileapi/support/sample.html ]; then + cp -f %prefix/opt/tct-fileapi-w3c-tests/fileapi/support/sample.html /opt/usr/media/ else - echo "cp file fail, please check if exists file: /opt/tct-fileapi-w3c-tests/fileapi/support/sample.html..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-fileapi-w3c-tests/fileapi/support/sample.html..." fi fi @@ -4873,8 +4915,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-filesystemapi-w3c-tests -/opt/tct-filesystemapi-w3c-tests -/usr/share/tct-filesystemapi-w3c-tests +%prefix/opt/tct-filesystemapi-w3c-tests %post -n tct-filesystemapi-w3c-tests SUB_PKG_NAME=tct-filesystemapi-w3c-tests @@ -4882,12 +4923,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4925,8 +4966,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-filewriterapi-w3c-tests -/opt/tct-filewriterapi-w3c-tests -/usr/share/tct-filewriterapi-w3c-tests +%prefix/opt/tct-filewriterapi-w3c-tests %post -n tct-filewriterapi-w3c-tests SUB_PKG_NAME=tct-filewriterapi-w3c-tests @@ -4934,12 +4974,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -4977,8 +5017,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-geoallow-w3c-tests -/opt/tct-geoallow-w3c-tests -/usr/share/tct-geoallow-w3c-tests +%prefix/opt/tct-geoallow-w3c-tests %post -n tct-geoallow-w3c-tests SUB_PKG_NAME=tct-geoallow-w3c-tests @@ -4986,12 +5025,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5029,8 +5068,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-geodeny-w3c-tests -/opt/tct-geodeny-w3c-tests -/usr/share/tct-geodeny-w3c-tests +%prefix/opt/tct-geodeny-w3c-tests %post -n tct-geodeny-w3c-tests SUB_PKG_NAME=tct-geodeny-w3c-tests @@ -5038,12 +5076,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5081,8 +5119,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-gumallow-w3c-tests -/opt/tct-gumallow-w3c-tests -/usr/share/tct-gumallow-w3c-tests +%prefix/opt/tct-gumallow-w3c-tests %post -n tct-gumallow-w3c-tests SUB_PKG_NAME=tct-gumallow-w3c-tests @@ -5090,12 +5127,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5133,8 +5170,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-indexeddb-w3c-tests -/opt/tct-indexeddb-w3c-tests -/usr/share/tct-indexeddb-w3c-tests +%prefix/opt/tct-indexeddb-w3c-tests %post -n tct-indexeddb-w3c-tests SUB_PKG_NAME=tct-indexeddb-w3c-tests @@ -5142,12 +5178,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5185,8 +5221,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-mediacapture-w3c-tests -/opt/tct-mediacapture-w3c-tests -/usr/share/tct-mediacapture-w3c-tests +%prefix/opt/tct-mediacapture-w3c-tests %post -n tct-mediacapture-w3c-tests SUB_PKG_NAME=tct-mediacapture-w3c-tests @@ -5194,19 +5229,19 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### cp upload.txt to /opt/usr/media/Documents for mediacapture testing ###### - if [ -f /opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt ]; then - cp -f /opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt /opt/usr/media/Documents + if [ -f %prefix/opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt ]; then + cp -f %prefix/opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt /opt/usr/media/Documents else - echo "cp file fail, please check if exists file: /opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-mediacapture-w3c-tests/mediacapture/support/upload.txt..." fi fi @@ -5247,8 +5282,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-navigationtiming-w3c-tests -/opt/tct-navigationtiming-w3c-tests -/usr/share/tct-navigationtiming-w3c-tests +%prefix/opt/tct-navigationtiming-w3c-tests %post -n tct-navigationtiming-w3c-tests SUB_PKG_NAME=tct-navigationtiming-w3c-tests @@ -5256,12 +5290,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5299,8 +5333,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-netinfo-w3c-tests -/opt/tct-netinfo-w3c-tests -/usr/share/tct-netinfo-w3c-tests +%prefix/opt/tct-netinfo-w3c-tests %post -n tct-netinfo-w3c-tests SUB_PKG_NAME=tct-netinfo-w3c-tests @@ -5308,12 +5341,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5351,8 +5384,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-notification-w3c-tests -/opt/tct-notification-w3c-tests -/usr/share/tct-notification-w3c-tests +%prefix/opt/tct-notification-w3c-tests %post -n tct-notification-w3c-tests SUB_PKG_NAME=tct-notification-w3c-tests @@ -5360,15 +5392,15 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload echo "$(wrt-launcher -l | awk '/$SUB_PKG_NAME/ { print $(NF-1); exit }') data-provider-master::notification rw" | smackload echo "$(wrt-launcher -l | awk '/$SUB_PKG_NAME/ { print $(NF-1); exit }') data-provider-master::notification.client rw" | smackload echo "$(wrt-launcher -l | awk '/$SUB_PKG_NAME/ { print $(NF-1); exit }') notification::db rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5406,8 +5438,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-pagevisibility-w3c-tests -/opt/tct-pagevisibility-w3c-tests -/usr/share/tct-pagevisibility-w3c-tests +%prefix/opt/tct-pagevisibility-w3c-tests %post -n tct-pagevisibility-w3c-tests SUB_PKG_NAME=tct-pagevisibility-w3c-tests @@ -5415,12 +5446,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5458,8 +5489,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-screenorientation-w3c-tests -/opt/tct-screenorientation-w3c-tests -/usr/share/tct-screenorientation-w3c-tests +%prefix/opt/tct-screenorientation-w3c-tests %post -n tct-screenorientation-w3c-tests SUB_PKG_NAME=tct-screenorientation-w3c-tests @@ -5467,12 +5497,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5510,8 +5540,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-selectorslevel1-w3c-tests -/opt/tct-selectorslevel1-w3c-tests -/usr/share/tct-selectorslevel1-w3c-tests +%prefix/opt/tct-selectorslevel1-w3c-tests %post -n tct-selectorslevel1-w3c-tests SUB_PKG_NAME=tct-selectorslevel1-w3c-tests @@ -5519,12 +5548,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5562,8 +5591,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-selectorslevel2-w3c-tests -/opt/tct-selectorslevel2-w3c-tests -/usr/share/tct-selectorslevel2-w3c-tests +%prefix/opt/tct-selectorslevel2-w3c-tests %post -n tct-selectorslevel2-w3c-tests SUB_PKG_NAME=tct-selectorslevel2-w3c-tests @@ -5571,12 +5599,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5614,8 +5642,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-sse-w3c-tests -/opt/tct-sse-w3c-tests -/usr/share/tct-sse-w3c-tests +%prefix/opt/tct-sse-w3c-tests %post -n tct-sse-w3c-tests SUB_PKG_NAME=tct-sse-w3c-tests @@ -5623,24 +5650,24 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### config tinyweb server ###### - if [ -e /opt/tct-sse-w3c-tests/sse/support/cgi ]; then - cp -r /opt/tct-sse-w3c-tests/sse/support/cgi/*.php /opt/tct-sse-w3c-tests/sse/support + if [ -e %prefix/opt/tct-sse-w3c-tests/sse/support/cgi ]; then + cp -r %prefix/opt/tct-sse-w3c-tests/sse/support/cgi/*.php %prefix/opt/tct-sse-w3c-tests/sse/support else - echo "cp file fail, please check if exists file: /opt/tct-sse-w3c-tests/sse/support/cgi/*.php..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-sse-w3c-tests/sse/support/cgi/*.php..." fi - if [ -e /opt/tct-sse-w3c-tests/sse/w3c/resources/cgi ]; then - cp -r /opt/tct-sse-w3c-tests/sse/w3c/resources/cgi/*.php /opt/tct-sse-w3c-tests/sse/w3c/resources + if [ -e %prefix/opt/tct-sse-w3c-tests/sse/w3c/resources/cgi ]; then + cp -r %prefix/opt/tct-sse-w3c-tests/sse/w3c/resources/cgi/*.php %prefix/opt/tct-sse-w3c-tests/sse/w3c/resources else - echo "cp file fail, please check if exists file: /opt/tct-sse-w3c-tests/sse/w3c/resources/cgi/*.php..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-sse-w3c-tests/sse/w3c/resources/cgi/*.php..." fi fi @@ -5677,8 +5704,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-touchevent-w3c-tests -/opt/tct-touchevent-w3c-tests -/usr/share/tct-touchevent-w3c-tests +%prefix/opt/tct-touchevent-w3c-tests %post -n tct-touchevent-w3c-tests SUB_PKG_NAME=tct-touchevent-w3c-tests @@ -5686,12 +5712,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5729,8 +5755,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-vibration-w3c-tests -/opt/tct-vibration-w3c-tests -/usr/share/tct-vibration-w3c-tests +%prefix/opt/tct-vibration-w3c-tests %post -n tct-vibration-w3c-tests SUB_PKG_NAME=tct-vibration-w3c-tests @@ -5738,12 +5763,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5781,8 +5806,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-webaudio-w3c-tests -/opt/tct-webaudio-w3c-tests -/usr/share/tct-webaudio-w3c-tests +%prefix/opt/tct-webaudio-w3c-tests %post -n tct-webaudio-w3c-tests SUB_PKG_NAME=tct-webaudio-w3c-tests @@ -5790,12 +5814,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5833,8 +5857,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-webdatabase-w3c-tests -/opt/tct-webdatabase-w3c-tests -/usr/share/tct-webdatabase-w3c-tests +%prefix/opt/tct-webdatabase-w3c-tests %post -n tct-webdatabase-w3c-tests SUB_PKG_NAME=tct-webdatabase-w3c-tests @@ -5842,12 +5865,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5885,8 +5908,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-webmessaging-w3c-tests -/opt/tct-webmessaging-w3c-tests -/usr/share/tct-webmessaging-w3c-tests +%prefix/opt/tct-webmessaging-w3c-tests %post -n tct-webmessaging-w3c-tests SUB_PKG_NAME=tct-webmessaging-w3c-tests @@ -5894,12 +5916,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5937,8 +5959,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-websocket-w3c-tests -/opt/tct-websocket-w3c-tests -/usr/share/tct-websocket-w3c-tests +%prefix/opt/tct-websocket-w3c-tests %post -n tct-websocket-w3c-tests SUB_PKG_NAME=tct-websocket-w3c-tests @@ -5946,12 +5967,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -5989,8 +6010,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-webstorage-w3c-tests -/opt/tct-webstorage-w3c-tests -/usr/share/tct-webstorage-w3c-tests +%prefix/opt/tct-webstorage-w3c-tests %post -n tct-webstorage-w3c-tests SUB_PKG_NAME=tct-webstorage-w3c-tests @@ -5998,12 +6018,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -6041,8 +6061,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-wgtapi01-w3c-tests -/opt/tct-wgtapi01-w3c-tests -/usr/share/tct-wgtapi01-w3c-tests +%prefix/opt/tct-wgtapi01-w3c-tests %post -n tct-wgtapi01-w3c-tests SUB_PKG_NAME=tct-wgtapi01-w3c-tests @@ -6053,8 +6072,7 @@ SUB_PKG_NAME=tct-wgtapi01-w3c-tests rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-wgtapi02-w3c-tests -/opt/tct-wgtapi02-w3c-tests -/usr/share/tct-wgtapi02-w3c-tests +%prefix/opt/tct-wgtapi02-w3c-tests %post -n tct-wgtapi02-w3c-tests SUB_PKG_NAME=tct-wgtapi02-w3c-tests @@ -6062,12 +6080,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -6106,8 +6124,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-widget01-w3c-tests -/opt/tct-widget01-w3c-tests -/usr/share/tct-widget01-w3c-tests +%prefix/opt/tct-widget01-w3c-tests %post -n tct-widget01-w3c-tests SUB_PKG_NAME=tct-widget01-w3c-tests @@ -6118,8 +6135,7 @@ SUB_PKG_NAME=tct-widget01-w3c-tests rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-widget02-w3c-tests -/opt/tct-widget02-w3c-tests -/usr/share/tct-widget02-w3c-tests +%prefix/opt/tct-widget02-w3c-tests %post -n tct-widget02-w3c-tests SUB_PKG_NAME=tct-widget02-w3c-tests @@ -6130,8 +6146,7 @@ SUB_PKG_NAME=tct-widget02-w3c-tests rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-widgetpolicy-w3c-tests -/opt/tct-widgetpolicy-w3c-tests -/usr/share/tct-widgetpolicy-w3c-tests +%prefix/opt/tct-widgetpolicy-w3c-tests %post -n tct-widgetpolicy-w3c-tests SUB_PKG_NAME=tct-widgetpolicy-w3c-tests @@ -6139,12 +6154,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -6182,8 +6197,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-workers-w3c-tests -/opt/tct-workers-w3c-tests -/usr/share/tct-workers-w3c-tests +%prefix/opt/tct-workers-w3c-tests %post -n tct-workers-w3c-tests SUB_PKG_NAME=tct-workers-w3c-tests @@ -6191,12 +6205,12 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync fi @@ -6234,8 +6248,7 @@ fi rm -rf /opt/unpacked_crx/$SUB_PKG_NAME %files -n tct-xmlhttprequest-w3c-tests -/opt/tct-xmlhttprequest-w3c-tests -/usr/share/tct-xmlhttprequest-w3c-tests +%prefix/opt/tct-xmlhttprequest-w3c-tests %post -n tct-xmlhttprequest-w3c-tests SUB_PKG_NAME=tct-xmlhttprequest-w3c-tests @@ -6243,24 +6256,24 @@ wgt_installer="wrt-installer" type $wgt_installer > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -e /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt + [ -e %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt ] && $wgt_installer -i %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt if [ $? -eq 0 ]; then - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt to /opt/usr/apps/`wrt-launcher -l 2> /dev/null | grep $SUB_PKG_NAME | tail -n 1 | awk '{ print $NF }'` done" echo "$(wrt-launcher -l | grep $SUB_PKG_NAME | awk '{ print $(NF-1) }') sdbd rw" | smackload else - echo "Install /opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." + echo "Install %prefix/opt/$SUB_PKG_NAME/$SUB_PKG_NAME.wgt fail ..." fi sync ###### config tinyweb server ###### - if [ -e /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi ]; then - cp -r /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi/*.php /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support + if [ -e %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi ]; then + cp -r %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi/*.php %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support else - echo "cp file fail, please check if exists file: /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi/*.php..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/cgi/*.php..." fi - if [ -e /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi ]; then - cp -r /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/*.php /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources + if [ -e %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi ]; then + cp -r %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/*.php %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources else - echo "cp file fail, please check if exists file: /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/*.php..." + echo "cp file fail, please check if exists file: %prefix/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/*.php..." fi fi diff --git a/tct-2dtransforms-css3-tests/2dtransforms/Makefile.am b/tct-2dtransforms-css3-tests/2dtransforms/Makefile.am index 4f033ce2c..c2628323a 100644 --- a/tct-2dtransforms-css3-tests/2dtransforms/Makefile.am +++ b/tct-2dtransforms-css3-tests/2dtransforms/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg 2DTransforms_SCRIPTS = * -2DTransformsdir = /opt/tct-2dtransforms-css3-tests/2dtransforms +2DTransformsdir = $(prefix)/opt/tct-2dtransforms-css3-tests/2dtransforms EXTRA_DIST = $(2DTransforms_SCRIPTS) diff --git a/tct-2dtransforms-css3-tests/2dtransforms/csswg/Makefile.am b/tct-2dtransforms-css3-tests/2dtransforms/csswg/Makefile.am index b86e4a897..02872935a 100644 --- a/tct-2dtransforms-css3-tests/2dtransforms/csswg/Makefile.am +++ b/tct-2dtransforms-css3-tests/2dtransforms/csswg/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = *.html *.js -testsdir = /opt/tct-2dtransforms-css3-tests/2dtransforms/csswg +testsdir = $(prefix)/opt/tct-2dtransforms-css3-tests/2dtransforms/csswg EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-2dtransforms-css3-tests/Makefile.am b/tct-2dtransforms-css3-tests/Makefile.am index da935c8ba..39877c150 100644 --- a/tct-2dtransforms-css3-tests/Makefile.am +++ b/tct-2dtransforms-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = 2dtransforms $(commondir) -docdir = /opt/tct-2dtransforms-css3-tests +docdir = $(prefix)/opt/tct-2dtransforms-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-2dtransforms-css3-tests/pack.sh b/tct-2dtransforms-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-2dtransforms-css3-tests/pack.sh +++ b/tct-2dtransforms-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-2dtransforms-css3-tests/resources/Makefile.am b/tct-2dtransforms-css3-tests/resources/Makefile.am index b20bb2d9e..e9b2084c3 100644 --- a/tct-2dtransforms-css3-tests/resources/Makefile.am +++ b/tct-2dtransforms-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-2dtransforms-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-2dtransforms-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-2dtransforms-css3-tests/testkit/Makefile.am b/tct-2dtransforms-css3-tests/testkit/Makefile.am index c6e8453ef..9f3e98981 100644 --- a/tct-2dtransforms-css3-tests/testkit/Makefile.am +++ b/tct-2dtransforms-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-2dtransforms-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-2dtransforms-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-3dtransforms-css3-tests/3dtransforms/Makefile.am b/tct-3dtransforms-css3-tests/3dtransforms/Makefile.am index 4dcfc962a..a2a07bda4 100644 --- a/tct-3dtransforms-css3-tests/3dtransforms/Makefile.am +++ b/tct-3dtransforms-css3-tests/3dtransforms/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg support 3dtransforms_SCRIPTS = * -3dtransformsdir = /opt/tct-3dtransforms-css3-tests/3dtransforms +3dtransformsdir = $(prefix)/opt/tct-3dtransforms-css3-tests/3dtransforms EXTRA_DIST = $(3dtransforms_SCRIPTS) diff --git a/tct-3dtransforms-css3-tests/3dtransforms/csswg/Makefile.am b/tct-3dtransforms-css3-tests/3dtransforms/csswg/Makefile.am index 54524d4e8..1ea3f91a2 100644 --- a/tct-3dtransforms-css3-tests/3dtransforms/csswg/Makefile.am +++ b/tct-3dtransforms-css3-tests/3dtransforms/csswg/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = *.html *.js -testsdir = /opt/tct-3dtransforms-css3-tests/3dtransforms/csswg +testsdir = $(prefix)/opt/tct-3dtransforms-css3-tests/3dtransforms/csswg EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-3dtransforms-css3-tests/3dtransforms/support/Makefile.am b/tct-3dtransforms-css3-tests/3dtransforms/support/Makefile.am index fd18116ea..5ebd32b92 100644 --- a/tct-3dtransforms-css3-tests/3dtransforms/support/Makefile.am +++ b/tct-3dtransforms-css3-tests/3dtransforms/support/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-3dtransforms-css3-tests/3dtransforms/support +testsdir = $(prefix)/opt/tct-3dtransforms-css3-tests/3dtransforms/support EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-3dtransforms-css3-tests/Makefile.am b/tct-3dtransforms-css3-tests/Makefile.am index 9c959d14d..92fca11b5 100644 --- a/tct-3dtransforms-css3-tests/Makefile.am +++ b/tct-3dtransforms-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = 3dtransforms $(commondir) -docdir = /opt/tct-3dtransforms-css3-tests +docdir = $(prefix)/opt/tct-3dtransforms-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-3dtransforms-css3-tests/pack.sh b/tct-3dtransforms-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-3dtransforms-css3-tests/pack.sh +++ b/tct-3dtransforms-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-3dtransforms-css3-tests/resources/Makefile.am b/tct-3dtransforms-css3-tests/resources/Makefile.am index 650083ec9..b3f14946d 100644 --- a/tct-3dtransforms-css3-tests/resources/Makefile.am +++ b/tct-3dtransforms-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-3dtransforms-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-3dtransforms-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-3dtransforms-css3-tests/testkit/Makefile.am b/tct-3dtransforms-css3-tests/testkit/Makefile.am index 210a8a4b1..ed27c4f19 100644 --- a/tct-3dtransforms-css3-tests/testkit/Makefile.am +++ b/tct-3dtransforms-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-3dtransforms-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-3dtransforms-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-alarm-tizen-tests/Makefile.am b/tct-alarm-tizen-tests/Makefile.am index 7c7b0b4e2..f1c58a1b1 100644 --- a/tct-alarm-tizen-tests/Makefile.am +++ b/tct-alarm-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = alarm $(commondir) -docdir = /opt/tct-alarm-tizen-tests +docdir = $(prefix)/opt/tct-alarm-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-alarm-tizen-tests/alarm/Makefile.am b/tct-alarm-tizen-tests/alarm/Makefile.am index 6dbb35d0a..61f67c2b6 100644 --- a/tct-alarm-tizen-tests/alarm/Makefile.am +++ b/tct-alarm-tizen-tests/alarm/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-alarm-tizen-tests/alarm +workerdir = $(prefix)/opt/tct-alarm-tizen-tests/alarm EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-alarm-tizen-tests/alarm/support/Makefile.am b/tct-alarm-tizen-tests/alarm/support/Makefile.am index af9f52813..f057c92d9 100644 --- a/tct-alarm-tizen-tests/alarm/support/Makefile.am +++ b/tct-alarm-tizen-tests/alarm/support/Makefile.am @@ -1,7 +1,7 @@ support_SCRIPTS = * -supportdir = /opt/tct-alarm-tizen-tests/alarm/support +supportdir = $(prefix)/opt/tct-alarm-tizen-tests/alarm/support package_widgets_DATA = UnitTest-AlarmTest1.wgt -package_widgetsdir = /opt/tct-alarm-tizen-tests/ +package_widgetsdir = $(prefix)/opt/tct-alarm-tizen-tests/ EXTRA_DIST = $(support_DATA) $(package_widgets_DATA) UnitTest-AlarmTest1.wgt: diff --git a/tct-alarm-tizen-tests/pack.sh b/tct-alarm-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-alarm-tizen-tests/pack.sh +++ b/tct-alarm-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-alarm-tizen-tests/resources/Makefile.am b/tct-alarm-tizen-tests/resources/Makefile.am index ebc187d9f..d42da33bf 100644 --- a/tct-alarm-tizen-tests/resources/Makefile.am +++ b/tct-alarm-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-alarm-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-alarm-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-alarm-tizen-tests/testkit/Makefile.am b/tct-alarm-tizen-tests/testkit/Makefile.am index f98b7c707..585449ab5 100644 --- a/tct-alarm-tizen-tests/testkit/Makefile.am +++ b/tct-alarm-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-alarm-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-alarm-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-animations-css3-tests/Makefile.am b/tct-animations-css3-tests/Makefile.am index 4e5a15a37..84dabab2e 100644 --- a/tct-animations-css3-tests/Makefile.am +++ b/tct-animations-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = animations $(commondir) -docdir = /opt/tct-animations-css3-tests +docdir = $(prefix)/opt/tct-animations-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-animations-css3-tests/animations/Makefile.am b/tct-animations-css3-tests/animations/Makefile.am index 3d8537568..e62535aaa 100644 --- a/tct-animations-css3-tests/animations/Makefile.am +++ b/tct-animations-css3-tests/animations/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg support tests_SCRIPTS = * -testsdir = /opt/tct-animations-css3-tests/animations +testsdir = $(prefix)/opt/tct-animations-css3-tests/animations EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-animations-css3-tests/animations/csswg/Makefile.am b/tct-animations-css3-tests/animations/csswg/Makefile.am index c43c09217..e34b65ba6 100644 --- a/tct-animations-css3-tests/animations/csswg/Makefile.am +++ b/tct-animations-css3-tests/animations/csswg/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-animations-css3-tests/animations/csswg +testsdir = $(prefix)/opt/tct-animations-css3-tests/animations/csswg EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-animations-css3-tests/animations/support/Makefile.am b/tct-animations-css3-tests/animations/support/Makefile.am index ab42003bc..ffbd9433a 100644 --- a/tct-animations-css3-tests/animations/support/Makefile.am +++ b/tct-animations-css3-tests/animations/support/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-animations-css3-tests/animations/support +testsdir = $(prefix)/opt/tct-animations-css3-tests/animations/support EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-animations-css3-tests/pack.sh b/tct-animations-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-animations-css3-tests/pack.sh +++ b/tct-animations-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-animations-css3-tests/resources/Makefile.am b/tct-animations-css3-tests/resources/Makefile.am index 6c9c2d706..3d70bfc6b 100644 --- a/tct-animations-css3-tests/resources/Makefile.am +++ b/tct-animations-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-animations-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-animations-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-animations-css3-tests/testkit/Makefile.am b/tct-animations-css3-tests/testkit/Makefile.am index f39438492..d08bce8aa 100644 --- a/tct-animations-css3-tests/testkit/Makefile.am +++ b/tct-animations-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-animations-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-animations-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-animationtiming-w3c-tests/Makefile.am b/tct-animationtiming-w3c-tests/Makefile.am index 7c814be0a..4c20fddd6 100644 --- a/tct-animationtiming-w3c-tests/Makefile.am +++ b/tct-animationtiming-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = animationtiming $(commondir) -docdir = /opt/tct-animationtiming-w3c-tests +docdir = $(prefix)/opt/tct-animationtiming-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-animationtiming-w3c-tests/animationtiming/Makefile.am b/tct-animationtiming-w3c-tests/animationtiming/Makefile.am index 47ec51d00..acd0d5b8d 100644 --- a/tct-animationtiming-w3c-tests/animationtiming/Makefile.am +++ b/tct-animationtiming-w3c-tests/animationtiming/Makefile.am @@ -1,3 +1,3 @@ animationtiming_SCRIPTS = * -animationtimingdir = /opt/tct-animationtiming-w3c-tests/animationtiming +animationtimingdir = $(prefix)/opt/tct-animationtiming-w3c-tests/animationtiming EXTRA_DIST = $(animationtiming_SCRIPTS) diff --git a/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am b/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am index f3d672806..215767926 100644 --- a/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am +++ b/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-animationtiming-w3c-tests/animationtiming/w3c +w3cdir = $(prefix)/opt/tct-animationtiming-w3c-tests/animationtiming/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-animationtiming-w3c-tests/pack.sh b/tct-animationtiming-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-animationtiming-w3c-tests/pack.sh +++ b/tct-animationtiming-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-animationtiming-w3c-tests/resources/Makefile.am b/tct-animationtiming-w3c-tests/resources/Makefile.am index 7aea94d5c..588518739 100644 --- a/tct-animationtiming-w3c-tests/resources/Makefile.am +++ b/tct-animationtiming-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-animationtiming-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-animationtiming-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-animationtiming-w3c-tests/testkit/Makefile.am b/tct-animationtiming-w3c-tests/testkit/Makefile.am index addba6c65..1ef271706 100644 --- a/tct-animationtiming-w3c-tests/testkit/Makefile.am +++ b/tct-animationtiming-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-animationtiming-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-animationtiming-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-appcache-html5-tests/Makefile.am b/tct-appcache-html5-tests/Makefile.am index 10a2376cf..430bfe3a7 100644 --- a/tct-appcache-html5-tests/Makefile.am +++ b/tct-appcache-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = appcache $(commondir) -docdir = /opt/tct-appcache-html5-tests +docdir = $(prefix)/opt/tct-appcache-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-appcache-html5-tests/appcache/Makefile.am b/tct-appcache-html5-tests/appcache/Makefile.am index e53dcb037..a7d679c90 100644 --- a/tct-appcache-html5-tests/appcache/Makefile.am +++ b/tct-appcache-html5-tests/appcache/Makefile.am @@ -1,3 +1,3 @@ appcache_SCRIPTS = * -appcachedir = /opt/tct-appcache-html5-tests/appcache +appcachedir = $(prefix)/opt/tct-appcache-html5-tests/appcache EXTRA_DIST = $(AppCache_SCRIPTS) diff --git a/tct-appcache-html5-tests/common/Makefile.am b/tct-appcache-html5-tests/common/Makefile.am index b4f5404ed..4ca963b5a 100644 --- a/tct-appcache-html5-tests/common/Makefile.am +++ b/tct-appcache-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-appcache-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-appcache-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-appcache-html5-tests/pack.sh b/tct-appcache-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-appcache-html5-tests/pack.sh +++ b/tct-appcache-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-appcache-html5-tests/resources/Makefile.am b/tct-appcache-html5-tests/resources/Makefile.am index 8d01e103f..03eb7f813 100644 --- a/tct-appcache-html5-tests/resources/Makefile.am +++ b/tct-appcache-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-appcache-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-appcache-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-appcache-html5-tests/testkit/Makefile.am b/tct-appcache-html5-tests/testkit/Makefile.am index 180ef1ade..25cdb0191 100644 --- a/tct-appcache-html5-tests/testkit/Makefile.am +++ b/tct-appcache-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-appcache-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-appcache-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-appcontrol-tizen-tests/Makefile.am b/tct-appcontrol-tizen-tests/Makefile.am index 85e52cfa9..dd00bba54 100644 --- a/tct-appcontrol-tizen-tests/Makefile.am +++ b/tct-appcontrol-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = appcontrol $(commondir) -docdir = /opt/tct-appcontrol-tizen-tests +docdir = $(prefix)/opt/tct-appcontrol-tizen-tests dist_doc_DATA = Changelog README tests.xml -contentsdir = /opt/tct-appcontrol-tizen-tests/mediasrc +contentsdir = $(prefix)/opt/tct-appcontrol-tizen-tests/mediasrc dist_contents_DATA = webapi-tizen-appcontrol-test_* diff --git a/tct-appcontrol-tizen-tests/appcontrol/Makefile.am b/tct-appcontrol-tizen-tests/appcontrol/Makefile.am index 3e40bbf39..bbc01f2ea 100644 --- a/tct-appcontrol-tizen-tests/appcontrol/Makefile.am +++ b/tct-appcontrol-tizen-tests/appcontrol/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_DATA = *.html -workerdir = /opt/tct-appcontrol-tizen-tests/appcontrol +workerdir = $(prefix)/opt/tct-appcontrol-tizen-tests/appcontrol EXTRA_DIST = $(worker_DATA) diff --git a/tct-appcontrol-tizen-tests/appcontrol/support/Makefile.am b/tct-appcontrol-tizen-tests/appcontrol/support/Makefile.am index 1d7f43d4c..001b15192 100644 --- a/tct-appcontrol-tizen-tests/appcontrol/support/Makefile.am +++ b/tct-appcontrol-tizen-tests/appcontrol/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-appcontrol-tizen-tests/appcontrol/support +supportdir = $(prefix)/opt/tct-appcontrol-tizen-tests/appcontrol/support support_DATA = *.js EXTRA_DIST = $(support_DATA) diff --git a/tct-appcontrol-tizen-tests/pack.sh b/tct-appcontrol-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-appcontrol-tizen-tests/pack.sh +++ b/tct-appcontrol-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-appcontrol-tizen-tests/resources/Makefile.am b/tct-appcontrol-tizen-tests/resources/Makefile.am index 61ceb864d..8bc08999e 100644 --- a/tct-appcontrol-tizen-tests/resources/Makefile.am +++ b/tct-appcontrol-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-appcontrol-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-appcontrol-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-appcontrol-tizen-tests/testkit/Makefile.am b/tct-appcontrol-tizen-tests/testkit/Makefile.am index f15bf8cc5..c0db53853 100644 --- a/tct-appcontrol-tizen-tests/testkit/Makefile.am +++ b/tct-appcontrol-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-appcontrol-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-appcontrol-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-application-tizen-tests/Makefile.am b/tct-application-tizen-tests/Makefile.am index 37c504232..f16ffff43 100644 --- a/tct-application-tizen-tests/Makefile.am +++ b/tct-application-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = application $(commondir) -docdir = /opt/tct-application-tizen-tests +docdir = $(prefix)/opt/tct-application-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-application-tizen-tests/application/Makefile.am b/tct-application-tizen-tests/application/Makefile.am index 812d09a52..4a470cd84 100644 --- a/tct-application-tizen-tests/application/Makefile.am +++ b/tct-application-tizen-tests/application/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-application-tizen-tests/application +workerdir = $(prefix)/opt/tct-application-tizen-tests/application EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-application-tizen-tests/application/support/Makefile.am b/tct-application-tizen-tests/application/support/Makefile.am index 4b8db94b2..74546ac12 100644 --- a/tct-application-tizen-tests/application/support/Makefile.am +++ b/tct-application-tizen-tests/application/support/Makefile.am @@ -1,9 +1,9 @@ support_DATA = *.js -supportdir = /opt/tct-application-tizen-tests/application/support +supportdir = $(prefix)/opt/tct-application-tizen-tests/application/support application_widgets_DATA = TCTAppControl.wgt TCTAppControlMock.wgt -application_widgetsdir = /opt/tct-application-tizen-tests/ +application_widgetsdir = $(prefix)/opt/tct-application-tizen-tests/ package_widgets_DATA = TCTAppInfoEventTest1.wgt TCTAppInfoEventTest2.wgt -package_widgetsdir = /opt/tct-application-tizen-tests/mediasrc +package_widgetsdir = $(prefix)/opt/tct-application-tizen-tests/mediasrc EXTRA_DIST = $(support_DATA) $(application_widgets_DATA) $(package_widgets_DATA) diff --git a/tct-application-tizen-tests/application/support/TCTAppControl/resources/Makefile.am b/tct-application-tizen-tests/application/support/TCTAppControl/resources/Makefile.am index 09718477c..baced4911 100644 --- a/tct-application-tizen-tests/application/support/TCTAppControl/resources/Makefile.am +++ b/tct-application-tizen-tests/application/support/TCTAppControl/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-application-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-application-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-application-tizen-tests/pack.sh b/tct-application-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-application-tizen-tests/pack.sh +++ b/tct-application-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-application-tizen-tests/resources/Makefile.am b/tct-application-tizen-tests/resources/Makefile.am index 09718477c..baced4911 100644 --- a/tct-application-tizen-tests/resources/Makefile.am +++ b/tct-application-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-application-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-application-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-application-tizen-tests/testkit/Makefile.am b/tct-application-tizen-tests/testkit/Makefile.am index 48fc9dc64..91f827de2 100644 --- a/tct-application-tizen-tests/testkit/Makefile.am +++ b/tct-application-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-application-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-application-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-audio-html5-tests/Makefile.am b/tct-audio-html5-tests/Makefile.am index 306732be5..4d0dc71b7 100644 --- a/tct-audio-html5-tests/Makefile.am +++ b/tct-audio-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = audio $(commondir) -docdir = /opt/tct-audio-html5-tests +docdir = $(prefix)/opt/tct-audio-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-audio-html5-tests/audio/Makefile.am b/tct-audio-html5-tests/audio/Makefile.am index f422a5e9f..86b4e715a 100644 --- a/tct-audio-html5-tests/audio/Makefile.am +++ b/tct-audio-html5-tests/audio/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support media audio_SCRIPTS = * -audiodir = /opt/tct-audio-html5-tests/audio +audiodir = $(prefix)/opt/tct-audio-html5-tests/audio EXTRA_DIST = $(audio_SCRIPTS) diff --git a/tct-audio-html5-tests/audio/media/Makefile.am b/tct-audio-html5-tests/audio/media/Makefile.am index d300cb4b1..9b92bd0f6 100644 --- a/tct-audio-html5-tests/audio/media/Makefile.am +++ b/tct-audio-html5-tests/audio/media/Makefile.am @@ -1,3 +1,3 @@ audiomedia_SCRIPTS = * -audiomediadir = /opt/tct-audio-html5-tests/audio/media +audiomediadir = $(prefix)/opt/tct-audio-html5-tests/audio/media EXTRA_DIST = $(audiomedia_SCRIPTS) diff --git a/tct-audio-html5-tests/audio/support/Makefile.am b/tct-audio-html5-tests/audio/support/Makefile.am index 0952afa32..5ca92a2f9 100644 --- a/tct-audio-html5-tests/audio/support/Makefile.am +++ b/tct-audio-html5-tests/audio/support/Makefile.am @@ -1,3 +1,3 @@ audiosupport_SCRIPTS = * -audiosupportdir = /opt/tct-audio-html5-tests/audio/support +audiosupportdir = $(prefix)/opt/tct-audio-html5-tests/audio/support EXTRA_DIST = $(audiosupport_SCRIPTS) diff --git a/tct-audio-html5-tests/audio/w3c/Makefile.am b/tct-audio-html5-tests/audio/w3c/Makefile.am index 0c42f47d8..4dec5b4ca 100644 --- a/tct-audio-html5-tests/audio/w3c/Makefile.am +++ b/tct-audio-html5-tests/audio/w3c/Makefile.am @@ -1,3 +1,3 @@ audiow3c_SCRIPTS = * -audiow3cdir = /opt/tct-audio-html5-tests/audio/w3c +audiow3cdir = $(prefix)/opt/tct-audio-html5-tests/audio/w3c EXTRA_DIST = $(audiow3c_SCRIPTS) diff --git a/tct-audio-html5-tests/common/Makefile.am b/tct-audio-html5-tests/common/Makefile.am index 0cde7114c..d57ced1ee 100644 --- a/tct-audio-html5-tests/common/Makefile.am +++ b/tct-audio-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-audio-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-audio-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-audio-html5-tests/pack.sh b/tct-audio-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-audio-html5-tests/pack.sh +++ b/tct-audio-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-audio-html5-tests/resources/Makefile.am b/tct-audio-html5-tests/resources/Makefile.am index c00d188c6..ba81f0c34 100644 --- a/tct-audio-html5-tests/resources/Makefile.am +++ b/tct-audio-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-audio-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-audio-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-audio-html5-tests/testkit/Makefile.am b/tct-audio-html5-tests/testkit/Makefile.am index ab2eacbcb..6df69270f 100644 --- a/tct-audio-html5-tests/testkit/Makefile.am +++ b/tct-audio-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-audio-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-audio-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/Makefile.am b/tct-backgrounds-css3-tests/Makefile.am index b099e3ae8..28f73d1f4 100644 --- a/tct-backgrounds-css3-tests/Makefile.am +++ b/tct-backgrounds-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = backgrounds $(commondir) -docdir = /opt/tct-backgrounds-css3-tests +docdir = $(prefix)/opt/tct-backgrounds-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-backgrounds-css3-tests/backgrounds/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/Makefile.am index e0abb599a..ecf9a573d 100644 --- a/tct-backgrounds-css3-tests/backgrounds/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webkit support csswg tests_SCRIPTS = * -testsdir = /opt/tct-backgrounds-css3-tests/backgrounds +testsdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/backgrounds/csswg/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/csswg/Makefile.am index 2266f9bf2..9ec576535 100644 --- a/tct-backgrounds-css3-tests/backgrounds/csswg/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/csswg/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support Bgcsswg_SCRIPTS = * -Bgcsswgdir = /opt/tct-backgrounds-css3-tests/backgrounds/csswg +Bgcsswgdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/csswg EXTRA_DIST = $(Bgcsswg_SCRIPTS ) diff --git a/tct-backgrounds-css3-tests/backgrounds/csswg/support/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/csswg/support/Makefile.am index ad5885a0b..79b462b6b 100644 --- a/tct-backgrounds-css3-tests/backgrounds/csswg/support/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/csswg/support/Makefile.am @@ -1,3 +1,3 @@ backsupport_SCRIPTS = * -backsupportdir = /opt/tct-backgrounds-css3-tests/backgrounds/csswg/support +backsupportdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/csswg/support EXTRA_DIST = $(backsupport_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/backgrounds/support/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/support/Makefile.am index 38e057525..049870f78 100644 --- a/tct-backgrounds-css3-tests/backgrounds/support/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/support/Makefile.am @@ -1,3 +1,3 @@ backgroundssupport_SCRIPTS = * -backgroundssupportdir = /opt/tct-backgrounds-css3-tests/backgrounds/support +backgroundssupportdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/support EXTRA_DIST = $(backgroundssupport_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/backgrounds/webkit/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/webkit/Makefile.am index 45b27bdf1..2b16d7db1 100644 --- a/tct-backgrounds-css3-tests/backgrounds/webkit/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/webkit/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources tests_SCRIPTS = * -testsdir = /opt/tct-backgrounds-css3-tests/backgrounds/webkit +testsdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/webkit EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/backgrounds/webkit/resources/Makefile.am b/tct-backgrounds-css3-tests/backgrounds/webkit/resources/Makefile.am index 8f0ccdc2f..73876a362 100644 --- a/tct-backgrounds-css3-tests/backgrounds/webkit/resources/Makefile.am +++ b/tct-backgrounds-css3-tests/backgrounds/webkit/resources/Makefile.am @@ -1,3 +1,3 @@ resources_SCRIPTS = * -resourcesdir = /opt/tct-backgrounds-css3-tests/backgrounds/webkit/resources +resourcesdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/webkit/resources EXTRA_DIST = $(resources_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/pack.sh b/tct-backgrounds-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-backgrounds-css3-tests/pack.sh +++ b/tct-backgrounds-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-backgrounds-css3-tests/resources/Makefile.am b/tct-backgrounds-css3-tests/resources/Makefile.am index edf8065ae..1bce85817 100644 --- a/tct-backgrounds-css3-tests/resources/Makefile.am +++ b/tct-backgrounds-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-backgrounds-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-backgrounds-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-backgrounds-css3-tests/testkit/Makefile.am b/tct-backgrounds-css3-tests/testkit/Makefile.am index 936616a75..c09e41d5b 100644 --- a/tct-backgrounds-css3-tests/testkit/Makefile.am +++ b/tct-backgrounds-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-backgrounds-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-backgrounds-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-batterystatus-w3c-tests/Makefile.am b/tct-batterystatus-w3c-tests/Makefile.am index 95abfdb5d..aef7e7e6e 100644 --- a/tct-batterystatus-w3c-tests/Makefile.am +++ b/tct-batterystatus-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = batterystatus $(commondir) -docdir = /opt/tct-batterystatus-w3c-tests +docdir = $(prefix)/opt/tct-batterystatus-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-batterystatus-w3c-tests/batterystatus/Makefile.am b/tct-batterystatus-w3c-tests/batterystatus/Makefile.am index 3eb2b42b8..f97a7ee43 100644 --- a/tct-batterystatus-w3c-tests/batterystatus/Makefile.am +++ b/tct-batterystatus-w3c-tests/batterystatus/Makefile.am @@ -1,3 +1,3 @@ Battery_SCRIPTS = * -Batterydir = /opt/tct-batterystatus-w3c-tests/batterystatus +Batterydir = $(prefix)/opt/tct-batterystatus-w3c-tests/batterystatus EXTRA_DIST = $(Battery_SCRIPTS ) diff --git a/tct-batterystatus-w3c-tests/pack.sh b/tct-batterystatus-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-batterystatus-w3c-tests/pack.sh +++ b/tct-batterystatus-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-batterystatus-w3c-tests/resources/Makefile.am b/tct-batterystatus-w3c-tests/resources/Makefile.am index 6d874c3dc..7afb6edf5 100644 --- a/tct-batterystatus-w3c-tests/resources/Makefile.am +++ b/tct-batterystatus-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-batterystatus-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-batterystatus-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-batterystatus-w3c-tests/testkit/Makefile.am b/tct-batterystatus-w3c-tests/testkit/Makefile.am index bbf51a8e1..3d70cd084 100644 --- a/tct-batterystatus-w3c-tests/testkit/Makefile.am +++ b/tct-batterystatus-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-batterystatus-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-batterystatus-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-bluetooth-tizen-tests/Makefile.am b/tct-bluetooth-tizen-tests/Makefile.am index c48e5404a..acaa74eed 100644 --- a/tct-bluetooth-tizen-tests/Makefile.am +++ b/tct-bluetooth-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = bluetooth tct-bt-helper $(commondir) -docdir = /opt/tct-bluetooth-tizen-tests +docdir = $(prefix)/opt/tct-bluetooth-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-bluetooth-tizen-tests/bluetooth/Makefile.am b/tct-bluetooth-tizen-tests/bluetooth/Makefile.am index a46742600..8d625db65 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/Makefile.am +++ b/tct-bluetooth-tizen-tests/bluetooth/Makefile.am @@ -7,5 +7,5 @@ SUBDIRS = support bluetooth_SCRIPTS = * -bluetoothdir = /opt/tct-bluetooth-tizen-tests/bluetooth +bluetoothdir = $(prefix)/opt/tct-bluetooth-tizen-tests/bluetooth EXTRA_DIST = $(bluetooth_SCRIPTS) diff --git a/tct-bluetooth-tizen-tests/bluetooth/support/Makefile.am b/tct-bluetooth-tizen-tests/bluetooth/support/Makefile.am index ea5fc5518..5ab984fc4 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/support/Makefile.am +++ b/tct-bluetooth-tizen-tests/bluetooth/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-bluetooth-tizen-tests/bluetooth/support +supportdir = $(prefix)/opt/tct-bluetooth-tizen-tests/bluetooth/support support_DATA = * EXTRA_DIST = $(support_DATA) diff --git a/tct-bluetooth-tizen-tests/pack.sh b/tct-bluetooth-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-bluetooth-tizen-tests/pack.sh +++ b/tct-bluetooth-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-bluetooth-tizen-tests/resources/Makefile.am b/tct-bluetooth-tizen-tests/resources/Makefile.am index 05d12544a..6115e32fa 100644 --- a/tct-bluetooth-tizen-tests/resources/Makefile.am +++ b/tct-bluetooth-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-bluetooth-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-bluetooth-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-bluetooth-tizen-tests/tct-bt-helper/Makefile.am b/tct-bluetooth-tizen-tests/tct-bt-helper/Makefile.am index 61bff71d1..335c852e8 100644 --- a/tct-bluetooth-tizen-tests/tct-bt-helper/Makefile.am +++ b/tct-bluetooth-tizen-tests/tct-bt-helper/Makefile.am @@ -1,5 +1,5 @@ helper_DATA = tct_bt_helper.wgt -helperdir = /opt/tct-bluetooth-tizen-tests/ +helperdir = $(prefix)/opt/tct-bluetooth-tizen-tests/ tct_bt_helper.wgt: zip -rq $@ *.xml *.html *.png css/ images/ js/ diff --git a/tct-bluetooth-tizen-tests/testkit/Makefile.am b/tct-bluetooth-tizen-tests/testkit/Makefile.am index a4063726a..a1c3bb601 100644 --- a/tct-bluetooth-tizen-tests/testkit/Makefile.am +++ b/tct-bluetooth-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-bluetooth-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-bluetooth-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-bookmark-tizen-tests/Makefile.am b/tct-bookmark-tizen-tests/Makefile.am index 882103770..1209a8319 100644 --- a/tct-bookmark-tizen-tests/Makefile.am +++ b/tct-bookmark-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = bookmark $(commondir) -docdir = /opt/tct-bookmark-tizen-tests +docdir = $(prefix)/opt/tct-bookmark-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-bookmark-tizen-tests/bookmark/Makefile.am b/tct-bookmark-tizen-tests/bookmark/Makefile.am index c1a9ad91e..4ecd20c08 100644 --- a/tct-bookmark-tizen-tests/bookmark/Makefile.am +++ b/tct-bookmark-tizen-tests/bookmark/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-bookmark-tizen-tests/bookmark +workerdir = $(prefix)/opt/tct-bookmark-tizen-tests/bookmark EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-bookmark-tizen-tests/bookmark/support/Makefile.am b/tct-bookmark-tizen-tests/bookmark/support/Makefile.am index e9bcc8f77..fea910c34 100644 --- a/tct-bookmark-tizen-tests/bookmark/support/Makefile.am +++ b/tct-bookmark-tizen-tests/bookmark/support/Makefile.am @@ -1,3 +1,3 @@ support_DATA = *.js -supportdir = /opt/tct-bookmark-tizen-tests/bookmark/support -bookmark_widgetsdir = /opt/tct-bookmark-tizen-tests/ +supportdir = $(prefix)/opt/tct-bookmark-tizen-tests/bookmark/support +bookmark_widgetsdir = $(prefix)/opt/tct-bookmark-tizen-tests/ diff --git a/tct-bookmark-tizen-tests/pack.sh b/tct-bookmark-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-bookmark-tizen-tests/pack.sh +++ b/tct-bookmark-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-bookmark-tizen-tests/resources/Makefile.am b/tct-bookmark-tizen-tests/resources/Makefile.am index 6badfa410..c92c0eb5d 100644 --- a/tct-bookmark-tizen-tests/resources/Makefile.am +++ b/tct-bookmark-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-bookmark-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-bookmark-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-bookmark-tizen-tests/testkit/Makefile.am b/tct-bookmark-tizen-tests/testkit/Makefile.am index 82a04c435..95f39d4e5 100644 --- a/tct-bookmark-tizen-tests/testkit/Makefile.am +++ b/tct-bookmark-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-bookmark-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-bookmark-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-browserstate-html5-tests/Makefile.am b/tct-browserstate-html5-tests/Makefile.am index 976ae6f82..183b1300b 100644 --- a/tct-browserstate-html5-tests/Makefile.am +++ b/tct-browserstate-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = browserstate $(commondir) -docdir = /opt/tct-browserstate-html5-tests +docdir = $(prefix)/opt/tct-browserstate-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-browserstate-html5-tests/browserstate/Makefile.am b/tct-browserstate-html5-tests/browserstate/Makefile.am index ee5c66518..bf2e262f2 100644 --- a/tct-browserstate-html5-tests/browserstate/Makefile.am +++ b/tct-browserstate-html5-tests/browserstate/Makefile.am @@ -1,3 +1,3 @@ OnlineState_SCRIPTS = * -OnlineStatedir = /opt/tct-browserstate-html5-tests/browserstate +OnlineStatedir = $(prefix)/opt/tct-browserstate-html5-tests/browserstate EXTRA_DIST = $(OnlineState_SCRIPTS ) diff --git a/tct-browserstate-html5-tests/common/Makefile.am b/tct-browserstate-html5-tests/common/Makefile.am index d2e2785f8..b11df1e5d 100644 --- a/tct-browserstate-html5-tests/common/Makefile.am +++ b/tct-browserstate-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-browserstate-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-browserstate-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-browserstate-html5-tests/pack.sh b/tct-browserstate-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-browserstate-html5-tests/pack.sh +++ b/tct-browserstate-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-browserstate-html5-tests/resources/Makefile.am b/tct-browserstate-html5-tests/resources/Makefile.am index 6043e6e24..56f2eef54 100644 --- a/tct-browserstate-html5-tests/resources/Makefile.am +++ b/tct-browserstate-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-browserstate-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-browserstate-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-browserstate-html5-tests/testkit/Makefile.am b/tct-browserstate-html5-tests/testkit/Makefile.am index b3a838368..19946fdc8 100644 --- a/tct-browserstate-html5-tests/testkit/Makefile.am +++ b/tct-browserstate-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-browserstate-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-browserstate-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-calendar-tizen-tests/Makefile.am b/tct-calendar-tizen-tests/Makefile.am index afb9905bf..530601acd 100644 --- a/tct-calendar-tizen-tests/Makefile.am +++ b/tct-calendar-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = calendar $(commondir) -docdir = /opt/tct-calendar-tizen-tests +docdir = $(prefix)/opt/tct-calendar-tizen-tests dist_doc_DATA = COPYING README tests.xml diff --git a/tct-calendar-tizen-tests/calendar/Makefile.am b/tct-calendar-tizen-tests/calendar/Makefile.am index 2ed24575b..d06c4b0d1 100644 --- a/tct-calendar-tizen-tests/calendar/Makefile.am +++ b/tct-calendar-tizen-tests/calendar/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support calendar_SCRIPTS = * -calendardir = /opt/tct-calendar-tizen-tests/calendar +calendardir = $(prefix)/opt/tct-calendar-tizen-tests/calendar EXTRA_DIST = $(calendar_SCRIPTS) diff --git a/tct-calendar-tizen-tests/calendar/support/Makefile.am b/tct-calendar-tizen-tests/calendar/support/Makefile.am index a570b54dd..63e1ac182 100644 --- a/tct-calendar-tizen-tests/calendar/support/Makefile.am +++ b/tct-calendar-tizen-tests/calendar/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-calendar-tizen-tests/calendar/support +supportdir = $(prefix)/opt/tct-calendar-tizen-tests/calendar/support support_SCRIPTS = * EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-calendar-tizen-tests/pack.sh b/tct-calendar-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-calendar-tizen-tests/pack.sh +++ b/tct-calendar-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-calendar-tizen-tests/resources/Makefile.am b/tct-calendar-tizen-tests/resources/Makefile.am index 33e64f96d..b2f27395c 100644 --- a/tct-calendar-tizen-tests/resources/Makefile.am +++ b/tct-calendar-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-calendar-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-calendar-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-calendar-tizen-tests/testkit/Makefile.am b/tct-calendar-tizen-tests/testkit/Makefile.am index f769daa1a..df1f2b207 100644 --- a/tct-calendar-tizen-tests/testkit/Makefile.am +++ b/tct-calendar-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-calendar-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-calendar-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-callhistory-tizen-tests/Makefile.am b/tct-callhistory-tizen-tests/Makefile.am index a6a251943..1479f5265 100644 --- a/tct-callhistory-tizen-tests/Makefile.am +++ b/tct-callhistory-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = callhistory $(commondir) -docdir = /opt/tct-callhistory-tizen-tests +docdir = $(prefix)/opt/tct-callhistory-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-callhistory-tizen-tests/callhistory/Makefile.am b/tct-callhistory-tizen-tests/callhistory/Makefile.am index ab6b55a82..eb1408c78 100644 --- a/tct-callhistory-tizen-tests/callhistory/Makefile.am +++ b/tct-callhistory-tizen-tests/callhistory/Makefile.am @@ -7,5 +7,5 @@ SUBDIRS = support callhistory_SCRIPTS = * -callhistorydir = /opt/tct-callhistory-tizen-tests/callhistory +callhistorydir = $(prefix)/opt/tct-callhistory-tizen-tests/callhistory EXTRA_DIST = $(callhistory_SCRIPTS) diff --git a/tct-callhistory-tizen-tests/callhistory/support/Makefile.am b/tct-callhistory-tizen-tests/callhistory/support/Makefile.am index 2002cabdb..a3850b7bd 100644 --- a/tct-callhistory-tizen-tests/callhistory/support/Makefile.am +++ b/tct-callhistory-tizen-tests/callhistory/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-callhistory-tizen-tests/callhistory/support +supportdir = $(prefix)/opt/tct-callhistory-tizen-tests/callhistory/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-callhistory-tizen-tests/pack.sh b/tct-callhistory-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-callhistory-tizen-tests/pack.sh +++ b/tct-callhistory-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-callhistory-tizen-tests/resources/Makefile.am b/tct-callhistory-tizen-tests/resources/Makefile.am index 4f19127a5..2b894e7db 100644 --- a/tct-callhistory-tizen-tests/resources/Makefile.am +++ b/tct-callhistory-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-callhistory-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-callhistory-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-callhistory-tizen-tests/testkit/Makefile.am b/tct-callhistory-tizen-tests/testkit/Makefile.am index e26020994..219d0cb55 100644 --- a/tct-callhistory-tizen-tests/testkit/Makefile.am +++ b/tct-callhistory-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-callhistory-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-callhistory-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-canvas-html5-tests/Makefile.am b/tct-canvas-html5-tests/Makefile.am index fc97545be..2680f850a 100644 --- a/tct-canvas-html5-tests/Makefile.am +++ b/tct-canvas-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = canvas $(commondir) -docdir = /opt/tct-canvas-html5-tests +docdir = $(prefix)/opt/tct-canvas-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-canvas-html5-tests/canvas/Makefile.am b/tct-canvas-html5-tests/canvas/Makefile.am index fe27ab589..eeec4910d 100644 --- a/tct-canvas-html5-tests/canvas/Makefile.am +++ b/tct-canvas-html5-tests/canvas/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = common fonts w3c images support Canvas_SCRIPTS = * -Canvasdir = /opt/tct-canvas-html5-tests/canvas +Canvasdir = $(prefix)/opt/tct-canvas-html5-tests/canvas EXTRA_DIST = $(Canvas_SCRIPTS) diff --git a/tct-canvas-html5-tests/canvas/common/Makefile.am b/tct-canvas-html5-tests/canvas/common/Makefile.am index 1d99b1032..ae37e057b 100644 --- a/tct-canvas-html5-tests/canvas/common/Makefile.am +++ b/tct-canvas-html5-tests/canvas/common/Makefile.am @@ -1,3 +1,3 @@ common_SCRIPTS = * -commondir = /opt/tct-canvas-html5-tests/canvas/common +commondir = $(prefix)/opt/tct-canvas-html5-tests/canvas/common EXTRA_DIST = $(common_SCRIPTS) diff --git a/tct-canvas-html5-tests/canvas/fonts/Makefile.am b/tct-canvas-html5-tests/canvas/fonts/Makefile.am index b9430189a..da09fecb1 100644 --- a/tct-canvas-html5-tests/canvas/fonts/Makefile.am +++ b/tct-canvas-html5-tests/canvas/fonts/Makefile.am @@ -1,3 +1,3 @@ fonts_SCRIPTS = * -fontsdir = /opt/tct-canvas-html5-tests/canvas/fonts +fontsdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/fonts EXTRA_DIST = $(fonts_SCRIPTS) diff --git a/tct-canvas-html5-tests/canvas/images/Makefile.am b/tct-canvas-html5-tests/canvas/images/Makefile.am index e7543c25d..e1e1a8c99 100644 --- a/tct-canvas-html5-tests/canvas/images/Makefile.am +++ b/tct-canvas-html5-tests/canvas/images/Makefile.am @@ -1,3 +1,3 @@ images_SCRIPTS = * -imagesdir = /opt/tct-canvas-html5-tests/canvas/images +imagesdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/images EXTRA_DIST = $(images_SCRIPTS) diff --git a/tct-canvas-html5-tests/canvas/support/Makefile.am b/tct-canvas-html5-tests/canvas/support/Makefile.am index 07f850d9e..3971b3d14 100644 --- a/tct-canvas-html5-tests/canvas/support/Makefile.am +++ b/tct-canvas-html5-tests/canvas/support/Makefile.am @@ -1,3 +1,3 @@ canvassupport_SCRIPTS = * -canvassupportdir = /opt/tct-canvas-html5-tests/canvas/support +canvassupportdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/support EXTRA_DIST = $(canvassupport_SCRIPTS) diff --git a/tct-canvas-html5-tests/canvas/w3c/Makefile.am b/tct-canvas-html5-tests/canvas/w3c/Makefile.am index 00f00dfc3..6c044a66e 100644 --- a/tct-canvas-html5-tests/canvas/w3c/Makefile.am +++ b/tct-canvas-html5-tests/canvas/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-canvas-html5-tests/canvas/w3c +w3cdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-canvas-html5-tests/common/Makefile.am b/tct-canvas-html5-tests/common/Makefile.am index ba188f6eb..3203395e3 100644 --- a/tct-canvas-html5-tests/common/Makefile.am +++ b/tct-canvas-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-canvas-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-canvas-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-canvas-html5-tests/pack.sh b/tct-canvas-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-canvas-html5-tests/pack.sh +++ b/tct-canvas-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-canvas-html5-tests/resources/Makefile.am b/tct-canvas-html5-tests/resources/Makefile.am index c26fdcd3e..58cd8543f 100644 --- a/tct-canvas-html5-tests/resources/Makefile.am +++ b/tct-canvas-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-canvas-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-canvas-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-canvas-html5-tests/testkit/Makefile.am b/tct-canvas-html5-tests/testkit/Makefile.am index 78f4807fe..260dab5ca 100644 --- a/tct-canvas-html5-tests/testkit/Makefile.am +++ b/tct-canvas-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-canvas-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-canvas-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-capability-tests/Makefile.am b/tct-capability-tests/Makefile.am index 1bb7cebd9..a83b9bd1b 100644 --- a/tct-capability-tests/Makefile.am +++ b/tct-capability-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = capability $(commondir) -docdir = /opt/tct-capability-tests +docdir = $(prefix)/opt/tct-capability-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-capability-tests/capability/Makefile.am b/tct-capability-tests/capability/Makefile.am index a2ed93153..539a5156a 100644 --- a/tct-capability-tests/capability/Makefile.am +++ b/tct-capability-tests/capability/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support capability_SCRIPTS = * -capabilitydir = /opt/tct-capability-tests/capability +capabilitydir = $(prefix)/opt/tct-capability-tests/capability EXTRA_DIST = $(capability_SCRIPTS) diff --git a/tct-capability-tests/capability/support/Makefile.am b/tct-capability-tests/capability/support/Makefile.am index 653add945..9ae35b37a 100644 --- a/tct-capability-tests/capability/support/Makefile.am +++ b/tct-capability-tests/capability/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-capability-tests/capability/support +supportdir = $(prefix)/opt/tct-capability-tests/capability/support support_SCRIPTS = * EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-capability-tests/pack.sh b/tct-capability-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-capability-tests/pack.sh +++ b/tct-capability-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-capability-tests/resources/Makefile.am b/tct-capability-tests/resources/Makefile.am index 21fef6cdf..b29fd0991 100644 --- a/tct-capability-tests/resources/Makefile.am +++ b/tct-capability-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_SCRIPTS = * -resourcesdir = /opt/tct-capability-tests/resources +resourcesdir = $(prefix)/opt/tct-capability-tests/resources EXTRA_DIST = $(resources_SCRIPTS) diff --git a/tct-capability-tests/testkit/Makefile.am b/tct-capability-tests/testkit/Makefile.am index 9b22c29eb..c73dc5ac6 100644 --- a/tct-capability-tests/testkit/Makefile.am +++ b/tct-capability-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-capability-tests/testkit/web +testkitdir = $(prefix)/opt/tct-capability-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-colors-css3-tests/Makefile.am b/tct-colors-css3-tests/Makefile.am index daf10213e..9a58ab281 100644 --- a/tct-colors-css3-tests/Makefile.am +++ b/tct-colors-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = colors $(commondir) -docdir = /opt/tct-colors-css3-tests +docdir = $(prefix)/opt/tct-colors-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-colors-css3-tests/colors/Makefile.am b/tct-colors-css3-tests/colors/Makefile.am index c238d1a08..ba7b573b8 100644 --- a/tct-colors-css3-tests/colors/Makefile.am +++ b/tct-colors-css3-tests/colors/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg support tests_SCRIPTS = * -testsdir = /opt/tct-colors-css3-tests/colors +testsdir = $(prefix)/opt/tct-colors-css3-tests/colors EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-colors-css3-tests/colors/csswg/Makefile.am b/tct-colors-css3-tests/colors/csswg/Makefile.am index c7f30936d..91732778c 100644 --- a/tct-colors-css3-tests/colors/csswg/Makefile.am +++ b/tct-colors-css3-tests/colors/csswg/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-colors-css3-tests/colors/csswg +testsdir = $(prefix)/opt/tct-colors-css3-tests/colors/csswg EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-colors-css3-tests/colors/support/Makefile.am b/tct-colors-css3-tests/colors/support/Makefile.am index 227f0dd43..05817384e 100644 --- a/tct-colors-css3-tests/colors/support/Makefile.am +++ b/tct-colors-css3-tests/colors/support/Makefile.am @@ -1,3 +1,3 @@ colorssupport_SCRIPTS = * -colorssupportdir = /opt/tct-colors-css3-tests/colors/support +colorssupportdir = $(prefix)/opt/tct-colors-css3-tests/colors/support EXTRA_DIST = $(colorssupport_SCRIPTS) diff --git a/tct-colors-css3-tests/pack.sh b/tct-colors-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-colors-css3-tests/pack.sh +++ b/tct-colors-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-colors-css3-tests/resources/Makefile.am b/tct-colors-css3-tests/resources/Makefile.am index 193658248..7c2de4666 100644 --- a/tct-colors-css3-tests/resources/Makefile.am +++ b/tct-colors-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-colors-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-colors-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-colors-css3-tests/testkit/Makefile.am b/tct-colors-css3-tests/testkit/Makefile.am index a8ffb03ab..9571c7fbe 100644 --- a/tct-colors-css3-tests/testkit/Makefile.am +++ b/tct-colors-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-colors-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-colors-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-contact-tizen-tests/Makefile.am b/tct-contact-tizen-tests/Makefile.am index 033206adf..ec2a6763b 100644 --- a/tct-contact-tizen-tests/Makefile.am +++ b/tct-contact-tizen-tests/Makefile.am @@ -1,8 +1,8 @@ commondir = resources testkit SUBDIRS = contact $(commondir) -docdir = /opt/tct-contact-tizen-tests +docdir = $(prefix)/opt/tct-contact-tizen-tests dist_doc_DATA = COPYING README tests.xml -sounddir = /opt/tct-contact-tizen-tests/mediasrc +sounddir = $(prefix)/opt/tct-contact-tizen-tests/mediasrc dist_sound_DATA = *.mp3 -imagedir = /opt/tct-contact-tizen-tests/mediasrc +imagedir = $(prefix)/opt/tct-contact-tizen-tests/mediasrc dist_image_DATA = *.png diff --git a/tct-contact-tizen-tests/contact/Makefile.am b/tct-contact-tizen-tests/contact/Makefile.am index 81a3d1651..5eaa7f6e6 100644 --- a/tct-contact-tizen-tests/contact/Makefile.am +++ b/tct-contact-tizen-tests/contact/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support contact_SCRIPTS = * -contactdir = /opt/tct-contact-tizen-tests/contact +contactdir = $(prefix)/opt/tct-contact-tizen-tests/contact EXTRA_DIST = $(contact_SCRIPTS) diff --git a/tct-contact-tizen-tests/contact/support/Makefile.am b/tct-contact-tizen-tests/contact/support/Makefile.am index 63e7f60a0..3665ad738 100644 --- a/tct-contact-tizen-tests/contact/support/Makefile.am +++ b/tct-contact-tizen-tests/contact/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-contact-tizen-tests/contact/support +supportdir = $(prefix)/opt/tct-contact-tizen-tests/contact/support support_SCRIPTS = * EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-contact-tizen-tests/pack.sh b/tct-contact-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-contact-tizen-tests/pack.sh +++ b/tct-contact-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-contact-tizen-tests/resources/Makefile.am b/tct-contact-tizen-tests/resources/Makefile.am index df5047d1d..85025cd9e 100644 --- a/tct-contact-tizen-tests/resources/Makefile.am +++ b/tct-contact-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-contact-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-contact-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-contact-tizen-tests/testkit/Makefile.am b/tct-contact-tizen-tests/testkit/Makefile.am index a1f905521..a57fb09c2 100644 --- a/tct-contact-tizen-tests/testkit/Makefile.am +++ b/tct-contact-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-contact-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-contact-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-content-tizen-tests/Makefile.am b/tct-content-tizen-tests/Makefile.am index 8a52128f8..f791be0f6 100644 --- a/tct-content-tizen-tests/Makefile.am +++ b/tct-content-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = content $(commondir) -docdir = /opt/tct-content-tizen-tests +docdir = $(prefix)/opt/tct-content-tizen-tests dist_doc_DATA = Changelog README tests.xml -mediadir = /opt/tct-content-tizen-tests/mediasrc +mediadir = $(prefix)/opt/tct-content-tizen-tests/mediasrc dist_media_DATA = media/* diff --git a/tct-content-tizen-tests/content/Makefile.am b/tct-content-tizen-tests/content/Makefile.am index d9b1f28ae..a67dec622 100644 --- a/tct-content-tizen-tests/content/Makefile.am +++ b/tct-content-tizen-tests/content/Makefile.am @@ -30,5 +30,5 @@ SUBDIRS = support content_SCRIPTS = * -contentdir = /opt/tct-content-tizen-tests/content +contentdir = $(prefix)/opt/tct-content-tizen-tests/content EXTRA_DIST = $(content_SCRIPTS) diff --git a/tct-content-tizen-tests/content/support/Makefile.am b/tct-content-tizen-tests/content/support/Makefile.am index c22edfa49..c751abdfa 100644 --- a/tct-content-tizen-tests/content/support/Makefile.am +++ b/tct-content-tizen-tests/content/support/Makefile.am @@ -1,4 +1,4 @@ support_DATA = *.js -supportdir = /opt/tct-content-tizen-tests/content/support +supportdir = $(prefix)/opt/tct-content-tizen-tests/content/support EXTRA_DIST = $(support_DATA) diff --git a/tct-content-tizen-tests/pack.sh b/tct-content-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-content-tizen-tests/pack.sh +++ b/tct-content-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-content-tizen-tests/resources/Makefile.am b/tct-content-tizen-tests/resources/Makefile.am index 1e703ed7f..233e83b7c 100644 --- a/tct-content-tizen-tests/resources/Makefile.am +++ b/tct-content-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-content-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-content-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-content-tizen-tests/testkit/Makefile.am b/tct-content-tizen-tests/testkit/Makefile.am index 2db2262d2..5f83aef76 100644 --- a/tct-content-tizen-tests/testkit/Makefile.am +++ b/tct-content-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-content-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-content-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-cors-w3c-tests/Makefile.am b/tct-cors-w3c-tests/Makefile.am index 608813c29..78f606dcd 100644 --- a/tct-cors-w3c-tests/Makefile.am +++ b/tct-cors-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = cors $(commondir) -docdir = /opt/tct-cors-w3c-tests +docdir = $(prefix)/opt/tct-cors-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-cors-w3c-tests/cors/Makefile.am b/tct-cors-w3c-tests/cors/Makefile.am index 7a82648e2..78b32614a 100644 --- a/tct-cors-w3c-tests/cors/Makefile.am +++ b/tct-cors-w3c-tests/cors/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support cors_SCRIPTS = * -corsdir = /opt/tct-cors-w3c-tests/cors +corsdir = $(prefix)/opt/tct-cors-w3c-tests/cors EXTRA_DIST = $(cors_SCRIPTS) diff --git a/tct-cors-w3c-tests/cors/support/Makefile.am b/tct-cors-w3c-tests/cors/support/Makefile.am index c2f324d9e..232643dcc 100644 --- a/tct-cors-w3c-tests/cors/support/Makefile.am +++ b/tct-cors-w3c-tests/cors/support/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cgi corssupport_SCRIPTS = * -corssupportdir = /opt/tct-cors-w3c-tests/cors/support +corssupportdir = $(prefix)/opt/tct-cors-w3c-tests/cors/support EXTRA_DIST = $(corssupport_SCRIPTS) diff --git a/tct-cors-w3c-tests/cors/support/cgi/Makefile.am b/tct-cors-w3c-tests/cors/support/cgi/Makefile.am index 78139ed64..790928cb6 100644 --- a/tct-cors-w3c-tests/cors/support/cgi/Makefile.am +++ b/tct-cors-w3c-tests/cors/support/cgi/Makefile.am @@ -1,3 +1,3 @@ corssupportcgi_SCRIPTS = * -corssupportcgidir = /opt/tct-cors-w3c-tests/cors/support/cgi +corssupportcgidir = $(prefix)/opt/tct-cors-w3c-tests/cors/support/cgi EXTRA_DIST = $(corssupportcgi_SCRIPTS) diff --git a/tct-cors-w3c-tests/pack.sh b/tct-cors-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-cors-w3c-tests/pack.sh +++ b/tct-cors-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-cors-w3c-tests/resources/Makefile.am b/tct-cors-w3c-tests/resources/Makefile.am index 872a92b21..279c3af72 100644 --- a/tct-cors-w3c-tests/resources/Makefile.am +++ b/tct-cors-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-cors-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-cors-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-cors-w3c-tests/testkit/Makefile.am b/tct-cors-w3c-tests/testkit/Makefile.am index f468a1178..3718775fe 100644 --- a/tct-cors-w3c-tests/testkit/Makefile.am +++ b/tct-cors-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-cors-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-cors-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-csp-w3c-tests/Makefile.am b/tct-csp-w3c-tests/Makefile.am index 7c18a2aea..7cf616a6d 100644 --- a/tct-csp-w3c-tests/Makefile.am +++ b/tct-csp-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = csp $(commondir) -docdir = /opt/tct-csp-w3c-tests +docdir = $(prefix)/opt/tct-csp-w3c-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-csp-w3c-tests/csp/Makefile.am b/tct-csp-w3c-tests/csp/Makefile.am index 41c2701e9..094166545 100644 --- a/tct-csp-w3c-tests/csp/Makefile.am +++ b/tct-csp-w3c-tests/csp/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support csp_SCRIPTS = * -cspdir = /opt/tct-csp-w3c-tests/csp +cspdir = $(prefix)/opt/tct-csp-w3c-tests/csp EXTRA_DIST = $(csp_SCRIPTS) diff --git a/tct-csp-w3c-tests/csp/support/Makefile.am b/tct-csp-w3c-tests/csp/support/Makefile.am index 00ab5c908..f55cbcb04 100644 --- a/tct-csp-w3c-tests/csp/support/Makefile.am +++ b/tct-csp-w3c-tests/csp/support/Makefile.am @@ -1,3 +1,3 @@ cspsupport_SCRIPTS = * -cspsupportdir = /opt/tct-csp-w3c-tests/csp/support +cspsupportdir = $(prefix)/opt/tct-csp-w3c-tests/csp/support EXTRA_DIST = $(cspsupport_SCRIPTS) diff --git a/tct-csp-w3c-tests/csp/w3c/Makefile.am b/tct-csp-w3c-tests/csp/w3c/Makefile.am index 8c10cdcbf..b66398f78 100644 --- a/tct-csp-w3c-tests/csp/w3c/Makefile.am +++ b/tct-csp-w3c-tests/csp/w3c/Makefile.am @@ -1,3 +1,3 @@ cspw3c_SCRIPTS = * -cspw3cdir = /opt/tct-csp-w3c-tests/csp/w3c +cspw3cdir = $(prefix)/opt/tct-csp-w3c-tests/csp/w3c EXTRA_DIST = $(cspw3c_SCRIPTS) diff --git a/tct-csp-w3c-tests/pack.sh b/tct-csp-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-csp-w3c-tests/pack.sh +++ b/tct-csp-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-csp-w3c-tests/resources/Makefile.am b/tct-csp-w3c-tests/resources/Makefile.am index b365a112d..a48264134 100644 --- a/tct-csp-w3c-tests/resources/Makefile.am +++ b/tct-csp-w3c-tests/resources/Makefile.am @@ -1,4 +1,4 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-csp-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-csp-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-csp-w3c-tests/testkit/Makefile.am b/tct-csp-w3c-tests/testkit/Makefile.am index b71f12d9b..e7b835f79 100644 --- a/tct-csp-w3c-tests/testkit/Makefile.am +++ b/tct-csp-w3c-tests/testkit/Makefile.am @@ -1,4 +1,4 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-csp-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-csp-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-datacontrol-tizen-tests/Makefile.am b/tct-datacontrol-tizen-tests/Makefile.am index 5924c0cab..36dcc17c8 100644 --- a/tct-datacontrol-tizen-tests/Makefile.am +++ b/tct-datacontrol-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = datacontrol $(commondir) -docdir = /opt/tct-datacontrol-tizen-tests +docdir = $(prefix)/opt/tct-datacontrol-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-datacontrol-tizen-tests/datacontrol/Makefile.am b/tct-datacontrol-tizen-tests/datacontrol/Makefile.am index 22ad733a2..5fb263d10 100644 --- a/tct-datacontrol-tizen-tests/datacontrol/Makefile.am +++ b/tct-datacontrol-tizen-tests/datacontrol/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-datacontrol-tizen-tests/datacontrol +workerdir = $(prefix)/opt/tct-datacontrol-tizen-tests/datacontrol EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-datacontrol-tizen-tests/datacontrol/support/Makefile.am b/tct-datacontrol-tizen-tests/datacontrol/support/Makefile.am index 790d5a447..49427bb8b 100644 --- a/tct-datacontrol-tizen-tests/datacontrol/support/Makefile.am +++ b/tct-datacontrol-tizen-tests/datacontrol/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-datacontrol-tizen-tests/datacontrol/support +supportdir = $(prefix)/opt/tct-datacontrol-tizen-tests/datacontrol/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-datacontrol-tizen-tests/pack.sh b/tct-datacontrol-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-datacontrol-tizen-tests/pack.sh +++ b/tct-datacontrol-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-datacontrol-tizen-tests/resources/Makefile.am b/tct-datacontrol-tizen-tests/resources/Makefile.am index 95d9d7375..459cee07e 100644 --- a/tct-datacontrol-tizen-tests/resources/Makefile.am +++ b/tct-datacontrol-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-datacontrol-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-datacontrol-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-datacontrol-tizen-tests/testkit/Makefile.am b/tct-datacontrol-tizen-tests/testkit/Makefile.am index 26ef6b0d3..36cd30f20 100644 --- a/tct-datacontrol-tizen-tests/testkit/Makefile.am +++ b/tct-datacontrol-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-datacontrol-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-datacontrol-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-datasync-tizen-tests/Makefile.am b/tct-datasync-tizen-tests/Makefile.am index d4b6ed34f..80c96d19f 100644 --- a/tct-datasync-tizen-tests/Makefile.am +++ b/tct-datasync-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = datasync $(commondir) -docdir = /opt/tct-datasync-tizen-tests +docdir = $(prefix)/opt/tct-datasync-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-datasync-tizen-tests/datasync/Makefile.am b/tct-datasync-tizen-tests/datasync/Makefile.am index 63e457ee7..8f184b4d9 100644 --- a/tct-datasync-tizen-tests/datasync/Makefile.am +++ b/tct-datasync-tizen-tests/datasync/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support datasync_SCRIPTS = * -datasyncdir = /opt/tct-datasync-tizen-tests/datasync +datasyncdir = $(prefix)/opt/tct-datasync-tizen-tests/datasync EXTRA_DIST = $(datasync_SCRIPTS) diff --git a/tct-datasync-tizen-tests/datasync/support/Makefile.am b/tct-datasync-tizen-tests/datasync/support/Makefile.am index ffc316985..ef8caa5e5 100644 --- a/tct-datasync-tizen-tests/datasync/support/Makefile.am +++ b/tct-datasync-tizen-tests/datasync/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-datasync-tizen-tests/datasync/support +supportdir = $(prefix)/opt/tct-datasync-tizen-tests/datasync/support support_SCRIPTS = *.js EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-datasync-tizen-tests/pack.sh b/tct-datasync-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-datasync-tizen-tests/pack.sh +++ b/tct-datasync-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-datasync-tizen-tests/resources/Makefile.am b/tct-datasync-tizen-tests/resources/Makefile.am index 5c85e3e87..cf88c6569 100644 --- a/tct-datasync-tizen-tests/resources/Makefile.am +++ b/tct-datasync-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-datasync-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-datasync-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-datasync-tizen-tests/testkit/Makefile.am b/tct-datasync-tizen-tests/testkit/Makefile.am index a1a356d36..6a0fbb0bc 100644 --- a/tct-datasync-tizen-tests/testkit/Makefile.am +++ b/tct-datasync-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-datasync-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-datasync-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-deviceorientation-w3c-tests/Makefile.am b/tct-deviceorientation-w3c-tests/Makefile.am index 7d86cc421..a0d762e4a 100644 --- a/tct-deviceorientation-w3c-tests/Makefile.am +++ b/tct-deviceorientation-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = deviceorientation $(commondir) -docdir = /opt/tct-deviceorientation-w3c-tests +docdir = $(prefix)/opt/tct-deviceorientation-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-deviceorientation-w3c-tests/deviceorientation/Makefile.am b/tct-deviceorientation-w3c-tests/deviceorientation/Makefile.am index c989fb49c..c4926b6f4 100644 --- a/tct-deviceorientation-w3c-tests/deviceorientation/Makefile.am +++ b/tct-deviceorientation-w3c-tests/deviceorientation/Makefile.am @@ -1,3 +1,3 @@ Orientation_SCRIPTS = * -Orientationdir = /opt/tct-deviceorientation-w3c-tests/deviceorientation +Orientationdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/deviceorientation EXTRA_DIST = $(Orientation_SCRIPTS) diff --git a/tct-deviceorientation-w3c-tests/pack.sh b/tct-deviceorientation-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-deviceorientation-w3c-tests/pack.sh +++ b/tct-deviceorientation-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-deviceorientation-w3c-tests/resources/Makefile.am b/tct-deviceorientation-w3c-tests/resources/Makefile.am index 5731b1b0f..6fb0ffb46 100644 --- a/tct-deviceorientation-w3c-tests/resources/Makefile.am +++ b/tct-deviceorientation-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-deviceorientation-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-deviceorientation-w3c-tests/testkit/Makefile.am b/tct-deviceorientation-w3c-tests/testkit/Makefile.am index b460bb522..5faa94ee0 100644 --- a/tct-deviceorientation-w3c-tests/testkit/Makefile.am +++ b/tct-deviceorientation-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-deviceorientation-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-dnd-html5-tests/Makefile.am b/tct-dnd-html5-tests/Makefile.am index ed247e0f8..ee3e53ebd 100644 --- a/tct-dnd-html5-tests/Makefile.am +++ b/tct-dnd-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = dnd $(commondir) -docdir = /opt/tct-dnd-html5-tests +docdir = $(prefix)/opt/tct-dnd-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-dnd-html5-tests/common/Makefile.am b/tct-dnd-html5-tests/common/Makefile.am index c523ea2f9..5f9a6ffdc 100644 --- a/tct-dnd-html5-tests/common/Makefile.am +++ b/tct-dnd-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-dnd-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-dnd-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-dnd-html5-tests/dnd/Makefile.am b/tct-dnd-html5-tests/dnd/Makefile.am index f8517398b..9331f1fc7 100644 --- a/tct-dnd-html5-tests/dnd/Makefile.am +++ b/tct-dnd-html5-tests/dnd/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS = w3c images DnD_SCRIPTS = * -DnDdir = /opt/tct-dnd-html5-tests/dnd +DnDdir = $(prefix)/opt/tct-dnd-html5-tests/dnd EXTRA_DIST = $(DnD_SCRIPTS) diff --git a/tct-dnd-html5-tests/dnd/images/Makefile.am b/tct-dnd-html5-tests/dnd/images/Makefile.am index bfb5717fb..f46d660ef 100644 --- a/tct-dnd-html5-tests/dnd/images/Makefile.am +++ b/tct-dnd-html5-tests/dnd/images/Makefile.am @@ -1,3 +1,3 @@ dndimages_SCRIPTS = * -dndimagesdir = /opt/tct-dnd-html5-tests/dnd/images +dndimagesdir = $(prefix)/opt/tct-dnd-html5-tests/dnd/images EXTRA_DIST = $(dndimages_SCRIPTS) diff --git a/tct-dnd-html5-tests/dnd/w3c/Makefile.am b/tct-dnd-html5-tests/dnd/w3c/Makefile.am index 9bb1da2b1..1ad024425 100644 --- a/tct-dnd-html5-tests/dnd/w3c/Makefile.am +++ b/tct-dnd-html5-tests/dnd/w3c/Makefile.am @@ -1,3 +1,3 @@ DnDw3c_SCRIPTS = * -DnDw3cdir = /opt/tct-dnd-html5-tests/dnd/w3c +DnDw3cdir = $(prefix)/opt/tct-dnd-html5-tests/dnd/w3c EXTRA_DIST = $(DnDw3c_SCRIPTS) diff --git a/tct-dnd-html5-tests/pack.sh b/tct-dnd-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-dnd-html5-tests/pack.sh +++ b/tct-dnd-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-dnd-html5-tests/resources/Makefile.am b/tct-dnd-html5-tests/resources/Makefile.am index 79f67cf10..567a4c14f 100644 --- a/tct-dnd-html5-tests/resources/Makefile.am +++ b/tct-dnd-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-dnd-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-dnd-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-dnd-html5-tests/testkit/Makefile.am b/tct-dnd-html5-tests/testkit/Makefile.am index 1b92be6d7..221df07e7 100644 --- a/tct-dnd-html5-tests/testkit/Makefile.am +++ b/tct-dnd-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-dnd-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-dnd-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-download-tizen-tests/Makefile.am b/tct-download-tizen-tests/Makefile.am index acab71cc0..6fdb84a36 100644 --- a/tct-download-tizen-tests/Makefile.am +++ b/tct-download-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = download $(commondir) -docdir = /opt/tct-download-tizen-tests +docdir = $(prefix)/opt/tct-download-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-download-tizen-tests/download/Makefile.am b/tct-download-tizen-tests/download/Makefile.am index c4eea2651..69d2a90f7 100644 --- a/tct-download-tizen-tests/download/Makefile.am +++ b/tct-download-tizen-tests/download/Makefile.am @@ -7,5 +7,5 @@ SUBDIRS = support download_SCRIPTS = * -downloaddir = /opt/tct-download-tizen-tests/download +downloaddir = $(prefix)/opt/tct-download-tizen-tests/download EXTRA_DIST = $(download_SCRIPTS) diff --git a/tct-download-tizen-tests/download/support/Makefile.am b/tct-download-tizen-tests/download/support/Makefile.am index c8d819cb1..498f22cd0 100644 --- a/tct-download-tizen-tests/download/support/Makefile.am +++ b/tct-download-tizen-tests/download/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-download-tizen-tests/download/support +supportdir = $(prefix)/opt/tct-download-tizen-tests/download/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-download-tizen-tests/pack.sh b/tct-download-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-download-tizen-tests/pack.sh +++ b/tct-download-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-download-tizen-tests/resources/Makefile.am b/tct-download-tizen-tests/resources/Makefile.am index 2bc5a2619..805b9a173 100644 --- a/tct-download-tizen-tests/resources/Makefile.am +++ b/tct-download-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-download-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-download-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-download-tizen-tests/testkit/Makefile.am b/tct-download-tizen-tests/testkit/Makefile.am index 3a1636303..fd2f8bb54 100644 --- a/tct-download-tizen-tests/testkit/Makefile.am +++ b/tct-download-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-download-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-download-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-extra-html5-tests/Makefile.am b/tct-extra-html5-tests/Makefile.am index 0c1d6a852..61e6b1533 100644 --- a/tct-extra-html5-tests/Makefile.am +++ b/tct-extra-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources common testkit SUBDIRS = attributes base64 dataset foreigncontent xhtml5 w3c semantics dom rendering browsers $(commondir) -docdir = /opt/tct-extra-html5-tests +docdir = $(prefix)/opt/tct-extra-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-extra-html5-tests/attributes/w3c/Makefile.am b/tct-extra-html5-tests/attributes/w3c/Makefile.am index 494106685..9ef7a1277 100644 --- a/tct-extra-html5-tests/attributes/w3c/Makefile.am +++ b/tct-extra-html5-tests/attributes/w3c/Makefile.am @@ -1,3 +1,3 @@ attributesw3c_SCRIPTS = * -attributesw3cdir = /opt/tct-extra-html5-tests/attributes/w3c +attributesw3cdir = $(prefix)/opt/tct-extra-html5-tests/attributes/w3c EXTRA_DIST = $(attributesw3c_SCRIPTS) diff --git a/tct-extra-html5-tests/base64/w3c/Makefile.am b/tct-extra-html5-tests/base64/w3c/Makefile.am index 28cbbea5c..19f3d62e8 100644 --- a/tct-extra-html5-tests/base64/w3c/Makefile.am +++ b/tct-extra-html5-tests/base64/w3c/Makefile.am @@ -1,3 +1,3 @@ base64w3c_SCRIPTS = * -base64w3cdir = /opt/tct-extra-html5-tests/base64/w3c +base64w3cdir = $(prefix)/opt/tct-extra-html5-tests/base64/w3c EXTRA_DIST = $(base64w3c_SCRIPTS) diff --git a/tct-extra-html5-tests/browsers/history/the-history-interface/Makefile.am b/tct-extra-html5-tests/browsers/history/the-history-interface/Makefile.am index e4c03d7e5..b99979a02 100644 --- a/tct-extra-html5-tests/browsers/history/the-history-interface/Makefile.am +++ b/tct-extra-html5-tests/browsers/history/the-history-interface/Makefile.am @@ -1,3 +1,3 @@ history_SCRIPTS = * -historydir = /opt/tct-extra-html5-tests/browsers/history/the-history-interface +historydir = $(prefix)/opt/tct-extra-html5-tests/browsers/history/the-history-interface EXTRA_DIST = $(history_SCRIPTS) diff --git a/tct-extra-html5-tests/browsers/the-window-object/the-window-object/Makefile.am b/tct-extra-html5-tests/browsers/the-window-object/the-window-object/Makefile.am index 016f158d0..81f7fb076 100644 --- a/tct-extra-html5-tests/browsers/the-window-object/the-window-object/Makefile.am +++ b/tct-extra-html5-tests/browsers/the-window-object/the-window-object/Makefile.am @@ -1,3 +1,3 @@ object_SCRIPTS = * -objectdir = /opt/tct-extra-html5-tests/browsers/the-window-object/the-window-object +objectdir = $(prefix)/opt/tct-extra-html5-tests/browsers/the-window-object/the-window-object EXTRA_DIST = $(object_SCRIPTS) diff --git a/tct-extra-html5-tests/common/Makefile.am b/tct-extra-html5-tests/common/Makefile.am index f09267c49..ff0cd70b0 100644 --- a/tct-extra-html5-tests/common/Makefile.am +++ b/tct-extra-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-extra-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-extra-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-extra-html5-tests/dataset/w3c/Makefile.am b/tct-extra-html5-tests/dataset/w3c/Makefile.am index 0732f7b45..aca251df5 100644 --- a/tct-extra-html5-tests/dataset/w3c/Makefile.am +++ b/tct-extra-html5-tests/dataset/w3c/Makefile.am @@ -1,3 +1,3 @@ datasetw3c_SCRIPTS = * -datasetw3cdir = /opt/tct-extra-html5-tests/dataset/w3c +datasetw3cdir = $(prefix)/opt/tct-extra-html5-tests/dataset/w3c EXTRA_DIST = $(datasetw3c_SCRIPTS) diff --git a/tct-extra-html5-tests/dom/Makefile.am b/tct-extra-html5-tests/dom/Makefile.am index 87285b528..1b3cf8c45 100644 --- a/tct-extra-html5-tests/dom/Makefile.am +++ b/tct-extra-html5-tests/dom/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = documents dom_SCRIPTS = * -domdir = /opt/tct-extra-html5-tests/dom +domdir = $(prefix)/opt/tct-extra-html5-tests/dom EXTRA_DIST = $(dom_SCRIPTS) diff --git a/tct-extra-html5-tests/dom/documents/Makefile.am b/tct-extra-html5-tests/dom/documents/Makefile.am index 5e4d82cfc..ff86feac2 100644 --- a/tct-extra-html5-tests/dom/documents/Makefile.am +++ b/tct-extra-html5-tests/dom/documents/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = the-document-object documents_SCRIPTS = * -documentsdir = /opt/tct-extra-html5-tests/dom/documents +documentsdir = $(prefix)/opt/tct-extra-html5-tests/dom/documents EXTRA_DIST = $(documents_SCRIPTS) diff --git a/tct-extra-html5-tests/dom/documents/the-document-object/Makefile.am b/tct-extra-html5-tests/dom/documents/the-document-object/Makefile.am index 047b1b82f..2a8a29fb6 100644 --- a/tct-extra-html5-tests/dom/documents/the-document-object/Makefile.am +++ b/tct-extra-html5-tests/dom/documents/the-document-object/Makefile.am @@ -1,3 +1,3 @@ document_object_SCRIPTS = * -document_objectdir = /opt/tct-extra-html5-tests/dom/documents/the-document-object +document_objectdir = $(prefix)/opt/tct-extra-html5-tests/dom/documents/the-document-object EXTRA_DIST = $(document_object_SCRIPTS) diff --git a/tct-extra-html5-tests/foreigncontent/w3c/Makefile.am b/tct-extra-html5-tests/foreigncontent/w3c/Makefile.am index 33aafa827..a700d2f72 100644 --- a/tct-extra-html5-tests/foreigncontent/w3c/Makefile.am +++ b/tct-extra-html5-tests/foreigncontent/w3c/Makefile.am @@ -1,3 +1,3 @@ foreigncontentw3c_SCRIPTS = * -foreigncontentw3cdir = /opt/tct-extra-html5-tests/foreigncontent/w3c +foreigncontentw3cdir = $(prefix)/opt/tct-extra-html5-tests/foreigncontent/w3c EXTRA_DIST = $(foreigncontentw3c_SCRIPTS) diff --git a/tct-extra-html5-tests/pack.sh b/tct-extra-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-extra-html5-tests/pack.sh +++ b/tct-extra-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-extra-html5-tests/rendering/Makefile.am b/tct-extra-html5-tests/rendering/Makefile.am index e663c8a34..6cc42fc83 100644 --- a/tct-extra-html5-tests/rendering/Makefile.am +++ b/tct-extra-html5-tests/rendering/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = bindings rendering_SCRIPTS = * -renderingdir = /opt/tct-extra-html5-tests/rendering +renderingdir = $(prefix)/opt/tct-extra-html5-tests/rendering EXTRA_DIST = $(rendering_SCRIPTS) diff --git a/tct-extra-html5-tests/rendering/bindings/Makefile.am b/tct-extra-html5-tests/rendering/bindings/Makefile.am index e24d1d9ff..32e9c0d61 100644 --- a/tct-extra-html5-tests/rendering/bindings/Makefile.am +++ b/tct-extra-html5-tests/rendering/bindings/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = the-keygen-element-0 bindings_SCRIPTS = * -bindingsdir = /opt/tct-extra-html5-tests/rendering/bindings +bindingsdir = $(prefix)/opt/tct-extra-html5-tests/rendering/bindings EXTRA_DIST = $(bindings_SCRIPTS) diff --git a/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0/Makefile.am b/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0/Makefile.am index 16727770a..78a319b52 100644 --- a/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0/Makefile.am +++ b/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0/Makefile.am @@ -1,3 +1,3 @@ keygen_element_SCRIPTS = * -keygen_elementdir = /opt/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0 +keygen_elementdir = $(prefix)/opt/tct-extra-html5-tests/rendering/bindings/the-keygen-element-0 EXTRA_DIST = $(keygen_element_SCRIPTS) diff --git a/tct-extra-html5-tests/resources/Makefile.am b/tct-extra-html5-tests/resources/Makefile.am index b3e257d4a..ed3a5961a 100644 --- a/tct-extra-html5-tests/resources/Makefile.am +++ b/tct-extra-html5-tests/resources/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webidl2 w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-extra-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-extra-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-extra-html5-tests/resources/webidl2/Makefile.am b/tct-extra-html5-tests/resources/webidl2/Makefile.am index c4593dd95..736e04bb0 100644 --- a/tct-extra-html5-tests/resources/webidl2/Makefile.am +++ b/tct-extra-html5-tests/resources/webidl2/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = lib webidl2_SCRIPTS = * -webidl2dir = /opt/tct-extra-html5-tests/resources/webidl2 +webidl2dir = $(prefix)/opt/tct-extra-html5-tests/resources/webidl2 EXTRA_DIST = $(webidl2_SCRIPTS) diff --git a/tct-extra-html5-tests/resources/webidl2/lib/Makefile.am b/tct-extra-html5-tests/resources/webidl2/lib/Makefile.am index df48dfe00..55b77d9a5 100644 --- a/tct-extra-html5-tests/resources/webidl2/lib/Makefile.am +++ b/tct-extra-html5-tests/resources/webidl2/lib/Makefile.am @@ -1,3 +1,3 @@ idllib_SCRIPTS = * -idllibdir = /opt/tct-extra-html5-tests/resources/webidl2/lib +idllibdir = $(prefix)/opt/tct-extra-html5-tests/resources/webidl2/lib EXTRA_DIST = $(idllib_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element/Makefile.am b/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element/Makefile.am index 9f9887dd0..e806b5053 100644 --- a/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element/Makefile.am @@ -1,3 +1,3 @@ iframe_SCRIPTS = * -iframedir = /opt/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element +iframedir = $(prefix)/opt/tct-extra-html5-tests/semantics/embedded-content-0/the-iframe-element EXTRA_DIST = $(iframe_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element/Makefile.am b/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element/Makefile.am index 7fd5a28c6..8f7d9020b 100644 --- a/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element/Makefile.am @@ -1,3 +1,3 @@ track_SCRIPTS = * -trackdir = /opt/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element +trackdir = $(prefix)/opt/tct-extra-html5-tests/semantics/embedded-content-0/the-track-element EXTRA_DIST = $(track_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element/Makefile.am b/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element/Makefile.am index 10c7719a8..8852d0725 100644 --- a/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element/Makefile.am @@ -1,3 +1,3 @@ video_SCRIPTS = * -videodir = /opt/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element +videodir = $(prefix)/opt/tct-extra-html5-tests/semantics/embedded-content-0/the-video-element EXTRA_DIST = $(video_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/Makefile.am b/tct-extra-html5-tests/semantics/forms/Makefile.am index 27cd2cfc6..8dccb97a4 100644 --- a/tct-extra-html5-tests/semantics/forms/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = the-input-element the-textarea-element the-select-element the-fieldset-element the-datalist-element the-output-element the-progress-element the-meter-element forms_SCRIPTS = * -formsdir = /opt/tct-extra-html5-tests/semantics/forms +formsdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms EXTRA_DIST = $(forms_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-datalist-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-datalist-element/Makefile.am index f9357383d..a056ab23c 100644 --- a/tct-extra-html5-tests/semantics/forms/the-datalist-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-datalist-element/Makefile.am @@ -1,3 +1,3 @@ datalist_element_SCRIPTS = * -datalist_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-datalist-element +datalist_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-datalist-element EXTRA_DIST = $(datalist_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-fieldset-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-fieldset-element/Makefile.am index 0245b49f3..f8749ae5a 100644 --- a/tct-extra-html5-tests/semantics/forms/the-fieldset-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-fieldset-element/Makefile.am @@ -1,3 +1,3 @@ fieldset_element_SCRIPTS = * -fieldset_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-fieldset-element +fieldset_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-fieldset-element EXTRA_DIST = $(fieldset_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-input-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-input-element/Makefile.am index c25554eb3..12f36dcfa 100644 --- a/tct-extra-html5-tests/semantics/forms/the-input-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-input-element/Makefile.am @@ -1,3 +1,3 @@ input_element_SCRIPTS = * -input_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-input-element +input_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-input-element EXTRA_DIST = $(input_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-meter-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-meter-element/Makefile.am index 8ac6b4cee..9c4bfdc1b 100644 --- a/tct-extra-html5-tests/semantics/forms/the-meter-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-meter-element/Makefile.am @@ -1,3 +1,3 @@ meter_element_SCRIPTS = * -meter_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-meter-element +meter_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-meter-element EXTRA_DIST = $(meter_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-output-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-output-element/Makefile.am index e09cce5c8..9a7b1b93c 100644 --- a/tct-extra-html5-tests/semantics/forms/the-output-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-output-element/Makefile.am @@ -1,3 +1,3 @@ output_element_SCRIPTS = * -output_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-output-element +output_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-output-element EXTRA_DIST = $(output_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-progress-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-progress-element/Makefile.am index 81315f609..b5782d1db 100644 --- a/tct-extra-html5-tests/semantics/forms/the-progress-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-progress-element/Makefile.am @@ -1,3 +1,3 @@ progress_element_SCRIPTS = * -progress_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-progress-element +progress_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-progress-element EXTRA_DIST = $(progress_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-select-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-select-element/Makefile.am index 433f60b22..a15b29876 100644 --- a/tct-extra-html5-tests/semantics/forms/the-select-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-select-element/Makefile.am @@ -1,3 +1,3 @@ select_element_SCRIPTS = * -select_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-select-element +select_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-select-element EXTRA_DIST = $(select_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/forms/the-textarea-element/Makefile.am b/tct-extra-html5-tests/semantics/forms/the-textarea-element/Makefile.am index 6212837dd..bbf28b534 100644 --- a/tct-extra-html5-tests/semantics/forms/the-textarea-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/forms/the-textarea-element/Makefile.am @@ -1,3 +1,3 @@ textarea_element_SCRIPTS = * -textarea_elementdir = /opt/tct-extra-html5-tests/semantics/forms/the-textarea-element +textarea_elementdir = $(prefix)/opt/tct-extra-html5-tests/semantics/forms/the-textarea-element EXTRA_DIST = $(textarea_element_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element/Makefile.am b/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element/Makefile.am index 300516e94..1c22a3512 100644 --- a/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element/Makefile.am @@ -1,3 +1,3 @@ figcaption_SCRIPTS = * -figcaptiondir = /opt/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element +figcaptiondir = $(prefix)/opt/tct-extra-html5-tests/semantics/grouping-content/the-figcaption-element EXTRA_DIST = $(figcaption_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/grouping-content/the-figure-element/Makefile.am b/tct-extra-html5-tests/semantics/grouping-content/the-figure-element/Makefile.am index 29d4e8e4e..b7e2358c6 100644 --- a/tct-extra-html5-tests/semantics/grouping-content/the-figure-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/grouping-content/the-figure-element/Makefile.am @@ -1,3 +1,3 @@ figure_SCRIPTS = * -figuredir = /opt/tct-extra-html5-tests/semantics/grouping-content/the-figure-element +figuredir = $(prefix)/opt/tct-extra-html5-tests/semantics/grouping-content/the-figure-element EXTRA_DIST = $(figure_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/interactive-elements/the-details-element/Makefile.am b/tct-extra-html5-tests/semantics/interactive-elements/the-details-element/Makefile.am index 9c0ef5eb1..aa59ceac3 100644 --- a/tct-extra-html5-tests/semantics/interactive-elements/the-details-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/interactive-elements/the-details-element/Makefile.am @@ -1,3 +1,3 @@ details_SCRIPTS = * -detailsdir = /opt/tct-extra-html5-tests/semantics/interactive-elements/the-details-element +detailsdir = $(prefix)/opt/tct-extra-html5-tests/semantics/interactive-elements/the-details-element EXTRA_DIST = $(details_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/headings-and-sections/Makefile.am b/tct-extra-html5-tests/semantics/sections/headings-and-sections/Makefile.am index 9a570d899..dcf2827ce 100644 --- a/tct-extra-html5-tests/semantics/sections/headings-and-sections/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/headings-and-sections/Makefile.am @@ -1,3 +1,3 @@ heading_SCRIPTS = * -headingdir = /opt/tct-extra-html5-tests/semantics/sections/headings-and-sections +headingdir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/headings-and-sections EXTRA_DIST = $(heading_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-article-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-article-element/Makefile.am index 5de6a839f..216364ad3 100644 --- a/tct-extra-html5-tests/semantics/sections/the-article-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-article-element/Makefile.am @@ -1,3 +1,3 @@ article_SCRIPTS = * -articledir = /opt/tct-extra-html5-tests/semantics/sections/the-article-element +articledir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-article-element EXTRA_DIST = $(article_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-aside-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-aside-element/Makefile.am index 58a8dc08c..45b3f7f8d 100644 --- a/tct-extra-html5-tests/semantics/sections/the-aside-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-aside-element/Makefile.am @@ -1,3 +1,3 @@ aside_SCRIPTS = * -asidedir = /opt/tct-extra-html5-tests/semantics/sections/the-aside-element +asidedir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-aside-element EXTRA_DIST = $(aside_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-body-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-body-element/Makefile.am index 6cdee2f45..b11957024 100644 --- a/tct-extra-html5-tests/semantics/sections/the-body-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-body-element/Makefile.am @@ -1,3 +1,3 @@ body_SCRIPTS = * -bodydir = /opt/tct-extra-html5-tests/semantics/sections/the-body-element +bodydir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-body-element EXTRA_DIST = $(body_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-footer-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-footer-element/Makefile.am index d01fdfa84..062fab4dc 100644 --- a/tct-extra-html5-tests/semantics/sections/the-footer-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-footer-element/Makefile.am @@ -1,3 +1,3 @@ footer_SCRIPTS = * -footerdir = /opt/tct-extra-html5-tests/semantics/sections/the-footer-element +footerdir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-footer-element EXTRA_DIST = $(footer_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-header-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-header-element/Makefile.am index 228bcd4af..f77e80eb0 100644 --- a/tct-extra-html5-tests/semantics/sections/the-header-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-header-element/Makefile.am @@ -1,3 +1,3 @@ header_SCRIPTS = * -headerdir = /opt/tct-extra-html5-tests/semantics/sections/the-header-element +headerdir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-header-element EXTRA_DIST = $(header_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/sections/the-nav-element/Makefile.am b/tct-extra-html5-tests/semantics/sections/the-nav-element/Makefile.am index 1841e461b..b52fe714b 100644 --- a/tct-extra-html5-tests/semantics/sections/the-nav-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/sections/the-nav-element/Makefile.am @@ -1,3 +1,3 @@ nav_SCRIPTS = * -navdir = /opt/tct-extra-html5-tests/semantics/sections/the-nav-element +navdir = $(prefix)/opt/tct-extra-html5-tests/semantics/sections/the-nav-element EXTRA_DIST = $(nav_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element/Makefile.am b/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element/Makefile.am index b67b4ccd8..379f8776b 100644 --- a/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element/Makefile.am @@ -1,3 +1,3 @@ abbr_SCRIPTS = * -abbrdir = /opt/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element +abbrdir = $(prefix)/opt/tct-extra-html5-tests/semantics/text-level-semantics/the-abbr-element EXTRA_DIST = $(abbr_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element/Makefile.am b/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element/Makefile.am index 372a2e289..0fb03b68e 100644 --- a/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element/Makefile.am @@ -1,3 +1,3 @@ mark_SCRIPTS = * -markdir = /opt/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element +markdir = $(prefix)/opt/tct-extra-html5-tests/semantics/text-level-semantics/the-mark-element EXTRA_DIST = $(mark_SCRIPTS) diff --git a/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element/Makefile.am b/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element/Makefile.am index 2f6cc9da5..d68760abf 100644 --- a/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element/Makefile.am +++ b/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element/Makefile.am @@ -1,3 +1,3 @@ rp_SCRIPTS = * -rpdir = /opt/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element +rpdir = $(prefix)/opt/tct-extra-html5-tests/semantics/text-level-semantics/the-rp-element EXTRA_DIST = $(rp_SCRIPTS) diff --git a/tct-extra-html5-tests/testkit/Makefile.am b/tct-extra-html5-tests/testkit/Makefile.am index a5f69e093..63a9bde87 100644 --- a/tct-extra-html5-tests/testkit/Makefile.am +++ b/tct-extra-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-extra-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-extra-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management/Makefile.am b/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management/Makefile.am index 26341f0d0..2cd3f232c 100644 --- a/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management/Makefile.am +++ b/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management/Makefile.am @@ -1,3 +1,3 @@ compatmode_SCRIPTS = * -compatmodedir = /opt/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management +compatmodedir = $(prefix)/opt/tct-extra-html5-tests/w3c/dom/documents/resource-metadata-management EXTRA_DIST = $(compatmode_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable/Makefile.am b/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable/Makefile.am index 1ed554bc6..1dafdee54 100644 --- a/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable/Makefile.am +++ b/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable/Makefile.am @@ -1,3 +1,3 @@ contenteditable_SCRIPTS = * -contenteditabledir = /opt/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable +contenteditabledir = $(prefix)/opt/tct-extra-html5-tests/w3c/editing/editing-0/contenteditable EXTRA_DIST = $(contenteditable_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/Makefile.am b/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/Makefile.am index ac9061114..f1d6e6ce9 100644 --- a/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/Makefile.am +++ b/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/Makefile.am @@ -1,3 +1,3 @@ designMode_SCRIPTS = * -designModedir = /opt/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute +designModedir = $(prefix)/opt/tct-extra-html5-tests/w3c/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute EXTRA_DIST = $(designMode_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking/Makefile.am b/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking/Makefile.am index c890cd6b0..102be61b0 100644 --- a/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking/Makefile.am +++ b/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking/Makefile.am @@ -1,3 +1,3 @@ spellcheck_SCRIPTS = * -spellcheckdir = /opt/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking +spellcheckdir = $(prefix)/opt/tct-extra-html5-tests/w3c/editing/editing-0/spelling-and-grammar-checking EXTRA_DIST = $(spellcheck_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/editing/the-hidden-attribute/Makefile.am b/tct-extra-html5-tests/w3c/editing/the-hidden-attribute/Makefile.am index 7fe3c056e..d9197aa1b 100644 --- a/tct-extra-html5-tests/w3c/editing/the-hidden-attribute/Makefile.am +++ b/tct-extra-html5-tests/w3c/editing/the-hidden-attribute/Makefile.am @@ -1,3 +1,3 @@ hidden_SCRIPTS = * -hiddendir = /opt/tct-extra-html5-tests/w3c/editing/the-hidden-attribute +hiddendir = $(prefix)/opt/tct-extra-html5-tests/w3c/editing/the-hidden-attribute EXTRA_DIST = $(hidden_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/semantics/Makefile.am b/tct-extra-html5-tests/w3c/semantics/Makefile.am index 00915809a..c694aee3a 100644 --- a/tct-extra-html5-tests/w3c/semantics/Makefile.am +++ b/tct-extra-html5-tests/w3c/semantics/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = forms grouping-content se_SCRIPTS = * -sedir = /opt/tct-extra-html5-tests/w3c/semantics +sedir = $(prefix)/opt/tct-extra-html5-tests/w3c/semantics EXTRA_DIST = $(se_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/semantics/forms/the-input-element/Makefile.am b/tct-extra-html5-tests/w3c/semantics/forms/the-input-element/Makefile.am index 4b6055079..edf6beb4b 100644 --- a/tct-extra-html5-tests/w3c/semantics/forms/the-input-element/Makefile.am +++ b/tct-extra-html5-tests/w3c/semantics/forms/the-input-element/Makefile.am @@ -1,3 +1,3 @@ formsinput_SCRIPTS = * -formsinputdir = /opt/tct-extra-html5-tests/w3c/semantics/forms/the-input-element +formsinputdir = $(prefix)/opt/tct-extra-html5-tests/w3c/semantics/forms/the-input-element EXTRA_DIST = $(formsinput_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element/Makefile.am b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element/Makefile.am index 53d4df965..bfa886786 100644 --- a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element/Makefile.am +++ b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element/Makefile.am @@ -1,3 +1,3 @@ figcaption_SCRIPTS = * -figcaptiondir = /opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element +figcaptiondir = $(prefix)/opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figcaption-element EXTRA_DIST = $(figcaption_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element/Makefile.am b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element/Makefile.am index 6556f4ad3..74a15db73 100644 --- a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element/Makefile.am +++ b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element/Makefile.am @@ -1,3 +1,3 @@ figure_SCRIPTS = * -figuredir = /opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element +figuredir = $(prefix)/opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-figure-element EXTRA_DIST = $(figure_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element/Makefile.am b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element/Makefile.am index c0036ea70..621e164f3 100644 --- a/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element/Makefile.am +++ b/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element/Makefile.am @@ -1,3 +1,3 @@ ol_SCRIPTS = * -oldir = /opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element +oldir = $(prefix)/opt/tct-extra-html5-tests/w3c/semantics/grouping-content/the-ol-element EXTRA_DIST = $(ol_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/syntax/Makefile.am b/tct-extra-html5-tests/w3c/syntax/Makefile.am index 3942de46e..d6f98bdb5 100644 --- a/tct-extra-html5-tests/w3c/syntax/Makefile.am +++ b/tct-extra-html5-tests/w3c/syntax/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = serializing-html-fragments syntax_SCRIPTS = * -syntaxdir = /opt/tct-extra-html5-tests/w3c/syntax +syntaxdir = $(prefix)/opt/tct-extra-html5-tests/w3c/syntax EXTRA_DIST = $(syntax_SCRIPTS) diff --git a/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments/Makefile.am b/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments/Makefile.am index 4ccda24bd..aa03e2a1d 100644 --- a/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments/Makefile.am +++ b/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments/Makefile.am @@ -1,3 +1,3 @@ serializing_SCRIPTS = * -serializingdir = /opt/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments +serializingdir = $(prefix)/opt/tct-extra-html5-tests/w3c/syntax/serializing-html-fragments EXTRA_DIST = $(serializing_SCRIPTS) diff --git a/tct-extra-html5-tests/xhtml5/Makefile.am b/tct-extra-html5-tests/xhtml5/Makefile.am index 621f6d7f5..b840755e8 100644 --- a/tct-extra-html5-tests/xhtml5/Makefile.am +++ b/tct-extra-html5-tests/xhtml5/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c images xhtml5_SCRIPTS = * -xhtml5dir = /opt/tct-extra-html5-tests/xhtml5 +xhtml5dir = $(prefix)/opt/tct-extra-html5-tests/xhtml5 EXTRA_DIST = $(xhtml5_SCRIPTS) diff --git a/tct-extra-html5-tests/xhtml5/images/Makefile.am b/tct-extra-html5-tests/xhtml5/images/Makefile.am index a6e539dd7..023fe5f68 100644 --- a/tct-extra-html5-tests/xhtml5/images/Makefile.am +++ b/tct-extra-html5-tests/xhtml5/images/Makefile.am @@ -1,3 +1,3 @@ xhtml5images_SCRIPTS = * -xhtml5imagesdir = /opt/tct-extra-html5-tests/xhtml5/images +xhtml5imagesdir = $(prefix)/opt/tct-extra-html5-tests/xhtml5/images EXTRA_DIST = $(xhtml5images_SCRIPTS) diff --git a/tct-extra-html5-tests/xhtml5/w3c/Makefile.am b/tct-extra-html5-tests/xhtml5/w3c/Makefile.am index c22290e98..b53c5513a 100644 --- a/tct-extra-html5-tests/xhtml5/w3c/Makefile.am +++ b/tct-extra-html5-tests/xhtml5/w3c/Makefile.am @@ -1,3 +1,3 @@ xhtml5w3c_SCRIPTS = * -xhtml5w3cdir = /opt/tct-extra-html5-tests/xhtml5/w3c +xhtml5w3cdir = $(prefix)/opt/tct-extra-html5-tests/xhtml5/w3c EXTRA_DIST = $(xhtml5w3c_SCRIPTS) diff --git a/tct-fileapi-w3c-tests/Makefile.am b/tct-fileapi-w3c-tests/Makefile.am index 8084e4635..f683f34c5 100644 --- a/tct-fileapi-w3c-tests/Makefile.am +++ b/tct-fileapi-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = fileapi $(commondir) -docdir = /opt/tct-fileapi-w3c-tests +docdir = $(prefix)/opt/tct-fileapi-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-fileapi-w3c-tests/fileapi/Makefile.am b/tct-fileapi-w3c-tests/fileapi/Makefile.am index 4b3adaeee..29e705aaa 100644 --- a/tct-fileapi-w3c-tests/fileapi/Makefile.am +++ b/tct-fileapi-w3c-tests/fileapi/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support fileapi_SCRIPTS = * -fileapidir = /opt/tct-fileapi-w3c-tests/fileapi +fileapidir = $(prefix)/opt/tct-fileapi-w3c-tests/fileapi EXTRA_DIST = $(fileapi_SCRIPTS) diff --git a/tct-fileapi-w3c-tests/fileapi/support/Makefile.am b/tct-fileapi-w3c-tests/fileapi/support/Makefile.am index 7400c92cd..13d3295a1 100644 --- a/tct-fileapi-w3c-tests/fileapi/support/Makefile.am +++ b/tct-fileapi-w3c-tests/fileapi/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-fileapi-w3c-tests/fileapi/support +supportdir = $(prefix)/opt/tct-fileapi-w3c-tests/fileapi/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-fileapi-w3c-tests/pack.sh b/tct-fileapi-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-fileapi-w3c-tests/pack.sh +++ b/tct-fileapi-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-fileapi-w3c-tests/resources/Makefile.am b/tct-fileapi-w3c-tests/resources/Makefile.am index 7dc05151b..c0f738365 100644 --- a/tct-fileapi-w3c-tests/resources/Makefile.am +++ b/tct-fileapi-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-fileapi-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-fileapi-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-fileapi-w3c-tests/testkit/Makefile.am b/tct-fileapi-w3c-tests/testkit/Makefile.am index 265712a22..62d1a2e26 100644 --- a/tct-fileapi-w3c-tests/testkit/Makefile.am +++ b/tct-fileapi-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-fileapi-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-fileapi-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-filesystem-tizen-tests/Makefile.am b/tct-filesystem-tizen-tests/Makefile.am index 686a1c1dc..449bf9c5e 100644 --- a/tct-filesystem-tizen-tests/Makefile.am +++ b/tct-filesystem-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = filesystem $(commondir) -docdir = /opt/tct-filesystem-tizen-tests +docdir = $(prefix)/opt/tct-filesystem-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-filesystem-tizen-tests/filesystem/Makefile.am b/tct-filesystem-tizen-tests/filesystem/Makefile.am index 0120d7545..a67c3ac8e 100644 --- a/tct-filesystem-tizen-tests/filesystem/Makefile.am +++ b/tct-filesystem-tizen-tests/filesystem/Makefile.am @@ -8,5 +8,5 @@ SUBDIRS = support filesystem_SCRIPTS = * -filesystemdir = /opt/tct-filesystem-tizen-tests/filesystem +filesystemdir = $(prefix)/opt/tct-filesystem-tizen-tests/filesystem EXTRA_DIST = $(filesystem_SCRIPTS) diff --git a/tct-filesystem-tizen-tests/filesystem/support/Makefile.am b/tct-filesystem-tizen-tests/filesystem/support/Makefile.am index 0f8f80f18..90a3588f8 100644 --- a/tct-filesystem-tizen-tests/filesystem/support/Makefile.am +++ b/tct-filesystem-tizen-tests/filesystem/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-filesystem-tizen-tests/filesystem/support +supportdir = $(prefix)/opt/tct-filesystem-tizen-tests/filesystem/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-filesystem-tizen-tests/pack.sh b/tct-filesystem-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-filesystem-tizen-tests/pack.sh +++ b/tct-filesystem-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-filesystem-tizen-tests/resources/Makefile.am b/tct-filesystem-tizen-tests/resources/Makefile.am index cdb2616e0..e78e2e65e 100644 --- a/tct-filesystem-tizen-tests/resources/Makefile.am +++ b/tct-filesystem-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-filesystem-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-filesystem-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-filesystem-tizen-tests/testkit/Makefile.am b/tct-filesystem-tizen-tests/testkit/Makefile.am index c3d9faad6..79dab5c2d 100644 --- a/tct-filesystem-tizen-tests/testkit/Makefile.am +++ b/tct-filesystem-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-filesystem-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-filesystem-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-filesystemapi-w3c-tests/Makefile.am b/tct-filesystemapi-w3c-tests/Makefile.am index f73eda425..330481a13 100644 --- a/tct-filesystemapi-w3c-tests/Makefile.am +++ b/tct-filesystemapi-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = filesystemapi $(commondir) -docdir = /opt/tct-filesystemapi-w3c-tests +docdir = $(prefix)/opt/tct-filesystemapi-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-filesystemapi-w3c-tests/filesystemapi/Makefile.am b/tct-filesystemapi-w3c-tests/filesystemapi/Makefile.am index e8a29ef62..53456efd4 100644 --- a/tct-filesystemapi-w3c-tests/filesystemapi/Makefile.am +++ b/tct-filesystemapi-w3c-tests/filesystemapi/Makefile.am @@ -1,3 +1,3 @@ filesystemapi_SCRIPTS = * -filesystemapidir = /opt/tct-filesystemapi-w3c-tests/filesystemapi +filesystemapidir = $(prefix)/opt/tct-filesystemapi-w3c-tests/filesystemapi EXTRA_DIST = $(filesystemapi_SCRIPTS) diff --git a/tct-filesystemapi-w3c-tests/pack.sh b/tct-filesystemapi-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-filesystemapi-w3c-tests/pack.sh +++ b/tct-filesystemapi-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-filesystemapi-w3c-tests/resources/Makefile.am b/tct-filesystemapi-w3c-tests/resources/Makefile.am index 419e9e89f..1374cfb75 100644 --- a/tct-filesystemapi-w3c-tests/resources/Makefile.am +++ b/tct-filesystemapi-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-filesystemapi-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-filesystemapi-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-filesystemapi-w3c-tests/testkit/Makefile.am b/tct-filesystemapi-w3c-tests/testkit/Makefile.am index a8783daba..18798e3cf 100644 --- a/tct-filesystemapi-w3c-tests/testkit/Makefile.am +++ b/tct-filesystemapi-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-filesystemapi-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-filesystemapi-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-filewriterapi-w3c-tests/Makefile.am b/tct-filewriterapi-w3c-tests/Makefile.am index 04f64ae0d..9f4172d33 100644 --- a/tct-filewriterapi-w3c-tests/Makefile.am +++ b/tct-filewriterapi-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = filewriterapi $(commondir) -docdir = /opt/tct-filewriterapi-w3c-tests +docdir = $(prefix)/opt/tct-filewriterapi-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-filewriterapi-w3c-tests/filewriterapi/Makefile.am b/tct-filewriterapi-w3c-tests/filewriterapi/Makefile.am index 35a5c7159..9a5a142e8 100644 --- a/tct-filewriterapi-w3c-tests/filewriterapi/Makefile.am +++ b/tct-filewriterapi-w3c-tests/filewriterapi/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support filewriterapi_SCRIPTS = * -filewriterapidir = /opt/tct-filewriterapi-w3c-tests/filewriterapi +filewriterapidir = $(prefix)/opt/tct-filewriterapi-w3c-tests/filewriterapi EXTRA_DIST = $(filewriterapi_SCRIPTS) diff --git a/tct-filewriterapi-w3c-tests/filewriterapi/support/Makefile.am b/tct-filewriterapi-w3c-tests/filewriterapi/support/Makefile.am index 602fb1f83..861abb446 100644 --- a/tct-filewriterapi-w3c-tests/filewriterapi/support/Makefile.am +++ b/tct-filewriterapi-w3c-tests/filewriterapi/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-filewriterapi-w3c-tests/filewriterapi/support +supportdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/filewriterapi/support EXTRA_DIST = $(audiosupport_SCRIPTS) diff --git a/tct-filewriterapi-w3c-tests/pack.sh b/tct-filewriterapi-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-filewriterapi-w3c-tests/pack.sh +++ b/tct-filewriterapi-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-filewriterapi-w3c-tests/resources/Makefile.am b/tct-filewriterapi-w3c-tests/resources/Makefile.am index f425f528b..44d7c215e 100644 --- a/tct-filewriterapi-w3c-tests/resources/Makefile.am +++ b/tct-filewriterapi-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-filewriterapi-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-filewriterapi-w3c-tests/testkit/Makefile.am b/tct-filewriterapi-w3c-tests/testkit/Makefile.am index 1efdc48b2..2a53f2221 100644 --- a/tct-filewriterapi-w3c-tests/testkit/Makefile.am +++ b/tct-filewriterapi-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-filewriterapi-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/Makefile.am b/tct-flexiblebox-css3-tests/Makefile.am index 807a0e05c..391bffe1f 100644 --- a/tct-flexiblebox-css3-tests/Makefile.am +++ b/tct-flexiblebox-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = flexiblebox $(commondir) -docdir = /opt/tct-flexiblebox-css3-tests +docdir = $(prefix)/opt/tct-flexiblebox-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-flexiblebox-css3-tests/flexiblebox/Makefile.am b/tct-flexiblebox-css3-tests/flexiblebox/Makefile.am index fc5fc7692..b69d48d14 100644 --- a/tct-flexiblebox-css3-tests/flexiblebox/Makefile.am +++ b/tct-flexiblebox-css3-tests/flexiblebox/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support csswg tests_SCRIPTS = * -testsdir = /opt/tct-flexiblebox-css3-tests/flexiblebox +testsdir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/flexiblebox/csswg/Makefile.am b/tct-flexiblebox-css3-tests/flexiblebox/csswg/Makefile.am index 7e751a1a6..3c9911b2c 100644 --- a/tct-flexiblebox-css3-tests/flexiblebox/csswg/Makefile.am +++ b/tct-flexiblebox-css3-tests/flexiblebox/csswg/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = reference flexiblebox_SCRIPTS = * -flexibleboxdir = /opt/tct-flexiblebox-css3-tests/flexiblebox/csswg +flexibleboxdir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox/csswg EXTRA_DIST = $(flexiblebox_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference/Makefile.am b/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference/Makefile.am index ac7e83be3..9ee49ac04 100644 --- a/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference/Makefile.am +++ b/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference/Makefile.am @@ -1,3 +1,3 @@ reference_SCRIPTS = * -referencedir = /opt/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference +referencedir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox/csswg/reference EXTRA_DIST = $(reference_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/flexiblebox/support/Makefile.am b/tct-flexiblebox-css3-tests/flexiblebox/support/Makefile.am index 0f807d834..9789630c9 100644 --- a/tct-flexiblebox-css3-tests/flexiblebox/support/Makefile.am +++ b/tct-flexiblebox-css3-tests/flexiblebox/support/Makefile.am @@ -1,3 +1,3 @@ flexibleboxsupport_SCRIPTS = * -flexibleboxsupportdir = /opt/tct-flexiblebox-css3-tests/flexiblebox/support +flexibleboxsupportdir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox/support EXTRA_DIST = $(flexibleboxsupport_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/pack.sh b/tct-flexiblebox-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-flexiblebox-css3-tests/pack.sh +++ b/tct-flexiblebox-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-flexiblebox-css3-tests/resources/Makefile.am b/tct-flexiblebox-css3-tests/resources/Makefile.am index 478504e5d..9bffeca91 100644 --- a/tct-flexiblebox-css3-tests/resources/Makefile.am +++ b/tct-flexiblebox-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-flexiblebox-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-flexiblebox-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-flexiblebox-css3-tests/testkit/Makefile.am b/tct-flexiblebox-css3-tests/testkit/Makefile.am index 5cdb17e07..035fc9517 100644 --- a/tct-flexiblebox-css3-tests/testkit/Makefile.am +++ b/tct-flexiblebox-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-flexiblebox-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-flexiblebox-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-fonts-css3-tests/Makefile.am b/tct-fonts-css3-tests/Makefile.am index 87153a628..25ade9223 100644 --- a/tct-fonts-css3-tests/Makefile.am +++ b/tct-fonts-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = fonts $(commondir) -docdir = /opt/tct-fonts-css3-tests +docdir = $(prefix)/opt/tct-fonts-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-fonts-css3-tests/fonts/Makefile.am b/tct-fonts-css3-tests/fonts/Makefile.am index ba6ffccf2..77682e82b 100644 --- a/tct-fonts-css3-tests/fonts/Makefile.am +++ b/tct-fonts-css3-tests/fonts/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support csswg tests_SCRIPTS = * -testsdir = /opt/tct-fonts-css3-tests/fonts +testsdir = $(prefix)/opt/tct-fonts-css3-tests/fonts EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-fonts-css3-tests/fonts/csswg/Makefile.am b/tct-fonts-css3-tests/fonts/csswg/Makefile.am index 1a5f48bbf..6a5ce0289 100644 --- a/tct-fonts-css3-tests/fonts/csswg/Makefile.am +++ b/tct-fonts-css3-tests/fonts/csswg/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support csswg_SCRIPTS = * -csswgdir = /opt/tct-fonts-css3-tests/fonts/csswg +csswgdir = $(prefix)/opt/tct-fonts-css3-tests/fonts/csswg EXTRA_DIST = $(csswg_SCRIPTS) diff --git a/tct-fonts-css3-tests/fonts/csswg/support/Makefile.am b/tct-fonts-css3-tests/fonts/csswg/support/Makefile.am index 7d1d6fc5d..207f117f6 100644 --- a/tct-fonts-css3-tests/fonts/csswg/support/Makefile.am +++ b/tct-fonts-css3-tests/fonts/csswg/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-fonts-css3-tests/fonts/csswg/support +supportdir = $(prefix)/opt/tct-fonts-css3-tests/fonts/csswg/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-fonts-css3-tests/fonts/support/Makefile.am b/tct-fonts-css3-tests/fonts/support/Makefile.am index 328a9ff67..69b170769 100644 --- a/tct-fonts-css3-tests/fonts/support/Makefile.am +++ b/tct-fonts-css3-tests/fonts/support/Makefile.am @@ -1,3 +1,3 @@ DownloadableFontssupport_SCRIPTS = * -DownloadableFontssupportdir = /opt/tct-fonts-css3-tests/fonts/support +DownloadableFontssupportdir = $(prefix)/opt/tct-fonts-css3-tests/fonts/support EXTRA_DIST = $(DownloadableFontssupport_SCRIPTS) diff --git a/tct-fonts-css3-tests/pack.sh b/tct-fonts-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-fonts-css3-tests/pack.sh +++ b/tct-fonts-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-fonts-css3-tests/resources/Makefile.am b/tct-fonts-css3-tests/resources/Makefile.am index 42758ce74..65e63ba0a 100644 --- a/tct-fonts-css3-tests/resources/Makefile.am +++ b/tct-fonts-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-fonts-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-fonts-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-fonts-css3-tests/testkit/Makefile.am b/tct-fonts-css3-tests/testkit/Makefile.am index e67c9a595..15e3ccd4b 100644 --- a/tct-fonts-css3-tests/testkit/Makefile.am +++ b/tct-fonts-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-fonts-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-fonts-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-forms-html5-tests/Makefile.am b/tct-forms-html5-tests/Makefile.am index bc17b0b52..fe6c81a04 100644 --- a/tct-forms-html5-tests/Makefile.am +++ b/tct-forms-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = forms $(commondir) -docdir = /opt/tct-forms-html5-tests +docdir = $(prefix)/opt/tct-forms-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-forms-html5-tests/common/Makefile.am b/tct-forms-html5-tests/common/Makefile.am index 56e4dde8f..03735f983 100644 --- a/tct-forms-html5-tests/common/Makefile.am +++ b/tct-forms-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-forms-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-forms-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-forms-html5-tests/forms/Makefile.am b/tct-forms-html5-tests/forms/Makefile.am index 8f91cfd18..4fb8c7388 100644 --- a/tct-forms-html5-tests/forms/Makefile.am +++ b/tct-forms-html5-tests/forms/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c forms_SCRIPTS = * -formsdir = /opt/tct-forms-html5-tests/forms +formsdir = $(prefix)/opt/tct-forms-html5-tests/forms EXTRA_DIST = $(forms_SCRIPTS) diff --git a/tct-forms-html5-tests/forms/w3c/Makefile.am b/tct-forms-html5-tests/forms/w3c/Makefile.am index d78b98fd3..601493aa2 100644 --- a/tct-forms-html5-tests/forms/w3c/Makefile.am +++ b/tct-forms-html5-tests/forms/w3c/Makefile.am @@ -1,3 +1,3 @@ forms_html5_SCRIPTS = * -forms_html5dir = /opt/tct-forms-html5-tests/forms/w3c +forms_html5dir = $(prefix)/opt/tct-forms-html5-tests/forms/w3c EXTRA_DIST = $(forms_html5_SCRIPTS) diff --git a/tct-forms-html5-tests/pack.sh b/tct-forms-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-forms-html5-tests/pack.sh +++ b/tct-forms-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-forms-html5-tests/resources/Makefile.am b/tct-forms-html5-tests/resources/Makefile.am index 5378a287f..0b02d6a34 100644 --- a/tct-forms-html5-tests/resources/Makefile.am +++ b/tct-forms-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-forms-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-forms-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-forms-html5-tests/testkit/Makefile.am b/tct-forms-html5-tests/testkit/Makefile.am index df4a7b4b0..5124453de 100644 --- a/tct-forms-html5-tests/testkit/Makefile.am +++ b/tct-forms-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-forms-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-forms-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-fullscreen-nonw3c-tests/Makefile.am b/tct-fullscreen-nonw3c-tests/Makefile.am index b7ba538ef..6e353f146 100644 --- a/tct-fullscreen-nonw3c-tests/Makefile.am +++ b/tct-fullscreen-nonw3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = fullscreen $(commondir) -docdir = /opt/tct-fullscreen-nonw3c-tests +docdir = $(prefix)/opt/tct-fullscreen-nonw3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-fullscreen-nonw3c-tests/fullscreen/Makefile.am b/tct-fullscreen-nonw3c-tests/fullscreen/Makefile.am index aac82459a..3ba299e0d 100644 --- a/tct-fullscreen-nonw3c-tests/fullscreen/Makefile.am +++ b/tct-fullscreen-nonw3c-tests/fullscreen/Makefile.am @@ -1,3 +1,3 @@ FullScreen_SCRIPTS = * -FullScreendir = /opt/tct-fullscreen-nonw3c-tests/fullscreen +FullScreendir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/fullscreen EXTRA_DIST = $(FullScreen_SCRIPTS) diff --git a/tct-fullscreen-nonw3c-tests/pack.sh b/tct-fullscreen-nonw3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-fullscreen-nonw3c-tests/pack.sh +++ b/tct-fullscreen-nonw3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-fullscreen-nonw3c-tests/resources/Makefile.am b/tct-fullscreen-nonw3c-tests/resources/Makefile.am index c26bba225..cdbcfe080 100644 --- a/tct-fullscreen-nonw3c-tests/resources/Makefile.am +++ b/tct-fullscreen-nonw3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-fullscreen-nonw3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-fullscreen-nonw3c-tests/testkit/Makefile.am b/tct-fullscreen-nonw3c-tests/testkit/Makefile.am index 0081df006..5666a418d 100644 --- a/tct-fullscreen-nonw3c-tests/testkit/Makefile.am +++ b/tct-fullscreen-nonw3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-fullscreen-nonw3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-geoallow-w3c-tests/Makefile.am b/tct-geoallow-w3c-tests/Makefile.am index d7cc9f7c9..63e6b9e25 100644 --- a/tct-geoallow-w3c-tests/Makefile.am +++ b/tct-geoallow-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = geoallow $(commondir) -docdir = /opt/tct-geoallow-w3c-tests +docdir = $(prefix)/opt/tct-geoallow-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-geoallow-w3c-tests/geoallow/Makefile.am b/tct-geoallow-w3c-tests/geoallow/Makefile.am index d51cf56ec..e9710a30a 100644 --- a/tct-geoallow-w3c-tests/geoallow/Makefile.am +++ b/tct-geoallow-w3c-tests/geoallow/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c geoallow_SCRIPTS = * -geoallowdir = /opt/tct-geoallow-w3c-tests/geoallow +geoallowdir = $(prefix)/opt/tct-geoallow-w3c-tests/geoallow EXTRA_DIST = $(Geoallow_SCRIPTS) diff --git a/tct-geoallow-w3c-tests/geoallow/w3c/Makefile.am b/tct-geoallow-w3c-tests/geoallow/w3c/Makefile.am index bb6361afa..2425370e6 100644 --- a/tct-geoallow-w3c-tests/geoallow/w3c/Makefile.am +++ b/tct-geoallow-w3c-tests/geoallow/w3c/Makefile.am @@ -1,3 +1,3 @@ Geoallow_w3c_SCRIPTS = * -Geoallow_w3cdir = /opt/tct-geoallow-w3c-tests/geoallow/w3c +Geoallow_w3cdir = $(prefix)/opt/tct-geoallow-w3c-tests/geoallow/w3c EXTRA_DIST = $(Geoallow_w3c_SCRIPTS) diff --git a/tct-geoallow-w3c-tests/pack.sh b/tct-geoallow-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-geoallow-w3c-tests/pack.sh +++ b/tct-geoallow-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-geoallow-w3c-tests/resources/Makefile.am b/tct-geoallow-w3c-tests/resources/Makefile.am index bb9d3b9ff..39fa43291 100644 --- a/tct-geoallow-w3c-tests/resources/Makefile.am +++ b/tct-geoallow-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-geoallow-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-geoallow-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-geoallow-w3c-tests/testkit/Makefile.am b/tct-geoallow-w3c-tests/testkit/Makefile.am index e518d4b30..c30bcd60c 100644 --- a/tct-geoallow-w3c-tests/testkit/Makefile.am +++ b/tct-geoallow-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-geoallow-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-geoallow-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-geodeny-w3c-tests/Makefile.am b/tct-geodeny-w3c-tests/Makefile.am index 51ef2fc11..d3b038d94 100644 --- a/tct-geodeny-w3c-tests/Makefile.am +++ b/tct-geodeny-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = geodeny $(commondir) -docdir = /opt/tct-geodeny-w3c-tests +docdir = $(prefix)/opt/tct-geodeny-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-geodeny-w3c-tests/geodeny/Makefile.am b/tct-geodeny-w3c-tests/geodeny/Makefile.am index afa32e148..0e89bb3ca 100644 --- a/tct-geodeny-w3c-tests/geodeny/Makefile.am +++ b/tct-geodeny-w3c-tests/geodeny/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c geodeny_SCRIPTS = * -geodenydir = /opt/tct-geodeny-w3c-tests/geodeny +geodenydir = $(prefix)/opt/tct-geodeny-w3c-tests/geodeny EXTRA_DIST = $(geodeny_SCRIPTS) diff --git a/tct-geodeny-w3c-tests/geodeny/w3c/Makefile.am b/tct-geodeny-w3c-tests/geodeny/w3c/Makefile.am index 33b72c659..0781cdefb 100644 --- a/tct-geodeny-w3c-tests/geodeny/w3c/Makefile.am +++ b/tct-geodeny-w3c-tests/geodeny/w3c/Makefile.am @@ -1,3 +1,3 @@ geodeny_w3c_SCRIPTS = * -geodeny_w3cdir = /opt/tct-geodeny-w3c-tests/geodeny/w3c +geodeny_w3cdir = $(prefix)/opt/tct-geodeny-w3c-tests/geodeny/w3c EXTRA_DIST = $(geodeny_w3c_SCRIPTS) diff --git a/tct-geodeny-w3c-tests/pack.sh b/tct-geodeny-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-geodeny-w3c-tests/pack.sh +++ b/tct-geodeny-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-geodeny-w3c-tests/resources/Makefile.am b/tct-geodeny-w3c-tests/resources/Makefile.am index a2752dee7..54b542a1e 100644 --- a/tct-geodeny-w3c-tests/resources/Makefile.am +++ b/tct-geodeny-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-geodeny-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-geodeny-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-geodeny-w3c-tests/testkit/Makefile.am b/tct-geodeny-w3c-tests/testkit/Makefile.am index 4edf4e69f..21a667b5e 100644 --- a/tct-geodeny-w3c-tests/testkit/Makefile.am +++ b/tct-geodeny-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-geodeny-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-geodeny-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-gumallow-w3c-tests/Makefile.am b/tct-gumallow-w3c-tests/Makefile.am index 4b0cd29f4..35430fcbe 100644 --- a/tct-gumallow-w3c-tests/Makefile.am +++ b/tct-gumallow-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = gumallow $(commondir) -docdir = /opt/tct-gumallow-w3c-tests +docdir = $(prefix)/opt/tct-gumallow-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-gumallow-w3c-tests/gumallow/Makefile.am b/tct-gumallow-w3c-tests/gumallow/Makefile.am index 5b197539e..01a39d9ab 100644 --- a/tct-gumallow-w3c-tests/gumallow/Makefile.am +++ b/tct-gumallow-w3c-tests/gumallow/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support gumallow_SCRIPTS = * -gumallowdir = /opt/tct-gumallow-w3c-tests/gumallow +gumallowdir = $(prefix)/opt/tct-gumallow-w3c-tests/gumallow EXTRA_DIST = $(gumallow_SCRIPTS) diff --git a/tct-gumallow-w3c-tests/gumallow/support/Makefile.am b/tct-gumallow-w3c-tests/gumallow/support/Makefile.am index e3ec4cbc9..b3a5e8d0c 100644 --- a/tct-gumallow-w3c-tests/gumallow/support/Makefile.am +++ b/tct-gumallow-w3c-tests/gumallow/support/Makefile.am @@ -1,3 +1,3 @@ gumallow_SCRIPTS = * -gumallowdir = /opt/tct-gumallow-w3c-tests/gumallow/support/ +gumallowdir = $(prefix)/opt/tct-gumallow-w3c-tests/gumallow/support/ EXTRA_DIST = $(gumallow_SCRIPTS) diff --git a/tct-gumallow-w3c-tests/pack.sh b/tct-gumallow-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-gumallow-w3c-tests/pack.sh +++ b/tct-gumallow-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-gumallow-w3c-tests/resources/Makefile.am b/tct-gumallow-w3c-tests/resources/Makefile.am index 21bc2958f..a36a8b356 100644 --- a/tct-gumallow-w3c-tests/resources/Makefile.am +++ b/tct-gumallow-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-gumallow-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-gumallow-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-gumallow-w3c-tests/testkit/Makefile.am b/tct-gumallow-w3c-tests/testkit/Makefile.am index 247edaec0..46458c893 100644 --- a/tct-gumallow-w3c-tests/testkit/Makefile.am +++ b/tct-gumallow-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-gumallow-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-gumallow-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-indexeddb-w3c-tests/Makefile.am b/tct-indexeddb-w3c-tests/Makefile.am index 5fa8fcabd..5abee27e0 100644 --- a/tct-indexeddb-w3c-tests/Makefile.am +++ b/tct-indexeddb-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = indexeddb $(commondir) -docdir = /opt/tct-indexeddb-w3c-tests +docdir = $(prefix)/opt/tct-indexeddb-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-indexeddb-w3c-tests/indexeddb/Makefile.am b/tct-indexeddb-w3c-tests/indexeddb/Makefile.am index b610d4cd0..66fb7c01a 100644 --- a/tct-indexeddb-w3c-tests/indexeddb/Makefile.am +++ b/tct-indexeddb-w3c-tests/indexeddb/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support indexeddb_SCRIPTS = * -indexeddbdir = /opt/tct-indexeddb-w3c-tests/indexeddb +indexeddbdir = $(prefix)/opt/tct-indexeddb-w3c-tests/indexeddb EXTRA_DIST = $(indexeddb_SCRIPTS) diff --git a/tct-indexeddb-w3c-tests/indexeddb/support/Makefile.am b/tct-indexeddb-w3c-tests/indexeddb/support/Makefile.am index 4ca108cd0..41ea88dd9 100644 --- a/tct-indexeddb-w3c-tests/indexeddb/support/Makefile.am +++ b/tct-indexeddb-w3c-tests/indexeddb/support/Makefile.am @@ -1,3 +1,3 @@ indexdbsupport_SCRIPTS = * -indexdbsupportdir = /opt/tct-indexeddb-w3c-tests/indexeddb/support +indexdbsupportdir = $(prefix)/opt/tct-indexeddb-w3c-tests/indexeddb/support EXTRA_DIST = $(indexdbsupport_SCRIPTS) diff --git a/tct-indexeddb-w3c-tests/indexeddb/w3c/Makefile.am b/tct-indexeddb-w3c-tests/indexeddb/w3c/Makefile.am index 13a40151a..804678cc5 100644 --- a/tct-indexeddb-w3c-tests/indexeddb/w3c/Makefile.am +++ b/tct-indexeddb-w3c-tests/indexeddb/w3c/Makefile.am @@ -1,3 +1,3 @@ indexeddb_w3c_SCRIPTS = * -indexeddb_w3cdir = /opt/tct-indexeddb-w3c-tests/indexeddb/w3c +indexeddb_w3cdir = $(prefix)/opt/tct-indexeddb-w3c-tests/indexeddb/w3c EXTRA_DIST = $(indexeddb_w3c_SCRIPTS) diff --git a/tct-indexeddb-w3c-tests/pack.sh b/tct-indexeddb-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-indexeddb-w3c-tests/pack.sh +++ b/tct-indexeddb-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-indexeddb-w3c-tests/resources/Makefile.am b/tct-indexeddb-w3c-tests/resources/Makefile.am index 954d3334b..18e96c47b 100644 --- a/tct-indexeddb-w3c-tests/resources/Makefile.am +++ b/tct-indexeddb-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-indexeddb-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-indexeddb-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-indexeddb-w3c-tests/testkit/Makefile.am b/tct-indexeddb-w3c-tests/testkit/Makefile.am index c0270ec52..3a093f4f4 100644 --- a/tct-indexeddb-w3c-tests/testkit/Makefile.am +++ b/tct-indexeddb-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-indexeddb-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-indexeddb-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-jsenhance-html5-tests/Makefile.am b/tct-jsenhance-html5-tests/Makefile.am index a778a7ef0..5212c52c0 100644 --- a/tct-jsenhance-html5-tests/Makefile.am +++ b/tct-jsenhance-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = jsenhance $(commondir) -docdir = /opt/tct-jsenhance-html5-tests +docdir = $(prefix)/opt/tct-jsenhance-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-jsenhance-html5-tests/common/Makefile.am b/tct-jsenhance-html5-tests/common/Makefile.am index dfb1e25c2..ecb92381e 100644 --- a/tct-jsenhance-html5-tests/common/Makefile.am +++ b/tct-jsenhance-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-jsenhance-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-jsenhance-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-jsenhance-html5-tests/jsenhance/Makefile.am b/tct-jsenhance-html5-tests/jsenhance/Makefile.am index 76a80d155..7459c8290 100644 --- a/tct-jsenhance-html5-tests/jsenhance/Makefile.am +++ b/tct-jsenhance-html5-tests/jsenhance/Makefile.am @@ -1,3 +1,3 @@ JSEnhance_SCRIPTS = * -JSEnhancedir = /opt/tct-jsenhance-html5-tests/jsenhance +JSEnhancedir = $(prefix)/opt/tct-jsenhance-html5-tests/jsenhance EXTRA_DIST = $(JSEnhance_SCRIPTS) diff --git a/tct-jsenhance-html5-tests/pack.sh b/tct-jsenhance-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-jsenhance-html5-tests/pack.sh +++ b/tct-jsenhance-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-jsenhance-html5-tests/resources/Makefile.am b/tct-jsenhance-html5-tests/resources/Makefile.am index e15402745..916593202 100644 --- a/tct-jsenhance-html5-tests/resources/Makefile.am +++ b/tct-jsenhance-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-jsenhance-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-jsenhance-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-jsenhance-html5-tests/testkit/Makefile.am b/tct-jsenhance-html5-tests/testkit/Makefile.am index 5194d3439..0c714bce8 100644 --- a/tct-jsenhance-html5-tests/testkit/Makefile.am +++ b/tct-jsenhance-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-jsenhance-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-jsenhance-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-manual-w3c-tests/Makefile.am b/tct-manual-w3c-tests/Makefile.am index ca425613b..5f405735b 100644 --- a/tct-manual-w3c-tests/Makefile.am +++ b/tct-manual-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = audio canvas colors csp extra fileapi pagevisibility sandbox sessionhistory svg text touchevent transitions widgetpolicy widgetinterface widgetpackaging ui video notification $(commondir) -docdir = /opt/tct-manual-w3c-tests +docdir = $(prefix)/opt/tct-manual-w3c-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-manual-w3c-tests/audio/Makefile.am b/tct-manual-w3c-tests/audio/Makefile.am index bc24e8682..1f8a83858 100644 --- a/tct-manual-w3c-tests/audio/Makefile.am +++ b/tct-manual-w3c-tests/audio/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c media audio_SCRIPTS = * -audiodir = /opt/tct-manual-w3c-tests/audio +audiodir = $(prefix)/opt/tct-manual-w3c-tests/audio EXTRA_DIST = $(audio_SCRIPTS) diff --git a/tct-manual-w3c-tests/audio/media/Makefile.am b/tct-manual-w3c-tests/audio/media/Makefile.am index 1a5e83c36..d24a2bc1c 100644 --- a/tct-manual-w3c-tests/audio/media/Makefile.am +++ b/tct-manual-w3c-tests/audio/media/Makefile.am @@ -1,3 +1,3 @@ audiomedia_SCRIPTS = * -audiomediadir = /opt/tct-manual-w3c-tests/audio/media +audiomediadir = $(prefix)/opt/tct-manual-w3c-tests/audio/media EXTRA_DIST = $(audiomedia_SCRIPTS) diff --git a/tct-manual-w3c-tests/audio/w3c/Makefile.am b/tct-manual-w3c-tests/audio/w3c/Makefile.am index 66f8a3612..f9f31c2cd 100644 --- a/tct-manual-w3c-tests/audio/w3c/Makefile.am +++ b/tct-manual-w3c-tests/audio/w3c/Makefile.am @@ -1,3 +1,3 @@ audiow3c_SCRIPTS = * -audiow3cdir = /opt/tct-manual-w3c-tests/audio/w3c +audiow3cdir = $(prefix)/opt/tct-manual-w3c-tests/audio/w3c EXTRA_DIST = $(audiow3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/canvas/Makefile.am b/tct-manual-w3c-tests/canvas/Makefile.am index e4d2870cf..3799dd621 100644 --- a/tct-manual-w3c-tests/canvas/Makefile.am +++ b/tct-manual-w3c-tests/canvas/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = common w3c images Canvas_SCRIPTS = * -Canvasdir = /opt/tct-manual-w3c-tests/canvas +Canvasdir = $(prefix)/opt/tct-manual-w3c-tests/canvas EXTRA_DIST = $(Canvas_SCRIPTS) diff --git a/tct-manual-w3c-tests/canvas/common/Makefile.am b/tct-manual-w3c-tests/canvas/common/Makefile.am index 1280f38f3..93da7c46f 100644 --- a/tct-manual-w3c-tests/canvas/common/Makefile.am +++ b/tct-manual-w3c-tests/canvas/common/Makefile.am @@ -1,3 +1,3 @@ common_SCRIPTS = * -commondir = /opt/tct-manual-w3c-tests/canvas/common +commondir = $(prefix)/opt/tct-manual-w3c-tests/canvas/common EXTRA_DIST = $(common_SCRIPTS) diff --git a/tct-manual-w3c-tests/canvas/images/Makefile.am b/tct-manual-w3c-tests/canvas/images/Makefile.am index 9bf865fa8..cd45d09e2 100644 --- a/tct-manual-w3c-tests/canvas/images/Makefile.am +++ b/tct-manual-w3c-tests/canvas/images/Makefile.am @@ -1,3 +1,3 @@ images_SCRIPTS = * -imagesdir = /opt/tct-manual-w3c-tests/canvas/images +imagesdir = $(prefix)/opt/tct-manual-w3c-tests/canvas/images EXTRA_DIST = $(images_SCRIPTS) diff --git a/tct-manual-w3c-tests/canvas/w3c/Makefile.am b/tct-manual-w3c-tests/canvas/w3c/Makefile.am index 370badedf..27b6ca1aa 100644 --- a/tct-manual-w3c-tests/canvas/w3c/Makefile.am +++ b/tct-manual-w3c-tests/canvas/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-manual-w3c-tests/canvas/w3c +w3cdir = $(prefix)/opt/tct-manual-w3c-tests/canvas/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/colors/Makefile.am b/tct-manual-w3c-tests/colors/Makefile.am index d55ad6b7d..ef91742d2 100644 --- a/tct-manual-w3c-tests/colors/Makefile.am +++ b/tct-manual-w3c-tests/colors/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg colors_SCRIPTS = * -colorsdir = /opt/tct-manual-w3c-tests/colors +colorsdir = $(prefix)/opt/tct-manual-w3c-tests/colors EXTRA_DIST = $(colors_SCRIPTS) diff --git a/tct-manual-w3c-tests/colors/csswg/Makefile.am b/tct-manual-w3c-tests/colors/csswg/Makefile.am index 6ecd79abc..4f22dfedd 100644 --- a/tct-manual-w3c-tests/colors/csswg/Makefile.am +++ b/tct-manual-w3c-tests/colors/csswg/Makefile.am @@ -1,3 +1,3 @@ colorsw3c_SCRIPTS = * -colorsw3cdir = /opt/tct-manual-w3c-tests/colors/csswg +colorsw3cdir = $(prefix)/opt/tct-manual-w3c-tests/colors/csswg EXTRA_DIST = $(colorsw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/common/Makefile.am b/tct-manual-w3c-tests/common/Makefile.am index 619463786..f52782ba2 100644 --- a/tct-manual-w3c-tests/common/Makefile.am +++ b/tct-manual-w3c-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-manual-w3c-tests/common +w3ccommondir = $(prefix)/opt/tct-manual-w3c-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-manual-w3c-tests/csp/Makefile.am b/tct-manual-w3c-tests/csp/Makefile.am index a083e1028..c3d800bd1 100644 --- a/tct-manual-w3c-tests/csp/Makefile.am +++ b/tct-manual-w3c-tests/csp/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support csp_SCRIPTS = * -cspdir = /opt/tct-manual-w3c-tests/csp +cspdir = $(prefix)/opt/tct-manual-w3c-tests/csp EXTRA_DIST = $(csp_SCRIPTS) diff --git a/tct-manual-w3c-tests/csp/support/Makefile.am b/tct-manual-w3c-tests/csp/support/Makefile.am index bca7fcb93..1bbf91c5d 100644 --- a/tct-manual-w3c-tests/csp/support/Makefile.am +++ b/tct-manual-w3c-tests/csp/support/Makefile.am @@ -1,3 +1,3 @@ cspsupport_SCRIPTS = * -cspsupportdir = /opt/tct-manual-w3c-tests/csp/support +cspsupportdir = $(prefix)/opt/tct-manual-w3c-tests/csp/support EXTRA_DIST = $(cspsupport_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/attributes/Makefile.am b/tct-manual-w3c-tests/extra/attributes/Makefile.am index eb05558aa..1c822f1bd 100644 --- a/tct-manual-w3c-tests/extra/attributes/Makefile.am +++ b/tct-manual-w3c-tests/extra/attributes/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS = w3c attributes_SCRIPTS = * -attributesdir = /opt/tct-manual-w3c-tests/extra/attributes +attributesdir = $(prefix)/opt/tct-manual-w3c-tests/extra/attributes EXTRA_DIST = $(attributes_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/attributes/w3c/Makefile.am b/tct-manual-w3c-tests/extra/attributes/w3c/Makefile.am index e0b66f933..7b942dc2b 100644 --- a/tct-manual-w3c-tests/extra/attributes/w3c/Makefile.am +++ b/tct-manual-w3c-tests/extra/attributes/w3c/Makefile.am @@ -1,3 +1,3 @@ attributesw3c_SCRIPTS = * -attributesw3cdir = /opt/tct-manual-w3c-tests/extra/attributes/w3c +attributesw3cdir = $(prefix)/opt/tct-manual-w3c-tests/extra/attributes/w3c EXTRA_DIST = $(attributesw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object/Makefile.am b/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object/Makefile.am index dd49a11ed..cf66ece8a 100644 --- a/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object/Makefile.am +++ b/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object/Makefile.am @@ -1,3 +1,3 @@ object_SCRIPTS = * -objectdir = /opt/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object +objectdir = $(prefix)/opt/tct-manual-w3c-tests/extra/browsers/the-window-object/the-window-object EXTRA_DIST = $(object_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/dom/Makefile.am b/tct-manual-w3c-tests/extra/dom/Makefile.am index 2826ba861..7a1b8db00 100644 --- a/tct-manual-w3c-tests/extra/dom/Makefile.am +++ b/tct-manual-w3c-tests/extra/dom/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = documents dom_SCRIPTS = * -domdir = /opt/tct-manual-w3c-tests/extra/dom +domdir = $(prefix)/opt/tct-manual-w3c-tests/extra/dom EXTRA_DIST = $(dom_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/dom/documents/Makefile.am b/tct-manual-w3c-tests/extra/dom/documents/Makefile.am index cc3d8b1e7..3fd68d2b1 100644 --- a/tct-manual-w3c-tests/extra/dom/documents/Makefile.am +++ b/tct-manual-w3c-tests/extra/dom/documents/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = the-document-object documents_SCRIPTS = * -documentsdir = /opt/tct-manual-w3c-tests/extra/dom/documents +documentsdir = $(prefix)/opt/tct-manual-w3c-tests/extra/dom/documents EXTRA_DIST = $(documents_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/dom/documents/the-document-object/Makefile.am b/tct-manual-w3c-tests/extra/dom/documents/the-document-object/Makefile.am index 5ca1d0d3f..7c06fc303 100644 --- a/tct-manual-w3c-tests/extra/dom/documents/the-document-object/Makefile.am +++ b/tct-manual-w3c-tests/extra/dom/documents/the-document-object/Makefile.am @@ -1,3 +1,3 @@ document_object_SCRIPTS = * -document_objectdir = /opt/tct-manual-w3c-tests/extra/dom/documents/the-document-object +document_objectdir = $(prefix)/opt/tct-manual-w3c-tests/extra/dom/documents/the-document-object EXTRA_DIST = $(document_object_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/semantics/forms/Makefile.am b/tct-manual-w3c-tests/extra/semantics/forms/Makefile.am index ad89c14fd..133715b87 100644 --- a/tct-manual-w3c-tests/extra/semantics/forms/Makefile.am +++ b/tct-manual-w3c-tests/extra/semantics/forms/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = the-textarea-element forms_SCRIPTS = * -formsdir = /opt/tct-manual-w3c-tests/extra/semantics/forms +formsdir = $(prefix)/opt/tct-manual-w3c-tests/extra/semantics/forms EXTRA_DIST = $(forms_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element/Makefile.am b/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element/Makefile.am index 7b01422d5..bd55658ed 100644 --- a/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element/Makefile.am +++ b/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element/Makefile.am @@ -1,3 +1,3 @@ textarea_element_SCRIPTS = * -textarea_elementdir = /opt/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element +textarea_elementdir = $(prefix)/opt/tct-manual-w3c-tests/extra/semantics/forms/the-textarea-element EXTRA_DIST = $(textarea_element_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element/Makefile.am b/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element/Makefile.am index 9d90d80c7..6f828d775 100644 --- a/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element/Makefile.am +++ b/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element/Makefile.am @@ -1,3 +1,3 @@ figcaption_SCRIPTS = * -figcaptiondir = /opt/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element +figcaptiondir = $(prefix)/opt/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figcaption-element EXTRA_DIST = $(figcaption_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element/Makefile.am b/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element/Makefile.am index 485947d3a..c365bf9a9 100644 --- a/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element/Makefile.am +++ b/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element/Makefile.am @@ -1,3 +1,3 @@ figure_SCRIPTS = * -figuredir = /opt/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element +figuredir = $(prefix)/opt/tct-manual-w3c-tests/extra/semantics/grouping-content/the-figure-element EXTRA_DIST = $(figure_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element/Makefile.am b/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element/Makefile.am index 873e2af86..ac6c9563a 100644 --- a/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element/Makefile.am +++ b/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element/Makefile.am @@ -1,3 +1,3 @@ mark_SCRIPTS = * -markdir = /opt/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element +markdir = $(prefix)/opt/tct-manual-w3c-tests/extra/semantics/text-level-semantics/the-mark-element EXTRA_DIST = $(mark_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute/Makefile.am b/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute/Makefile.am index c4a9a0c74..fa40e09a9 100644 --- a/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute/Makefile.am +++ b/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute/Makefile.am @@ -1,3 +1,3 @@ hidden_SCRIPTS = * -hiddendir = /opt/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute +hiddendir = $(prefix)/opt/tct-manual-w3c-tests/extra/w3c/editing/the-hidden-attribute EXTRA_DIST = $(hidden_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element/Makefile.am b/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element/Makefile.am index 39c2eb20e..6f10fa0e6 100644 --- a/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element/Makefile.am +++ b/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element/Makefile.am @@ -1,3 +1,3 @@ ol_SCRIPTS = * -oldir = /opt/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element +oldir = $(prefix)/opt/tct-manual-w3c-tests/extra/w3c/semantics/grouping-content/the-ol-element EXTRA_DIST = $(ol_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/xhtml5/Makefile.am b/tct-manual-w3c-tests/extra/xhtml5/Makefile.am index 746413ea2..2f368fb94 100644 --- a/tct-manual-w3c-tests/extra/xhtml5/Makefile.am +++ b/tct-manual-w3c-tests/extra/xhtml5/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c images xhtml5_SCRIPTS = * -xhtml5dir = /opt/tct-manual-w3c-tests/extra/xhtml5 +xhtml5dir = $(prefix)/opt/tct-manual-w3c-tests/extra/xhtml5 EXTRA_DIST = $(xhtml5_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/xhtml5/images/Makefile.am b/tct-manual-w3c-tests/extra/xhtml5/images/Makefile.am index e02f82213..17e63ffcf 100644 --- a/tct-manual-w3c-tests/extra/xhtml5/images/Makefile.am +++ b/tct-manual-w3c-tests/extra/xhtml5/images/Makefile.am @@ -1,3 +1,3 @@ xhtml5images_SCRIPTS = * -xhtml5imagesdir = /opt/tct-manual-w3c-tests/extra/xhtml5/images +xhtml5imagesdir = $(prefix)/opt/tct-manual-w3c-tests/extra/xhtml5/images EXTRA_DIST = $(xhtml5images_SCRIPTS) diff --git a/tct-manual-w3c-tests/extra/xhtml5/w3c/Makefile.am b/tct-manual-w3c-tests/extra/xhtml5/w3c/Makefile.am index 011388e49..7a68d0103 100644 --- a/tct-manual-w3c-tests/extra/xhtml5/w3c/Makefile.am +++ b/tct-manual-w3c-tests/extra/xhtml5/w3c/Makefile.am @@ -1,3 +1,3 @@ xhtml5w3c_SCRIPTS = * -xhtml5w3cdir = /opt/tct-manual-w3c-tests/extra/xhtml5/w3c +xhtml5w3cdir = $(prefix)/opt/tct-manual-w3c-tests/extra/xhtml5/w3c EXTRA_DIST = $(xhtml5w3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/fileapi/Makefile.am b/tct-manual-w3c-tests/fileapi/Makefile.am index 98890f0c9..4e23fb311 100644 --- a/tct-manual-w3c-tests/fileapi/Makefile.am +++ b/tct-manual-w3c-tests/fileapi/Makefile.am @@ -1,3 +1,3 @@ fileapi_SCRIPTS = * -fileapidir = /opt/tct-manual-w3c-tests/fileapi +fileapidir = $(prefix)/opt/tct-manual-w3c-tests/fileapi EXTRA_DIST = $(fileapi_SCRIPTS) diff --git a/tct-manual-w3c-tests/notification/Makefile.am b/tct-manual-w3c-tests/notification/Makefile.am index 8b88c9967..e450d5f9f 100644 --- a/tct-manual-w3c-tests/notification/Makefile.am +++ b/tct-manual-w3c-tests/notification/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support Notification_SCRIPTS = * -Notificationdir = /opt/tct-manual-w3c-tests/notification +Notificationdir = $(prefix)/opt/tct-manual-w3c-tests/notification EXTRA_DIST = $(Notification_SCRIPTS) diff --git a/tct-manual-w3c-tests/notification/support/Makefile.am b/tct-manual-w3c-tests/notification/support/Makefile.am index a0bf33418..19d86d025 100644 --- a/tct-manual-w3c-tests/notification/support/Makefile.am +++ b/tct-manual-w3c-tests/notification/support/Makefile.am @@ -1,3 +1,3 @@ Notification_sup_SCRIPTS = * -Notification_supdir = /opt/tct-manual-w3c-tests/notification/support +Notification_supdir = $(prefix)/opt/tct-manual-w3c-tests/notification/support EXTRA_DIST = $(Notification_sup_SCRIPTS) diff --git a/tct-manual-w3c-tests/pack.sh b/tct-manual-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-manual-w3c-tests/pack.sh +++ b/tct-manual-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-manual-w3c-tests/pagevisibility/Makefile.am b/tct-manual-w3c-tests/pagevisibility/Makefile.am index 1c6fb17df..633cc6bb8 100644 --- a/tct-manual-w3c-tests/pagevisibility/Makefile.am +++ b/tct-manual-w3c-tests/pagevisibility/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c pagevisibility_SCRIPTS = * -pagevisibilitydir = /opt/tct-manual-w3c-tests/pagevisibility +pagevisibilitydir = $(prefix)/opt/tct-manual-w3c-tests/pagevisibility EXTRA_DIST = $(pagevisibility_SCRIPTS) diff --git a/tct-manual-w3c-tests/pagevisibility/w3c/Makefile.am b/tct-manual-w3c-tests/pagevisibility/w3c/Makefile.am index a0ef28edf..5ffec7195 100644 --- a/tct-manual-w3c-tests/pagevisibility/w3c/Makefile.am +++ b/tct-manual-w3c-tests/pagevisibility/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c_SCRIPTS = * -w3cdir = /opt/tct-manual-w3c-tests/pagevisibility/w3c +w3cdir = $(prefix)/opt/tct-manual-w3c-tests/pagevisibility/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/pagevisibility/w3c/support/Makefile.am b/tct-manual-w3c-tests/pagevisibility/w3c/support/Makefile.am index e206dfa66..22f6f7c72 100644 --- a/tct-manual-w3c-tests/pagevisibility/w3c/support/Makefile.am +++ b/tct-manual-w3c-tests/pagevisibility/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-manual-w3c-tests/pagevisibility/w3c/support +supportdir = $(prefix)/opt/tct-manual-w3c-tests/pagevisibility/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-manual-w3c-tests/resources/Makefile.am b/tct-manual-w3c-tests/resources/Makefile.am index 9b06ae3f7..451720a3e 100644 --- a/tct-manual-w3c-tests/resources/Makefile.am +++ b/tct-manual-w3c-tests/resources/Makefile.am @@ -1,4 +1,4 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-manual-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-manual-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-manual-w3c-tests/sandbox/Makefile.am b/tct-manual-w3c-tests/sandbox/Makefile.am index 9e57cae16..23fbb24ee 100644 --- a/tct-manual-w3c-tests/sandbox/Makefile.am +++ b/tct-manual-w3c-tests/sandbox/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c sandbox_SCRIPTS = * -sandboxdir = /opt/tct-manual-w3c-tests/sandbox +sandboxdir = $(prefix)/opt/tct-manual-w3c-tests/sandbox EXTRA_DIST = $(sandbox_SCRIPTS) diff --git a/tct-manual-w3c-tests/sandbox/w3c/Makefile.am b/tct-manual-w3c-tests/sandbox/w3c/Makefile.am index 971339a99..d763c8eee 100644 --- a/tct-manual-w3c-tests/sandbox/w3c/Makefile.am +++ b/tct-manual-w3c-tests/sandbox/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support sandboxw3c_SCRIPTS = * -sandboxw3cdir = /opt/tct-manual-w3c-tests/sandbox/w3c +sandboxw3cdir = $(prefix)/opt/tct-manual-w3c-tests/sandbox/w3c EXTRA_DIST = $(sandboxw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/sandbox/w3c/support/Makefile.am b/tct-manual-w3c-tests/sandbox/w3c/support/Makefile.am index 9fb4058f0..8666bc5a6 100644 --- a/tct-manual-w3c-tests/sandbox/w3c/support/Makefile.am +++ b/tct-manual-w3c-tests/sandbox/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-manual-w3c-tests/sandbox/w3c/support +supportdir = $(prefix)/opt/tct-manual-w3c-tests/sandbox/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-manual-w3c-tests/sessionhistory/Makefile.am b/tct-manual-w3c-tests/sessionhistory/Makefile.am index 468dafb5c..f248783e0 100644 --- a/tct-manual-w3c-tests/sessionhistory/Makefile.am +++ b/tct-manual-w3c-tests/sessionhistory/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support sessionhistory_SCRIPTS = * -sessionhistorydir = /opt/tct-manual-w3c-tests/sessionhistory +sessionhistorydir = $(prefix)/opt/tct-manual-w3c-tests/sessionhistory EXTRA_DIST = $(sessionhistory_SCRIPTS) diff --git a/tct-manual-w3c-tests/sessionhistory/support/Makefile.am b/tct-manual-w3c-tests/sessionhistory/support/Makefile.am index 4fec1b40a..4f4d49e84 100644 --- a/tct-manual-w3c-tests/sessionhistory/support/Makefile.am +++ b/tct-manual-w3c-tests/sessionhistory/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-manual-w3c-tests/sessionhistory/support +supportdir = $(prefix)/opt/tct-manual-w3c-tests/sessionhistory/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-manual-w3c-tests/svg/Makefile.am b/tct-manual-w3c-tests/svg/Makefile.am index b35fd7761..8eb19d901 100644 --- a/tct-manual-w3c-tests/svg/Makefile.am +++ b/tct-manual-w3c-tests/svg/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c svg_SCRIPTS = * -svgdir = /opt/tct-manual-w3c-tests/svg +svgdir = $(prefix)/opt/tct-manual-w3c-tests/svg EXTRA_DIST = $(svg_SCRIPTS) diff --git a/tct-manual-w3c-tests/svg/w3c/Makefile.am b/tct-manual-w3c-tests/svg/w3c/Makefile.am index 7c59210cb..256c181af 100644 --- a/tct-manual-w3c-tests/svg/w3c/Makefile.am +++ b/tct-manual-w3c-tests/svg/w3c/Makefile.am @@ -1,3 +1,3 @@ svgw3c_SCRIPTS = * -svgw3cdir = /opt/tct-manual-w3c-tests/svg/w3c +svgw3cdir = $(prefix)/opt/tct-manual-w3c-tests/svg/w3c EXTRA_DIST = $(svgw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/testkit/Makefile.am b/tct-manual-w3c-tests/testkit/Makefile.am index a361e3268..5e704c99b 100644 --- a/tct-manual-w3c-tests/testkit/Makefile.am +++ b/tct-manual-w3c-tests/testkit/Makefile.am @@ -1,4 +1,4 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-manual-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-manual-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-manual-w3c-tests/text/Makefile.am b/tct-manual-w3c-tests/text/Makefile.am index 943e6a468..198255f30 100644 --- a/tct-manual-w3c-tests/text/Makefile.am +++ b/tct-manual-w3c-tests/text/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webkit text_SCRIPTS = * -textdir = /opt/tct-manual-w3c-tests/text +textdir = $(prefix)/opt/tct-manual-w3c-tests/text EXTRA_DIST = $(text_SCRIPTS) diff --git a/tct-manual-w3c-tests/text/webkit/Makefile.am b/tct-manual-w3c-tests/text/webkit/Makefile.am index 006dfd159..ad3b38d03 100644 --- a/tct-manual-w3c-tests/text/webkit/Makefile.am +++ b/tct-manual-w3c-tests/text/webkit/Makefile.am @@ -1,3 +1,3 @@ textw3c_SCRIPTS = *.html -textw3cdir = /opt/tct-manual-w3c-tests/text/webkit +textw3cdir = $(prefix)/opt/tct-manual-w3c-tests/text/webkit EXTRA_DIST = $(textw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/touchevent/Makefile.am b/tct-manual-w3c-tests/touchevent/Makefile.am index 6ff1c19b0..bcb7e4b72 100644 --- a/tct-manual-w3c-tests/touchevent/Makefile.am +++ b/tct-manual-w3c-tests/touchevent/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c TouchEvent_SCRIPTS = * -TouchEventdir = /opt/tct-manual-w3c-tests/touchevent +TouchEventdir = $(prefix)/opt/tct-manual-w3c-tests/touchevent EXTRA_DIST = $(TouchEvent_SCRIPTS) diff --git a/tct-manual-w3c-tests/touchevent/w3c/Makefile.am b/tct-manual-w3c-tests/touchevent/w3c/Makefile.am index 7f58f7693..074929959 100644 --- a/tct-manual-w3c-tests/touchevent/w3c/Makefile.am +++ b/tct-manual-w3c-tests/touchevent/w3c/Makefile.am @@ -1,3 +1,3 @@ TouchEvent_w3c_SCRIPTS = * -TouchEvent_w3cdir = /opt/tct-manual-w3c-tests/touchevent/w3c +TouchEvent_w3cdir = $(prefix)/opt/tct-manual-w3c-tests/touchevent/w3c EXTRA_DIST = $(TouchEvent_w3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/transitions/Makefile.am b/tct-manual-w3c-tests/transitions/Makefile.am index bd798a22d..e76491cca 100644 --- a/tct-manual-w3c-tests/transitions/Makefile.am +++ b/tct-manual-w3c-tests/transitions/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webkit transitions_SCRIPTS = * -transitionsdir = /opt/tct-manual-w3c-tests/transitions +transitionsdir = $(prefix)/opt/tct-manual-w3c-tests/transitions EXTRA_DIST = $(transitions_SCRIPTS) diff --git a/tct-manual-w3c-tests/transitions/webkit/Makefile.am b/tct-manual-w3c-tests/transitions/webkit/Makefile.am index 616d9f873..6fbcdcc24 100644 --- a/tct-manual-w3c-tests/transitions/webkit/Makefile.am +++ b/tct-manual-w3c-tests/transitions/webkit/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources transitionsw3c_SCRIPTS = *.html -transitionsw3cdir = /opt/tct-manual-w3c-tests/transitions/webkit +transitionsw3cdir = $(prefix)/opt/tct-manual-w3c-tests/transitions/webkit EXTRA_DIST = $(transitionsw3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/transitions/webkit/resources/Makefile.am b/tct-manual-w3c-tests/transitions/webkit/resources/Makefile.am index 2118b03c9..5e8cf84c2 100644 --- a/tct-manual-w3c-tests/transitions/webkit/resources/Makefile.am +++ b/tct-manual-w3c-tests/transitions/webkit/resources/Makefile.am @@ -1,3 +1,3 @@ resources_SCRIPTS = *.js *.gif -resourcesdir = /opt/tct-manual-w3c-tests/transitions/webkit/resources +resourcesdir = $(prefix)/opt/tct-manual-w3c-tests/transitions/webkit/resources EXTRA_DIST = $(resources_SCRIPTS) diff --git a/tct-manual-w3c-tests/ui/Makefile.am b/tct-manual-w3c-tests/ui/Makefile.am index db8ac9bc0..6bde63875 100644 --- a/tct-manual-w3c-tests/ui/Makefile.am +++ b/tct-manual-w3c-tests/ui/Makefile.am @@ -1,3 +1,3 @@ ui_SCRIPTS = * -uidir = /opt/tct-manual-w3c-tests/ui +uidir = $(prefix)/opt/tct-manual-w3c-tests/ui EXTRA_DIST = $(ui_SCRIPTS) diff --git a/tct-manual-w3c-tests/video/Makefile.am b/tct-manual-w3c-tests/video/Makefile.am index f59fb4f84..36d6f8207 100644 --- a/tct-manual-w3c-tests/video/Makefile.am +++ b/tct-manual-w3c-tests/video/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c media video_SCRIPTS = * -videodir = /opt/tct-manual-w3c-tests/video +videodir = $(prefix)/opt/tct-manual-w3c-tests/video EXTRA_DIST = $(video_SCRIPTS) diff --git a/tct-manual-w3c-tests/video/media/Makefile.am b/tct-manual-w3c-tests/video/media/Makefile.am index 576b52f10..0530b850c 100644 --- a/tct-manual-w3c-tests/video/media/Makefile.am +++ b/tct-manual-w3c-tests/video/media/Makefile.am @@ -1,3 +1,3 @@ videomedia_SCRIPTS = * -videomediadir = /opt/tct-manual-w3c-tests/video/media +videomediadir = $(prefix)/opt/tct-manual-w3c-tests/video/media EXTRA_DIST = $(videomedia_SCRIPTS) diff --git a/tct-manual-w3c-tests/video/w3c/Makefile.am b/tct-manual-w3c-tests/video/w3c/Makefile.am index f2e53d724..9ba941e18 100644 --- a/tct-manual-w3c-tests/video/w3c/Makefile.am +++ b/tct-manual-w3c-tests/video/w3c/Makefile.am @@ -1,3 +1,3 @@ videow3c_SCRIPTS = * -videow3cdir = /opt/tct-manual-w3c-tests/video/w3c +videow3cdir = $(prefix)/opt/tct-manual-w3c-tests/video/w3c EXTRA_DIST = $(videow3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetinterface/Makefile.am b/tct-manual-w3c-tests/widgetinterface/Makefile.am index 5b04efb23..38d4d68e1 100644 --- a/tct-manual-w3c-tests/widgetinterface/Makefile.am +++ b/tct-manual-w3c-tests/widgetinterface/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c widgetinterface_SCRIPTS = * -widgetinterfacedir = /opt/tct-manual-w3c-tests/widgetinterface +widgetinterfacedir = $(prefix)/opt/tct-manual-w3c-tests/widgetinterface EXTRA_DIST = $(widgetinterface_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetinterface/w3c/Makefile.am b/tct-manual-w3c-tests/widgetinterface/w3c/Makefile.am index bbccdb0f5..c08557f40 100644 --- a/tct-manual-w3c-tests/widgetinterface/w3c/Makefile.am +++ b/tct-manual-w3c-tests/widgetinterface/w3c/Makefile.am @@ -1,3 +1,3 @@ widgetinterfacew3c_SCRIPTS = * -widgetinterfacew3cdir = /opt/tct-manual-w3c-tests/widgetinterface/w3c +widgetinterfacew3cdir = $(prefix)/opt/tct-manual-w3c-tests/widgetinterface/w3c EXTRA_DIST = $(widgetinterfacew3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetpackaging/Makefile.am b/tct-manual-w3c-tests/widgetpackaging/Makefile.am index 00117ce9d..bdca453ba 100644 --- a/tct-manual-w3c-tests/widgetpackaging/Makefile.am +++ b/tct-manual-w3c-tests/widgetpackaging/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c widgetpackaging_SCRIPTS = * -widgetpackagingdir = /opt/tct-manual-w3c-tests/widgetpackaging +widgetpackagingdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpackaging EXTRA_DIST = $(widgetpackaging_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetpackaging/w3c/Makefile.am b/tct-manual-w3c-tests/widgetpackaging/w3c/Makefile.am index 99c05c09f..c88d0e03f 100755 --- a/tct-manual-w3c-tests/widgetpackaging/w3c/Makefile.am +++ b/tct-manual-w3c-tests/widgetpackaging/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-manual-w3c-tests/widgetpackaging/w3c +w3cdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpackaging/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetpolicy/Makefile.am b/tct-manual-w3c-tests/widgetpolicy/Makefile.am index c9f6dd59c..671fbb7db 100644 --- a/tct-manual-w3c-tests/widgetpolicy/Makefile.am +++ b/tct-manual-w3c-tests/widgetpolicy/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c worker_SCRIPTS = * -workerdir = /opt/tct-manual-w3c-tests/widgetpolicy +workerdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpolicy EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-manual-w3c-tests/widgetpolicy/w3c/Makefile.am b/tct-manual-w3c-tests/widgetpolicy/w3c/Makefile.am index d3cd99575..be8c00f62 100644 --- a/tct-manual-w3c-tests/widgetpolicy/w3c/Makefile.am +++ b/tct-manual-w3c-tests/widgetpolicy/w3c/Makefile.am @@ -1,3 +1,3 @@ widgetpolicy_SCRIPTS = * -widgetpolicydir = /opt/tct-manual-w3c-tests/widgetpolicy/w3c +widgetpolicydir = $(prefix)/opt/tct-manual-w3c-tests/widgetpolicy/w3c EXTRA_DIST = $(widgetpolicy_SCRIPTS) diff --git a/tct-mediacapture-w3c-tests/Makefile.am b/tct-mediacapture-w3c-tests/Makefile.am index 6319b1cbb..f719365ab 100644 --- a/tct-mediacapture-w3c-tests/Makefile.am +++ b/tct-mediacapture-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = mediacapture $(commondir) -docdir = /opt/tct-mediacapture-w3c-tests +docdir = $(prefix)/opt/tct-mediacapture-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-mediacapture-w3c-tests/mediacapture/Makefile.am b/tct-mediacapture-w3c-tests/mediacapture/Makefile.am index 687569c01..ff050242f 100644 --- a/tct-mediacapture-w3c-tests/mediacapture/Makefile.am +++ b/tct-mediacapture-w3c-tests/mediacapture/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support MediaCapture_SCRIPTS = * -MediaCapturedir = /opt/tct-mediacapture-w3c-tests/mediacapture +MediaCapturedir = $(prefix)/opt/tct-mediacapture-w3c-tests/mediacapture EXTRA_DIST = $(MediaCapture_SCRIPTS) diff --git a/tct-mediacapture-w3c-tests/mediacapture/support/Makefile.am b/tct-mediacapture-w3c-tests/mediacapture/support/Makefile.am index 6c409c59a..8bc0958fc 100644 --- a/tct-mediacapture-w3c-tests/mediacapture/support/Makefile.am +++ b/tct-mediacapture-w3c-tests/mediacapture/support/Makefile.am @@ -1,3 +1,3 @@ Mediacapture_sup_SCRIPTS = * -Mediacapture_supdir = /opt/tct-mediacapture-w3c-tests/mediacapture/support +Mediacapture_supdir = $(prefix)/opt/tct-mediacapture-w3c-tests/mediacapture/support EXTRA_DIST = $(Mediacapture_sup_SCRIPTS) diff --git a/tct-mediacapture-w3c-tests/pack.sh b/tct-mediacapture-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-mediacapture-w3c-tests/pack.sh +++ b/tct-mediacapture-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-mediacapture-w3c-tests/resources/Makefile.am b/tct-mediacapture-w3c-tests/resources/Makefile.am index 89f9140c7..cfb43f1c8 100644 --- a/tct-mediacapture-w3c-tests/resources/Makefile.am +++ b/tct-mediacapture-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-mediacapture-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-mediacapture-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-mediacapture-w3c-tests/testkit/Makefile.am b/tct-mediacapture-w3c-tests/testkit/Makefile.am index da4357ce3..d1dd82ea8 100644 --- a/tct-mediacapture-w3c-tests/testkit/Makefile.am +++ b/tct-mediacapture-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-mediacapture-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-mediacapture-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-mediaqueries-css3-tests/Makefile.am b/tct-mediaqueries-css3-tests/Makefile.am index 227b30706..a3d0cd09d 100644 --- a/tct-mediaqueries-css3-tests/Makefile.am +++ b/tct-mediaqueries-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = mediaqueries $(commondir) -docdir = /opt/tct-mediaqueries-css3-tests +docdir = $(prefix)/opt/tct-mediaqueries-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-mediaqueries-css3-tests/mediaqueries/Makefile.am b/tct-mediaqueries-css3-tests/mediaqueries/Makefile.am index 51d1c43af..a4e131eb0 100644 --- a/tct-mediaqueries-css3-tests/mediaqueries/Makefile.am +++ b/tct-mediaqueries-css3-tests/mediaqueries/Makefile.am @@ -1,3 +1,3 @@ CSS3MediaQueries_SCRIPTS = * -CSS3MediaQueriesdir = /opt/tct-mediaqueries-css3-tests/mediaqueries +CSS3MediaQueriesdir = $(prefix)/opt/tct-mediaqueries-css3-tests/mediaqueries EXTRA_DIST = $(CSS3MediaQueries_SCRIPTS) diff --git a/tct-mediaqueries-css3-tests/pack.sh b/tct-mediaqueries-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-mediaqueries-css3-tests/pack.sh +++ b/tct-mediaqueries-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-mediaqueries-css3-tests/resources/Makefile.am b/tct-mediaqueries-css3-tests/resources/Makefile.am index dee26467f..80ef09891 100644 --- a/tct-mediaqueries-css3-tests/resources/Makefile.am +++ b/tct-mediaqueries-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-mediaqueries-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-mediaqueries-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-mediaqueries-css3-tests/testkit/Makefile.am b/tct-mediaqueries-css3-tests/testkit/Makefile.am index 285c5d1fd..9e70adead 100644 --- a/tct-mediaqueries-css3-tests/testkit/Makefile.am +++ b/tct-mediaqueries-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-mediaqueries-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-mediaqueries-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-messageport-tizen-tests/Makefile.am b/tct-messageport-tizen-tests/Makefile.am index b88d45f22..2b8d1ead9 100644 --- a/tct-messageport-tizen-tests/Makefile.am +++ b/tct-messageport-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = messageport $(commondir) -docdir = /opt/tct-messageport-tizen-tests +docdir = $(prefix)/opt/tct-messageport-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-messageport-tizen-tests/messageport/Makefile.am b/tct-messageport-tizen-tests/messageport/Makefile.am index a6a716979..3eecf658a 100644 --- a/tct-messageport-tizen-tests/messageport/Makefile.am +++ b/tct-messageport-tizen-tests/messageport/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_DATA = *.html -workerdir = /opt/tct-messageport-tizen-tests/messageport +workerdir = $(prefix)/opt/tct-messageport-tizen-tests/messageport EXTRA_DIST = $(worker_DATA) diff --git a/tct-messageport-tizen-tests/messageport/support/Makefile.am b/tct-messageport-tizen-tests/messageport/support/Makefile.am index 904ea06d3..2e94ee610 100644 --- a/tct-messageport-tizen-tests/messageport/support/Makefile.am +++ b/tct-messageport-tizen-tests/messageport/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-messageport-tizen-tests/messageport/support +supportdir = $(prefix)/opt/tct-messageport-tizen-tests/messageport/support support_DATA = *.js EXTRA_DIST = $(support_DATA) diff --git a/tct-messageport-tizen-tests/pack.sh b/tct-messageport-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-messageport-tizen-tests/pack.sh +++ b/tct-messageport-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-messageport-tizen-tests/resources/Makefile.am b/tct-messageport-tizen-tests/resources/Makefile.am index 7f6a0fc54..9b55a19a1 100644 --- a/tct-messageport-tizen-tests/resources/Makefile.am +++ b/tct-messageport-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-messageport-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-messageport-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-messageport-tizen-tests/testkit/Makefile.am b/tct-messageport-tizen-tests/testkit/Makefile.am index ac1177562..cf782bbeb 100644 --- a/tct-messageport-tizen-tests/testkit/Makefile.am +++ b/tct-messageport-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-messageport-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-messageport-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-messaging-email-tizen-tests/Makefile.am b/tct-messaging-email-tizen-tests/Makefile.am index 0faf1392b..e1d714de7 100644 --- a/tct-messaging-email-tizen-tests/Makefile.am +++ b/tct-messaging-email-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = messaging $(commondir) -docdir = /opt/tct-messaging-email-tizen-tests +docdir = $(prefix)/opt/tct-messaging-email-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml -mediadir = /opt/tct-messaging-email-tizen-tests/mediasrc +mediadir = $(prefix)/opt/tct-messaging-email-tizen-tests/mediasrc dist_media_DATA = *.jpg *.mp3 diff --git a/tct-messaging-email-tizen-tests/messaging/Makefile.am b/tct-messaging-email-tizen-tests/messaging/Makefile.am index d622cde83..add21c646 100644 --- a/tct-messaging-email-tizen-tests/messaging/Makefile.am +++ b/tct-messaging-email-tizen-tests/messaging/Makefile.am @@ -34,5 +34,5 @@ SUBDIRS = support email_SCRIPTS = * -emaildir = /opt/tct-messaging-email-tizen-tests/messaging +emaildir = $(prefix)/opt/tct-messaging-email-tizen-tests/messaging EXTRA_DIST = $(email_SCRIPTS) diff --git a/tct-messaging-email-tizen-tests/messaging/support/Makefile.am b/tct-messaging-email-tizen-tests/messaging/support/Makefile.am index 529bafccd..d4a8a5e03 100644 --- a/tct-messaging-email-tizen-tests/messaging/support/Makefile.am +++ b/tct-messaging-email-tizen-tests/messaging/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-messaging-email-tizen-tests/messaging/support +supportdir = $(prefix)/opt/tct-messaging-email-tizen-tests/messaging/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-messaging-email-tizen-tests/pack.sh b/tct-messaging-email-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-messaging-email-tizen-tests/pack.sh +++ b/tct-messaging-email-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-messaging-email-tizen-tests/resources/Makefile.am b/tct-messaging-email-tizen-tests/resources/Makefile.am index b4117a9d1..cbec47ab0 100644 --- a/tct-messaging-email-tizen-tests/resources/Makefile.am +++ b/tct-messaging-email-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-messaging-email-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-messaging-email-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-messaging-email-tizen-tests/testkit/Makefile.am b/tct-messaging-email-tizen-tests/testkit/Makefile.am index 03a12404f..db59b2c70 100644 --- a/tct-messaging-email-tizen-tests/testkit/Makefile.am +++ b/tct-messaging-email-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-messaging-email-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-messaging-email-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-messaging-mms-tizen-tests/Makefile.am b/tct-messaging-mms-tizen-tests/Makefile.am index 996f6df57..6adea953b 100644 --- a/tct-messaging-mms-tizen-tests/Makefile.am +++ b/tct-messaging-mms-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = messaging $(commondir) -docdir = /opt/tct-messaging-mms-tizen-tests +docdir = $(prefix)/opt/tct-messaging-mms-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml -mediadir = /opt/tct-messaging-mms-tizen-tests/mediasrc +mediadir = $(prefix)/opt/tct-messaging-mms-tizen-tests/mediasrc dist_media_DATA = *.jpg *.mp3 diff --git a/tct-messaging-mms-tizen-tests/messaging/Makefile.am b/tct-messaging-mms-tizen-tests/messaging/Makefile.am index 2a508038b..378b90a72 100644 --- a/tct-messaging-mms-tizen-tests/messaging/Makefile.am +++ b/tct-messaging-mms-tizen-tests/messaging/Makefile.am @@ -34,5 +34,5 @@ SUBDIRS = support email_SCRIPTS = * -emaildir = /opt/tct-messaging-mms-tizen-tests/messaging +emaildir = $(prefix)/opt/tct-messaging-mms-tizen-tests/messaging EXTRA_DIST = $(email_SCRIPTS) diff --git a/tct-messaging-mms-tizen-tests/messaging/support/Makefile.am b/tct-messaging-mms-tizen-tests/messaging/support/Makefile.am index b2bd8daa4..d6add513b 100644 --- a/tct-messaging-mms-tizen-tests/messaging/support/Makefile.am +++ b/tct-messaging-mms-tizen-tests/messaging/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-messaging-mms-tizen-tests/messaging/support +supportdir = $(prefix)/opt/tct-messaging-mms-tizen-tests/messaging/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-messaging-mms-tizen-tests/pack.sh b/tct-messaging-mms-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-messaging-mms-tizen-tests/pack.sh +++ b/tct-messaging-mms-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-messaging-mms-tizen-tests/resources/Makefile.am b/tct-messaging-mms-tizen-tests/resources/Makefile.am index fa1239f9f..f10c32fe1 100644 --- a/tct-messaging-mms-tizen-tests/resources/Makefile.am +++ b/tct-messaging-mms-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-messaging-mms-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-messaging-mms-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-messaging-mms-tizen-tests/testkit/Makefile.am b/tct-messaging-mms-tizen-tests/testkit/Makefile.am index 2e0647167..c02dbaee8 100644 --- a/tct-messaging-mms-tizen-tests/testkit/Makefile.am +++ b/tct-messaging-mms-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-messaging-mms-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-messaging-mms-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-messaging-sms-tizen-tests/Makefile.am b/tct-messaging-sms-tizen-tests/Makefile.am index 48cc40dac..8521fd548 100644 --- a/tct-messaging-sms-tizen-tests/Makefile.am +++ b/tct-messaging-sms-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = messaging $(commondir) -docdir = /opt/tct-messaging-sms-tizen-tests +docdir = $(prefix)/opt/tct-messaging-sms-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-messaging-sms-tizen-tests/messaging/Makefile.am b/tct-messaging-sms-tizen-tests/messaging/Makefile.am index 2f35f0ff4..b64f31e52 100644 --- a/tct-messaging-sms-tizen-tests/messaging/Makefile.am +++ b/tct-messaging-sms-tizen-tests/messaging/Makefile.am @@ -34,5 +34,5 @@ SUBDIRS = support email_SCRIPTS = * -emaildir = /opt/tct-messaging-sms-tizen-tests/messaging +emaildir = $(prefix)/opt/tct-messaging-sms-tizen-tests/messaging EXTRA_DIST = $(email_SCRIPTS) diff --git a/tct-messaging-sms-tizen-tests/messaging/support/Makefile.am b/tct-messaging-sms-tizen-tests/messaging/support/Makefile.am index 7ad57bee7..69f3dd2c9 100644 --- a/tct-messaging-sms-tizen-tests/messaging/support/Makefile.am +++ b/tct-messaging-sms-tizen-tests/messaging/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-messaging-sms-tizen-tests/messaging/support +supportdir = $(prefix)/opt/tct-messaging-sms-tizen-tests/messaging/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-messaging-sms-tizen-tests/pack.sh b/tct-messaging-sms-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-messaging-sms-tizen-tests/pack.sh +++ b/tct-messaging-sms-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-messaging-sms-tizen-tests/resources/Makefile.am b/tct-messaging-sms-tizen-tests/resources/Makefile.am index 7d6b88e50..ec9be2009 100644 --- a/tct-messaging-sms-tizen-tests/resources/Makefile.am +++ b/tct-messaging-sms-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-messaging-sms-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-messaging-sms-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-messaging-sms-tizen-tests/testkit/Makefile.am b/tct-messaging-sms-tizen-tests/testkit/Makefile.am index 5a404b61e..2abe82b51 100644 --- a/tct-messaging-sms-tizen-tests/testkit/Makefile.am +++ b/tct-messaging-sms-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-messaging-sms-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-messaging-sms-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/Makefile.am b/tct-multicolumn-css3-tests/Makefile.am index cfe2ca5a2..4744430da 100644 --- a/tct-multicolumn-css3-tests/Makefile.am +++ b/tct-multicolumn-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = multicolumn $(commondir) -docdir = /opt/tct-multicolumn-css3-tests +docdir = $(prefix)/opt/tct-multicolumn-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-multicolumn-css3-tests/multicolumn/Makefile.am b/tct-multicolumn-css3-tests/multicolumn/Makefile.am index d829c8463..8b53e7149 100644 --- a/tct-multicolumn-css3-tests/multicolumn/Makefile.am +++ b/tct-multicolumn-css3-tests/multicolumn/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = csswg support tests_SCRIPTS = * -testsdir = /opt/tct-multicolumn-css3-tests/multicolumn +testsdir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/multicolumn/csswg/Makefile.am b/tct-multicolumn-css3-tests/multicolumn/csswg/Makefile.am index 5b5a60f49..5b052fd49 100644 --- a/tct-multicolumn-css3-tests/multicolumn/csswg/Makefile.am +++ b/tct-multicolumn-css3-tests/multicolumn/csswg/Makefile.am @@ -29,5 +29,5 @@ # SUBDIRS = reference tests_SCRIPTS = * -testsdir = /opt/tct-multicolumn-css3-tests/multicolumn/csswg +testsdir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn/csswg EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/multicolumn/csswg/reference/Makefile.am b/tct-multicolumn-css3-tests/multicolumn/csswg/reference/Makefile.am index 12d087ec1..7a8e1a77d 100644 --- a/tct-multicolumn-css3-tests/multicolumn/csswg/reference/Makefile.am +++ b/tct-multicolumn-css3-tests/multicolumn/csswg/reference/Makefile.am @@ -1,3 +1,3 @@ Multicolreference_SCRIPTS = * -Multicolreferencedir = /opt/tct-multicolumn-css3-tests/multicolumn/csswg/reference +Multicolreferencedir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn/csswg/reference EXTRA_DIST = $(Multicolreference_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/multicolumn/support/Makefile.am b/tct-multicolumn-css3-tests/multicolumn/support/Makefile.am index f86ca6187..7c8d29656 100644 --- a/tct-multicolumn-css3-tests/multicolumn/support/Makefile.am +++ b/tct-multicolumn-css3-tests/multicolumn/support/Makefile.am @@ -1,3 +1,3 @@ multicolumnsupport_SCRIPTS = * -multicolumnsupportdir = /opt/tct-multicolumn-css3-tests/multicolumn/support +multicolumnsupportdir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn/support EXTRA_DIST = $(multicolumnsupport_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/pack.sh b/tct-multicolumn-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-multicolumn-css3-tests/pack.sh +++ b/tct-multicolumn-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-multicolumn-css3-tests/resources/Makefile.am b/tct-multicolumn-css3-tests/resources/Makefile.am index 1d482250d..938dfdddc 100644 --- a/tct-multicolumn-css3-tests/resources/Makefile.am +++ b/tct-multicolumn-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-multicolumn-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-multicolumn-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-multicolumn-css3-tests/testkit/Makefile.am b/tct-multicolumn-css3-tests/testkit/Makefile.am index 31a42460b..b38d33a17 100644 --- a/tct-multicolumn-css3-tests/testkit/Makefile.am +++ b/tct-multicolumn-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-multicolumn-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-multicolumn-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-namespace-tizen-tests/Makefile.am b/tct-namespace-tizen-tests/Makefile.am index 8e57bc677..cc670fd05 100644 --- a/tct-namespace-tizen-tests/Makefile.am +++ b/tct-namespace-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = namespace $(commondir) -docdir = /opt/tct-namespace-tizen-tests +docdir = $(prefix)/opt/tct-namespace-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-namespace-tizen-tests/namespace/Makefile.am b/tct-namespace-tizen-tests/namespace/Makefile.am index 0b5d424df..138156777 100644 --- a/tct-namespace-tizen-tests/namespace/Makefile.am +++ b/tct-namespace-tizen-tests/namespace/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_DATA = *.html -workerdir = /opt/tct-namespace-tizen-tests/namespace +workerdir = $(prefix)/opt/tct-namespace-tizen-tests/namespace EXTRA_DIST = $(worker_DATA) diff --git a/tct-namespace-tizen-tests/namespace/support/Makefile.am b/tct-namespace-tizen-tests/namespace/support/Makefile.am index 1c90b1fcc..ab0e6d4ef 100644 --- a/tct-namespace-tizen-tests/namespace/support/Makefile.am +++ b/tct-namespace-tizen-tests/namespace/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-namespace-tizen-tests/namespace/support +supportdir = $(prefix)/opt/tct-namespace-tizen-tests/namespace/support support_DATA = *.js EXTRA_DIST = $(support_DATA) diff --git a/tct-namespace-tizen-tests/pack.sh b/tct-namespace-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-namespace-tizen-tests/pack.sh +++ b/tct-namespace-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-namespace-tizen-tests/resources/Makefile.am b/tct-namespace-tizen-tests/resources/Makefile.am index 12239ecdc..dadb928f7 100644 --- a/tct-namespace-tizen-tests/resources/Makefile.am +++ b/tct-namespace-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-namespace-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-namespace-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-namespace-tizen-tests/testkit/Makefile.am b/tct-namespace-tizen-tests/testkit/Makefile.am index 65374cf9b..aa4925ca7 100644 --- a/tct-namespace-tizen-tests/testkit/Makefile.am +++ b/tct-namespace-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-namespace-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-namespace-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-navigationtiming-w3c-tests/Makefile.am b/tct-navigationtiming-w3c-tests/Makefile.am index 21df79dfd..0f1a1869d 100644 --- a/tct-navigationtiming-w3c-tests/Makefile.am +++ b/tct-navigationtiming-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = navigationtiming $(commondir) -docdir = /opt/tct-navigationtiming-w3c-tests +docdir = $(prefix)/opt/tct-navigationtiming-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-navigationtiming-w3c-tests/navigationtiming/Makefile.am b/tct-navigationtiming-w3c-tests/navigationtiming/Makefile.am index 05dc3e4b6..86d66699f 100644 --- a/tct-navigationtiming-w3c-tests/navigationtiming/Makefile.am +++ b/tct-navigationtiming-w3c-tests/navigationtiming/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS = w3c support navigationtiming_SCRIPTS = * -navigationtimingdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming +navigationtimingdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming EXTRA_DIST = $(navigationtiming_SCRIPTS) diff --git a/tct-navigationtiming-w3c-tests/navigationtiming/support/Makefile.am b/tct-navigationtiming-w3c-tests/navigationtiming/support/Makefile.am index 9522bd206..388be2185 100644 --- a/tct-navigationtiming-w3c-tests/navigationtiming/support/Makefile.am +++ b/tct-navigationtiming-w3c-tests/navigationtiming/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming/support +supportdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-navigationtiming-w3c-tests/navigationtiming/w3c/Makefile.am b/tct-navigationtiming-w3c-tests/navigationtiming/w3c/Makefile.am index bddab9337..1c0a14700 100644 --- a/tct-navigationtiming-w3c-tests/navigationtiming/w3c/Makefile.am +++ b/tct-navigationtiming-w3c-tests/navigationtiming/w3c/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS = support w3c_SCRIPTS = * -w3cdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming/w3c +w3cdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support/Makefile.am b/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support/Makefile.am index d14660585..1fc40ca62 100644 --- a/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support/Makefile.am +++ b/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support +supportdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-navigationtiming-w3c-tests/pack.sh b/tct-navigationtiming-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-navigationtiming-w3c-tests/pack.sh +++ b/tct-navigationtiming-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-navigationtiming-w3c-tests/resources/Makefile.am b/tct-navigationtiming-w3c-tests/resources/Makefile.am index 425686cc3..70ec77a30 100644 --- a/tct-navigationtiming-w3c-tests/resources/Makefile.am +++ b/tct-navigationtiming-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-navigationtiming-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-navigationtiming-w3c-tests/testkit/Makefile.am b/tct-navigationtiming-w3c-tests/testkit/Makefile.am index d33d4bfd0..b290ff2e1 100644 --- a/tct-navigationtiming-w3c-tests/testkit/Makefile.am +++ b/tct-navigationtiming-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-navigationtiming-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-netinfo-w3c-tests/Makefile.am b/tct-netinfo-w3c-tests/Makefile.am index 16a6c6f33..b21579a85 100644 --- a/tct-netinfo-w3c-tests/Makefile.am +++ b/tct-netinfo-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = netinfo $(commondir) -docdir = /opt/tct-netinfo-w3c-tests +docdir = $(prefix)/opt/tct-netinfo-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-netinfo-w3c-tests/netinfo/Makefile.am b/tct-netinfo-w3c-tests/netinfo/Makefile.am index edce6b1d6..3259e2e24 100644 --- a/tct-netinfo-w3c-tests/netinfo/Makefile.am +++ b/tct-netinfo-w3c-tests/netinfo/Makefile.am @@ -1,3 +1,3 @@ NetworkInfo_SCRIPTS = * -NetworkInfodir = /opt/tct-netinfo-w3c-tests/netinfo +NetworkInfodir = $(prefix)/opt/tct-netinfo-w3c-tests/netinfo EXTRA_DIST = $(NetworkInfo_SCRIPTS) diff --git a/tct-netinfo-w3c-tests/pack.sh b/tct-netinfo-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-netinfo-w3c-tests/pack.sh +++ b/tct-netinfo-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-netinfo-w3c-tests/resources/Makefile.am b/tct-netinfo-w3c-tests/resources/Makefile.am index 71a04402f..efc551412 100644 --- a/tct-netinfo-w3c-tests/resources/Makefile.am +++ b/tct-netinfo-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-netinfo-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-netinfo-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-netinfo-w3c-tests/testkit/Makefile.am b/tct-netinfo-w3c-tests/testkit/Makefile.am index 7eb68a7c1..18bee3381 100644 --- a/tct-netinfo-w3c-tests/testkit/Makefile.am +++ b/tct-netinfo-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-netinfo-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-netinfo-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-networkbearerselection-tizen-tests/Makefile.am b/tct-networkbearerselection-tizen-tests/Makefile.am index b38ee45d4..3f1a3a5e7 100644 --- a/tct-networkbearerselection-tizen-tests/Makefile.am +++ b/tct-networkbearerselection-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = networkbearerselection $(commondir) -docdir = /opt/tct-networkbearerselection-tizen-tests +docdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-networkbearerselection-tizen-tests/networkbearerselection/Makefile.am b/tct-networkbearerselection-tizen-tests/networkbearerselection/Makefile.am index 2d8c0b4cc..a4b512aa9 100644 --- a/tct-networkbearerselection-tizen-tests/networkbearerselection/Makefile.am +++ b/tct-networkbearerselection-tizen-tests/networkbearerselection/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-networkbearerselection-tizen-tests/networkbearerselection +workerdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/networkbearerselection EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-networkbearerselection-tizen-tests/networkbearerselection/support/Makefile.am b/tct-networkbearerselection-tizen-tests/networkbearerselection/support/Makefile.am index 84fa14dc1..c0f99e80c 100644 --- a/tct-networkbearerselection-tizen-tests/networkbearerselection/support/Makefile.am +++ b/tct-networkbearerselection-tizen-tests/networkbearerselection/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-networkbearerselection-tizen-tests/networkbearerselection/support +supportdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/networkbearerselection/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-networkbearerselection-tizen-tests/pack.sh b/tct-networkbearerselection-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-networkbearerselection-tizen-tests/pack.sh +++ b/tct-networkbearerselection-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-networkbearerselection-tizen-tests/resources/Makefile.am b/tct-networkbearerselection-tizen-tests/resources/Makefile.am index c6ddb3973..052c80a3c 100644 --- a/tct-networkbearerselection-tizen-tests/resources/Makefile.am +++ b/tct-networkbearerselection-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-networkbearerselection-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-networkbearerselection-tizen-tests/testkit/Makefile.am b/tct-networkbearerselection-tizen-tests/testkit/Makefile.am index 742337090..0ca86891e 100644 --- a/tct-networkbearerselection-tizen-tests/testkit/Makefile.am +++ b/tct-networkbearerselection-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-networkbearerselection-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-nfc-tizen-tests/Makefile.am b/tct-nfc-tizen-tests/Makefile.am index b22cd3719..d35fc3e8a 100644 --- a/tct-nfc-tizen-tests/Makefile.am +++ b/tct-nfc-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = nfc $(commondir) -docdir = /opt/tct-nfc-tizen-tests +docdir = $(prefix)/opt/tct-nfc-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-nfc-tizen-tests/nfc/Makefile.am b/tct-nfc-tizen-tests/nfc/Makefile.am index f3c7c5e3f..438c4de09 100644 --- a/tct-nfc-tizen-tests/nfc/Makefile.am +++ b/tct-nfc-tizen-tests/nfc/Makefile.am @@ -33,5 +33,5 @@ SUBDIRS=support nfc_SCRIPTS = * -nfcdir = /opt/tct-nfc-tizen-tests/nfc +nfcdir = $(prefix)/opt/tct-nfc-tizen-tests/nfc EXTRA_DIST = $(nfc_SCRIPTS) diff --git a/tct-nfc-tizen-tests/nfc/support/Makefile.am b/tct-nfc-tizen-tests/nfc/support/Makefile.am index bae162c4d..195715eb7 100644 --- a/tct-nfc-tizen-tests/nfc/support/Makefile.am +++ b/tct-nfc-tizen-tests/nfc/support/Makefile.am @@ -1,3 +1,3 @@ nfc_support_DATA = *.js -nfc_supportdir = /opt/tct-nfc-tizen-tests/nfc/support +nfc_supportdir = $(prefix)/opt/tct-nfc-tizen-tests/nfc/support EXTRA_DIST = $(nfc_support_DATA) diff --git a/tct-nfc-tizen-tests/pack.sh b/tct-nfc-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-nfc-tizen-tests/pack.sh +++ b/tct-nfc-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-nfc-tizen-tests/resources/Makefile.am b/tct-nfc-tizen-tests/resources/Makefile.am index 0ee18f8ef..b07bbae17 100644 --- a/tct-nfc-tizen-tests/resources/Makefile.am +++ b/tct-nfc-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-nfc-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-nfc-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-nfc-tizen-tests/testkit/Makefile.am b/tct-nfc-tizen-tests/testkit/Makefile.am index 5f07b7ea3..adccaa763 100644 --- a/tct-nfc-tizen-tests/testkit/Makefile.am +++ b/tct-nfc-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-nfc-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-nfc-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-notification-tizen-tests/Makefile.am b/tct-notification-tizen-tests/Makefile.am index d6a57defc..1c6985bd9 100644 --- a/tct-notification-tizen-tests/Makefile.am +++ b/tct-notification-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = notification $(commondir) -docdir = /opt/tct-notification-tizen-tests +docdir = $(prefix)/opt/tct-notification-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml -mediadir = /opt/tct-notification-tizen-tests/mediasrc +mediadir = $(prefix)/opt/tct-notification-tizen-tests/mediasrc dist_media_DATA = *.mp3 *.jpg diff --git a/tct-notification-tizen-tests/notification/Makefile.am b/tct-notification-tizen-tests/notification/Makefile.am index 37670d565..b2a98cce2 100644 --- a/tct-notification-tizen-tests/notification/Makefile.am +++ b/tct-notification-tizen-tests/notification/Makefile.am @@ -7,5 +7,5 @@ SUBDIRS = support notification_SCRIPTS = * -notificationdir = /opt/tct-notification-tizen-tests/notification +notificationdir = $(prefix)/opt/tct-notification-tizen-tests/notification EXTRA_DIST = $(notification_SCRIPTS) diff --git a/tct-notification-tizen-tests/notification/support/Makefile.am b/tct-notification-tizen-tests/notification/support/Makefile.am index 6d9e7e157..06efd95f6 100644 --- a/tct-notification-tizen-tests/notification/support/Makefile.am +++ b/tct-notification-tizen-tests/notification/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-notification-tizen-tests/notification/support +supportdir = $(prefix)/opt/tct-notification-tizen-tests/notification/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-notification-tizen-tests/pack.sh b/tct-notification-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-notification-tizen-tests/pack.sh +++ b/tct-notification-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-notification-tizen-tests/resources/Makefile.am b/tct-notification-tizen-tests/resources/Makefile.am index d6f8b5e94..f975f9da1 100644 --- a/tct-notification-tizen-tests/resources/Makefile.am +++ b/tct-notification-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-notification-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-notification-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-notification-tizen-tests/testkit/Makefile.am b/tct-notification-tizen-tests/testkit/Makefile.am index ff6d0a887..11f01da3f 100644 --- a/tct-notification-tizen-tests/testkit/Makefile.am +++ b/tct-notification-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-notification-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-notification-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-notification-w3c-tests/Makefile.am b/tct-notification-w3c-tests/Makefile.am index 5e338f76d..ef8af65f2 100644 --- a/tct-notification-w3c-tests/Makefile.am +++ b/tct-notification-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = notification $(commondir) -docdir = /opt/tct-notification-w3c-tests +docdir = $(prefix)/opt/tct-notification-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-notification-w3c-tests/notification/Makefile.am b/tct-notification-w3c-tests/notification/Makefile.am index 6b416642b..0cfd927ed 100644 --- a/tct-notification-w3c-tests/notification/Makefile.am +++ b/tct-notification-w3c-tests/notification/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support Notification_SCRIPTS = * -Notificationdir = /opt/tct-notification-w3c-tests/notification +Notificationdir = $(prefix)/opt/tct-notification-w3c-tests/notification EXTRA_DIST = $(Notification_SCRIPTS) diff --git a/tct-notification-w3c-tests/notification/support/Makefile.am b/tct-notification-w3c-tests/notification/support/Makefile.am index 4af297391..2a8944707 100644 --- a/tct-notification-w3c-tests/notification/support/Makefile.am +++ b/tct-notification-w3c-tests/notification/support/Makefile.am @@ -1,3 +1,3 @@ Notification_sup_SCRIPTS = * -Notification_supdir = /opt/tct-notification-w3c-tests/notification/support +Notification_supdir = $(prefix)/opt/tct-notification-w3c-tests/notification/support EXTRA_DIST = $(Notification_sup_SCRIPTS) diff --git a/tct-notification-w3c-tests/pack.sh b/tct-notification-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-notification-w3c-tests/pack.sh +++ b/tct-notification-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-notification-w3c-tests/resources/Makefile.am b/tct-notification-w3c-tests/resources/Makefile.am index 784bf4c47..bd4fe1b9d 100644 --- a/tct-notification-w3c-tests/resources/Makefile.am +++ b/tct-notification-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-notification-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-notification-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-notification-w3c-tests/testkit/Makefile.am b/tct-notification-w3c-tests/testkit/Makefile.am index de1d77f20..1b75046db 100644 --- a/tct-notification-w3c-tests/testkit/Makefile.am +++ b/tct-notification-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-notification-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-notification-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-package-tizen-tests/Makefile.am b/tct-package-tizen-tests/Makefile.am index 96cfd10e3..90de03603 100644 --- a/tct-package-tizen-tests/Makefile.am +++ b/tct-package-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = package $(commondir) -docdir = /opt/tct-package-tizen-tests +docdir = $(prefix)/opt/tct-package-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-package-tizen-tests/pack.sh b/tct-package-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-package-tizen-tests/pack.sh +++ b/tct-package-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-package-tizen-tests/package/Makefile.am b/tct-package-tizen-tests/package/Makefile.am index bf8957576..4595a46b5 100644 --- a/tct-package-tizen-tests/package/Makefile.am +++ b/tct-package-tizen-tests/package/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-package-tizen-tests/package +workerdir = $(prefix)/opt/tct-package-tizen-tests/package EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-package-tizen-tests/package/support/Makefile.am b/tct-package-tizen-tests/package/support/Makefile.am index 634a8e6cb..ec1e3b582 100644 --- a/tct-package-tizen-tests/package/support/Makefile.am +++ b/tct-package-tizen-tests/package/support/Makefile.am @@ -1,9 +1,9 @@ support_DATA = *.js -supportdir = /opt/tct-package-tizen-tests/package/support +supportdir = $(prefix)/opt/tct-package-tizen-tests/package/support package_manager_test_DATA = TCTPackageManagerTest1.1.1.wgt TCTPackageManagerTest2.2.2.wgt -package_manager_testdir = /opt/tct-package-tizen-tests/mediasrc +package_manager_testdir = $(prefix)/opt/tct-package-tizen-tests/mediasrc package_info_test_DATA = TCTPackageInfoTest.wgt -package_info_testdir = /opt/tct-package-tizen-tests/ +package_info_testdir = $(prefix)/opt/tct-package-tizen-tests/ EXTRA_DIST = $(support_DATA) $(package_manager_test_DATA) $(package_info_test_DATA) TCTPackageManagerTest1.1.1.wgt: diff --git a/tct-package-tizen-tests/resources/Makefile.am b/tct-package-tizen-tests/resources/Makefile.am index 4fbdc04a6..0aa318bbd 100644 --- a/tct-package-tizen-tests/resources/Makefile.am +++ b/tct-package-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-package-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-package-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-package-tizen-tests/testkit/Makefile.am b/tct-package-tizen-tests/testkit/Makefile.am index ce5bbf98a..1bc649362 100644 --- a/tct-package-tizen-tests/testkit/Makefile.am +++ b/tct-package-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-package-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-package-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-pagevisibility-w3c-tests/Makefile.am b/tct-pagevisibility-w3c-tests/Makefile.am index 98fd5049a..4c4c04950 100644 --- a/tct-pagevisibility-w3c-tests/Makefile.am +++ b/tct-pagevisibility-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = pagevisibility $(commondir) -docdir = /opt/tct-pagevisibility-w3c-tests +docdir = $(prefix)/opt/tct-pagevisibility-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-pagevisibility-w3c-tests/pack.sh b/tct-pagevisibility-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-pagevisibility-w3c-tests/pack.sh +++ b/tct-pagevisibility-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-pagevisibility-w3c-tests/pagevisibility/Makefile.am b/tct-pagevisibility-w3c-tests/pagevisibility/Makefile.am index df3f6fa54..c81d73ad6 100644 --- a/tct-pagevisibility-w3c-tests/pagevisibility/Makefile.am +++ b/tct-pagevisibility-w3c-tests/pagevisibility/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c pagevisibility_SCRIPTS = * -pagevisibilitydir = /opt/tct-pagevisibility-w3c-tests/pagevisibility +pagevisibilitydir = $(prefix)/opt/tct-pagevisibility-w3c-tests/pagevisibility EXTRA_DIST = $(pagevisibility_SCRIPTS) diff --git a/tct-pagevisibility-w3c-tests/pagevisibility/w3c/Makefile.am b/tct-pagevisibility-w3c-tests/pagevisibility/w3c/Makefile.am index 8def1c0fd..ec49884c9 100644 --- a/tct-pagevisibility-w3c-tests/pagevisibility/w3c/Makefile.am +++ b/tct-pagevisibility-w3c-tests/pagevisibility/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources w3c_SCRIPTS = * -w3cdir = /opt/tct-pagevisibility-w3c-tests/pagevisibility/w3c +w3cdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/pagevisibility/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources/Makefile.am b/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources/Makefile.am index a4881af59..9e349b34a 100644 --- a/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources/Makefile.am +++ b/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources/Makefile.am @@ -1,3 +1,3 @@ resources_SCRIPTS = * -resourcesdir = /opt/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources +resourcesdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/pagevisibility/w3c/resources EXTRA_DIST = $(resources_SCRIPTS) diff --git a/tct-pagevisibility-w3c-tests/resources/Makefile.am b/tct-pagevisibility-w3c-tests/resources/Makefile.am index 32c237acc..da283477b 100644 --- a/tct-pagevisibility-w3c-tests/resources/Makefile.am +++ b/tct-pagevisibility-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-pagevisibility-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-pagevisibility-w3c-tests/testkit/Makefile.am b/tct-pagevisibility-w3c-tests/testkit/Makefile.am index cdef1ca2d..8d8ced52d 100644 --- a/tct-pagevisibility-w3c-tests/testkit/Makefile.am +++ b/tct-pagevisibility-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-pagevisibility-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-power-tizen-tests/Makefile.am b/tct-power-tizen-tests/Makefile.am index 3825b068b..04817973e 100644 --- a/tct-power-tizen-tests/Makefile.am +++ b/tct-power-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = power $(commondir) -docdir = /opt/tct-power-tizen-tests +docdir = $(prefix)/opt/tct-power-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-power-tizen-tests/pack.sh b/tct-power-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-power-tizen-tests/pack.sh +++ b/tct-power-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-power-tizen-tests/power/Makefile.am b/tct-power-tizen-tests/power/Makefile.am index cbf827599..6af64abfb 100644 --- a/tct-power-tizen-tests/power/Makefile.am +++ b/tct-power-tizen-tests/power/Makefile.am @@ -7,5 +7,5 @@ SUBDIRS = support power_SCRIPTS = * -powerdir = /opt/tct-power-tizen-tests/power +powerdir = $(prefix)/opt/tct-power-tizen-tests/power EXTRA_DIST = $(power_SCRIPTS) diff --git a/tct-power-tizen-tests/power/support/Makefile.am b/tct-power-tizen-tests/power/support/Makefile.am index 93c23fef2..d5e7ebac1 100644 --- a/tct-power-tizen-tests/power/support/Makefile.am +++ b/tct-power-tizen-tests/power/support/Makefile.am @@ -1,3 +1,3 @@ support_DATA = * -supportdir = /opt/tct-power-tizen-tests/power/support +supportdir = $(prefix)/opt/tct-power-tizen-tests/power/support EXTRA_DIST = $(support_DATA) diff --git a/tct-power-tizen-tests/resources/Makefile.am b/tct-power-tizen-tests/resources/Makefile.am index a201eaa2c..efadea39c 100644 --- a/tct-power-tizen-tests/resources/Makefile.am +++ b/tct-power-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-power-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-power-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-power-tizen-tests/testkit/Makefile.am b/tct-power-tizen-tests/testkit/Makefile.am index bd3d3bdaf..6fb19f053 100644 --- a/tct-power-tizen-tests/testkit/Makefile.am +++ b/tct-power-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-power-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-power-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-privilege-tizen-tests/Makefile.am b/tct-privilege-tizen-tests/Makefile.am index c8d217276..a3bd9ba11 100644 --- a/tct-privilege-tizen-tests/Makefile.am +++ b/tct-privilege-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = privilege $(commondir) -docdir = /opt/tct-privilege-tizen-tests +docdir = $(prefix)/opt/tct-privilege-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-privilege-tizen-tests/pack.sh b/tct-privilege-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-privilege-tizen-tests/pack.sh +++ b/tct-privilege-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-privilege-tizen-tests/privilege/Makefile.am b/tct-privilege-tizen-tests/privilege/Makefile.am index 00ca0abc3..ff4564003 100644 --- a/tct-privilege-tizen-tests/privilege/Makefile.am +++ b/tct-privilege-tizen-tests/privilege/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support privilege_DATA = *.html -privilegedir = /opt/tct-privilege-tizen-tests/privilege +privilegedir = $(prefix)/opt/tct-privilege-tizen-tests/privilege EXTRA_DIST = $(privilege_DATA) diff --git a/tct-privilege-tizen-tests/privilege/support/Makefile.am b/tct-privilege-tizen-tests/privilege/support/Makefile.am index b0bc0f489..11cbec46e 100644 --- a/tct-privilege-tizen-tests/privilege/support/Makefile.am +++ b/tct-privilege-tizen-tests/privilege/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-privilege-tizen-tests/privilege/support +supportdir = $(prefix)/opt/tct-privilege-tizen-tests/privilege/support support_DATA = *.js EXTRA_DIST = $(support_DATA) diff --git a/tct-privilege-tizen-tests/resources/Makefile.am b/tct-privilege-tizen-tests/resources/Makefile.am index 3d02bdff6..b0070d5fb 100644 --- a/tct-privilege-tizen-tests/resources/Makefile.am +++ b/tct-privilege-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-privilege-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-privilege-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-privilege-tizen-tests/testkit/Makefile.am b/tct-privilege-tizen-tests/testkit/Makefile.am index c2b1769df..4e65ba311 100644 --- a/tct-privilege-tizen-tests/testkit/Makefile.am +++ b/tct-privilege-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-privilege-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-privilege-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-push-tizen-tests/Makefile.am b/tct-push-tizen-tests/Makefile.am index cde96d8f8..fe371a3d6 100644 --- a/tct-push-tizen-tests/Makefile.am +++ b/tct-push-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = push $(commondir) -docdir = /opt/tct-push-tizen-tests +docdir = $(prefix)/opt/tct-push-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-push-tizen-tests/pack.sh b/tct-push-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-push-tizen-tests/pack.sh +++ b/tct-push-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-push-tizen-tests/push/Makefile.am b/tct-push-tizen-tests/push/Makefile.am index 1041253b4..f10677a30 100644 --- a/tct-push-tizen-tests/push/Makefile.am +++ b/tct-push-tizen-tests/push/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support push_SCRIPTS = * -pushdir = /opt/tct-push-tizen-tests/push +pushdir = $(prefix)/opt/tct-push-tizen-tests/push EXTRA_DIST = $(push_SCRIPTS) diff --git a/tct-push-tizen-tests/push/support/Makefile.am b/tct-push-tizen-tests/push/support/Makefile.am index 81f2556e6..e1f17a513 100644 --- a/tct-push-tizen-tests/push/support/Makefile.am +++ b/tct-push-tizen-tests/push/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-push-tizen-tests/push/support +supportdir = $(prefix)/opt/tct-push-tizen-tests/push/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-push-tizen-tests/resources/Makefile.am b/tct-push-tizen-tests/resources/Makefile.am index 55accf4fc..d7d57beca 100644 --- a/tct-push-tizen-tests/resources/Makefile.am +++ b/tct-push-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-push-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-push-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-push-tizen-tests/testkit/Makefile.am b/tct-push-tizen-tests/testkit/Makefile.am index a1f15db75..b8e4ba759 100644 --- a/tct-push-tizen-tests/testkit/Makefile.am +++ b/tct-push-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-push-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-push-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-sandbox-html5-tests/Makefile.am b/tct-sandbox-html5-tests/Makefile.am index 27add9f8a..6e9049dc7 100644 --- a/tct-sandbox-html5-tests/Makefile.am +++ b/tct-sandbox-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = sandbox $(commondir) -docdir = /opt/tct-sandbox-html5-tests +docdir = $(prefix)/opt/tct-sandbox-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-sandbox-html5-tests/common/Makefile.am b/tct-sandbox-html5-tests/common/Makefile.am index 138d9f86a..c6d39508c 100644 --- a/tct-sandbox-html5-tests/common/Makefile.am +++ b/tct-sandbox-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-sandbox-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-sandbox-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-sandbox-html5-tests/pack.sh b/tct-sandbox-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-sandbox-html5-tests/pack.sh +++ b/tct-sandbox-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-sandbox-html5-tests/resources/Makefile.am b/tct-sandbox-html5-tests/resources/Makefile.am index 6bdedb74e..572d677b3 100644 --- a/tct-sandbox-html5-tests/resources/Makefile.am +++ b/tct-sandbox-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-sandbox-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-sandbox-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-sandbox-html5-tests/sandbox/Makefile.am b/tct-sandbox-html5-tests/sandbox/Makefile.am index 6d9e66542..7ccec7b0c 100644 --- a/tct-sandbox-html5-tests/sandbox/Makefile.am +++ b/tct-sandbox-html5-tests/sandbox/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c pagevisibility_SCRIPTS = * -pagevisibilitydir = /opt/tct-sandbox-html5-tests/sandbox +pagevisibilitydir = $(prefix)/opt/tct-sandbox-html5-tests/sandbox EXTRA_DIST = $(pagevisibility_SCRIPTS) diff --git a/tct-sandbox-html5-tests/sandbox/w3c/Makefile.am b/tct-sandbox-html5-tests/sandbox/w3c/Makefile.am index 41fa8063d..69cc208e1 100644 --- a/tct-sandbox-html5-tests/sandbox/w3c/Makefile.am +++ b/tct-sandbox-html5-tests/sandbox/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support pagevisibility_SCRIPTS = * -pagevisibilitydir = /opt/tct-sandbox-html5-tests/sandbox/w3c +pagevisibilitydir = $(prefix)/opt/tct-sandbox-html5-tests/sandbox/w3c EXTRA_DIST = $(pagevisibility_SCRIPTS) diff --git a/tct-sandbox-html5-tests/sandbox/w3c/support/Makefile.am b/tct-sandbox-html5-tests/sandbox/w3c/support/Makefile.am index ecf888bff..1d7f4b63e 100644 --- a/tct-sandbox-html5-tests/sandbox/w3c/support/Makefile.am +++ b/tct-sandbox-html5-tests/sandbox/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-sandbox-html5-tests/sandbox/w3c/support +supportdir = $(prefix)/opt/tct-sandbox-html5-tests/sandbox/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-sandbox-html5-tests/testkit/Makefile.am b/tct-sandbox-html5-tests/testkit/Makefile.am index 9b007bfda..e3438db67 100644 --- a/tct-sandbox-html5-tests/testkit/Makefile.am +++ b/tct-sandbox-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-sandbox-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-sandbox-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-screenorientation-w3c-tests/Makefile.am b/tct-screenorientation-w3c-tests/Makefile.am index 2651689f6..ee30f83b0 100644 --- a/tct-screenorientation-w3c-tests/Makefile.am +++ b/tct-screenorientation-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = screenorientation $(commondir) -docdir = /opt/tct-screenorientation-w3c-tests +docdir = $(prefix)/opt/tct-screenorientation-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-screenorientation-w3c-tests/pack.sh b/tct-screenorientation-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-screenorientation-w3c-tests/pack.sh +++ b/tct-screenorientation-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-screenorientation-w3c-tests/resources/Makefile.am b/tct-screenorientation-w3c-tests/resources/Makefile.am index abe1a9b1c..bc77b9505 100644 --- a/tct-screenorientation-w3c-tests/resources/Makefile.am +++ b/tct-screenorientation-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-screenorientation-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-screenorientation-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-screenorientation-w3c-tests/screenorientation/Makefile.am b/tct-screenorientation-w3c-tests/screenorientation/Makefile.am index 5a01a8312..46ee28f00 100644 --- a/tct-screenorientation-w3c-tests/screenorientation/Makefile.am +++ b/tct-screenorientation-w3c-tests/screenorientation/Makefile.am @@ -1,3 +1,3 @@ ScreenOrientation_SCRIPTS = * -ScreenOrientationdir = /opt/tct-screenorientation-w3c-tests/screenorientation +ScreenOrientationdir = $(prefix)/opt/tct-screenorientation-w3c-tests/screenorientation EXTRA_DIST = $(ScreenOrientation_SCRIPTS) diff --git a/tct-screenorientation-w3c-tests/testkit/Makefile.am b/tct-screenorientation-w3c-tests/testkit/Makefile.am index 5f02a232a..a481a82c3 100644 --- a/tct-screenorientation-w3c-tests/testkit/Makefile.am +++ b/tct-screenorientation-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-screenorientation-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-screenorientation-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-secureelement-tizen-tests/Makefile.am b/tct-secureelement-tizen-tests/Makefile.am index 987e66203..6a7e7fab1 100644 --- a/tct-secureelement-tizen-tests/Makefile.am +++ b/tct-secureelement-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = secureelement $(commondir) -docdir = /opt/tct-secureelement-tizen-tests +docdir = $(prefix)/opt/tct-secureelement-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-secureelement-tizen-tests/pack.sh b/tct-secureelement-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-secureelement-tizen-tests/pack.sh +++ b/tct-secureelement-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-secureelement-tizen-tests/resources/Makefile.am b/tct-secureelement-tizen-tests/resources/Makefile.am index af6eb61eb..c5f1cf97e 100644 --- a/tct-secureelement-tizen-tests/resources/Makefile.am +++ b/tct-secureelement-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-secureelement-tizen-tests/resources +resourcesdir = $(prefix)/opt/tct-secureelement-tizen-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-secureelement-tizen-tests/secureelement/Makefile.am b/tct-secureelement-tizen-tests/secureelement/Makefile.am index b6ff673c1..11917a67a 100644 --- a/tct-secureelement-tizen-tests/secureelement/Makefile.am +++ b/tct-secureelement-tizen-tests/secureelement/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support secureelement_SCRIPTS = * -secureelementdir = /opt/tct-secureelement-tizen-tests/secureelement +secureelementdir = $(prefix)/opt/tct-secureelement-tizen-tests/secureelement EXTRA_DIST = $(secureelement_SCRIPTS) diff --git a/tct-secureelement-tizen-tests/secureelement/support/Makefile.am b/tct-secureelement-tizen-tests/secureelement/support/Makefile.am index b3dfc511b..ea12e3a52 100644 --- a/tct-secureelement-tizen-tests/secureelement/support/Makefile.am +++ b/tct-secureelement-tizen-tests/secureelement/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-secureelement-tizen-tests/secureelement/support +supportdir = $(prefix)/opt/tct-secureelement-tizen-tests/secureelement/support support_SCRIPTS = *.js EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-secureelement-tizen-tests/testkit/Makefile.am b/tct-secureelement-tizen-tests/testkit/Makefile.am index b84295518..d3afafce4 100644 --- a/tct-secureelement-tizen-tests/testkit/Makefile.am +++ b/tct-secureelement-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-secureelement-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-secureelement-tizen-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-security-tcs-tests/Makefile.am b/tct-security-tcs-tests/Makefile.am index ec56cd288..eea180a4e 100755 --- a/tct-security-tcs-tests/Makefile.am +++ b/tct-security-tcs-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = security $(commondir) -docdir = /opt/tct-security-tcs-tests +docdir = $(prefix)/opt/tct-security-tcs-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-security-tcs-tests/pack.sh b/tct-security-tcs-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-security-tcs-tests/pack.sh +++ b/tct-security-tcs-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-security-tcs-tests/resources/Makefile.am b/tct-security-tcs-tests/resources/Makefile.am index 5a2556b6b..07768fc2d 100644 --- a/tct-security-tcs-tests/resources/Makefile.am +++ b/tct-security-tcs-tests/resources/Makefile.am @@ -1,3 +1,3 @@ resources_DATA = * -resourcesdir = /opt/tct-security-tcs-tests/resources +resourcesdir = $(prefix)/opt/tct-security-tcs-tests/resources EXTRA_DIST = $(resources_DATA) diff --git a/tct-security-tcs-tests/security/Makefile.am b/tct-security-tcs-tests/security/Makefile.am index 3ded59c8a..621123a0c 100644 --- a/tct-security-tcs-tests/security/Makefile.am +++ b/tct-security-tcs-tests/security/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS = support security_SCRIPTS = * -securitydir = /opt/tct-security-tcs-tests/security +securitydir = $(prefix)/opt/tct-security-tcs-tests/security EXTRA_DIST = $(security_SCRIPTS) diff --git a/tct-security-tcs-tests/security/support/Makefile.am b/tct-security-tcs-tests/security/support/Makefile.am index 521f1da7f..b609bdc79 100755 --- a/tct-security-tcs-tests/security/support/Makefile.am +++ b/tct-security-tcs-tests/security/support/Makefile.am @@ -1,7 +1,7 @@ support_SCRIPTS = * -supportdir = /opt/tct-security-tcs-tests/security/support +supportdir = $(prefix)/opt/tct-security-tcs-tests/security/support package_widgets_DATA = sharedDirTestApp.wgt -package_widgetsdir = /opt/tct-security-tcs-tests/ +package_widgetsdir = $(prefix)/opt/tct-security-tcs-tests/ EXTRA_DIST = $(support_SCRIPTS) $(package_widgets_DATA) sharedDirTestApp.wgt: diff --git a/tct-security-tcs-tests/testkit/Makefile.am b/tct-security-tcs-tests/testkit/Makefile.am index 838076181..1e08b470a 100644 --- a/tct-security-tcs-tests/testkit/Makefile.am +++ b/tct-security-tcs-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_DATA = web/* -testkitdir = /opt/tct-security-tcs-tests/testkit/web +testkitdir = $(prefix)/opt/tct-security-tcs-tests/testkit/web EXTRA_DIST = $(testkit_DATA) diff --git a/tct-selectorslevel1-w3c-tests/Makefile.am b/tct-selectorslevel1-w3c-tests/Makefile.am index 074c83aeb..7751313f4 100644 --- a/tct-selectorslevel1-w3c-tests/Makefile.am +++ b/tct-selectorslevel1-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = selectorslevel1 $(commondir) -docdir = /opt/tct-selectorslevel1-w3c-tests +docdir = $(prefix)/opt/tct-selectorslevel1-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-selectorslevel1-w3c-tests/pack.sh b/tct-selectorslevel1-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-selectorslevel1-w3c-tests/pack.sh +++ b/tct-selectorslevel1-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-selectorslevel1-w3c-tests/resources/Makefile.am b/tct-selectorslevel1-w3c-tests/resources/Makefile.am index 6c842fb06..d62a579f6 100644 --- a/tct-selectorslevel1-w3c-tests/resources/Makefile.am +++ b/tct-selectorslevel1-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-selectorslevel1-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-selectorslevel1-w3c-tests/selectorslevel1/Makefile.am b/tct-selectorslevel1-w3c-tests/selectorslevel1/Makefile.am index 0c0304277..7d17ad50e 100644 --- a/tct-selectorslevel1-w3c-tests/selectorslevel1/Makefile.am +++ b/tct-selectorslevel1-w3c-tests/selectorslevel1/Makefile.am @@ -1,3 +1,3 @@ SelectorsLevel1_SCRIPTS = * -SelectorsLevel1dir = /opt/tct-selectorslevel1-w3c-tests/selectorslevel1 +SelectorsLevel1dir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/selectorslevel1 EXTRA_DIST = $(SelectorsLevel1_SCRIPTS) diff --git a/tct-selectorslevel1-w3c-tests/testkit/Makefile.am b/tct-selectorslevel1-w3c-tests/testkit/Makefile.am index a88f9708c..b2738f1e7 100644 --- a/tct-selectorslevel1-w3c-tests/testkit/Makefile.am +++ b/tct-selectorslevel1-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-selectorslevel1-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-selectorslevel2-w3c-tests/Makefile.am b/tct-selectorslevel2-w3c-tests/Makefile.am index 048e7addf..7af5583a5 100644 --- a/tct-selectorslevel2-w3c-tests/Makefile.am +++ b/tct-selectorslevel2-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = selectorslevel2 $(commondir) -docdir = /opt/tct-selectorslevel2-w3c-tests +docdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-selectorslevel2-w3c-tests/pack.sh b/tct-selectorslevel2-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-selectorslevel2-w3c-tests/pack.sh +++ b/tct-selectorslevel2-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-selectorslevel2-w3c-tests/resources/Makefile.am b/tct-selectorslevel2-w3c-tests/resources/Makefile.am index b8583cb2e..d17bf9ebf 100644 --- a/tct-selectorslevel2-w3c-tests/resources/Makefile.am +++ b/tct-selectorslevel2-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-selectorslevel2-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-selectorslevel2-w3c-tests/selectorslevel2/Makefile.am b/tct-selectorslevel2-w3c-tests/selectorslevel2/Makefile.am index dbf8ebd52..3e0605753 100644 --- a/tct-selectorslevel2-w3c-tests/selectorslevel2/Makefile.am +++ b/tct-selectorslevel2-w3c-tests/selectorslevel2/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c SelectorsLevel2_SCRIPTS = * -SelectorsLevel2dir = /opt/tct-selectorslevel2-w3c-tests/selectorslevel2 +SelectorsLevel2dir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/selectorslevel2 EXTRA_DIST = $(SelectorsLevel2_SCRIPTS) diff --git a/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c/Makefile.am b/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c/Makefile.am index 99eb42b75..52ad2bfae 100644 --- a/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c/Makefile.am +++ b/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c +w3cdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-selectorslevel2-w3c-tests/testkit/Makefile.am b/tct-selectorslevel2-w3c-tests/testkit/Makefile.am index 9728834eb..ed5abd516 100644 --- a/tct-selectorslevel2-w3c-tests/testkit/Makefile.am +++ b/tct-selectorslevel2-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-selectorslevel2-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/Makefile.am b/tct-sessionhistory-html5-tests/Makefile.am index bcd6b3485..ab9d75b56 100644 --- a/tct-sessionhistory-html5-tests/Makefile.am +++ b/tct-sessionhistory-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = sessionhistory $(commondir) -docdir = /opt/tct-sessionhistory-html5-tests +docdir = $(prefix)/opt/tct-sessionhistory-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-sessionhistory-html5-tests/common/Makefile.am b/tct-sessionhistory-html5-tests/common/Makefile.am index 46a8a1714..2a6ef63ee 100644 --- a/tct-sessionhistory-html5-tests/common/Makefile.am +++ b/tct-sessionhistory-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-sessionhistory-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-sessionhistory-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/pack.sh b/tct-sessionhistory-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-sessionhistory-html5-tests/pack.sh +++ b/tct-sessionhistory-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-sessionhistory-html5-tests/resources/Makefile.am b/tct-sessionhistory-html5-tests/resources/Makefile.am index 7443b3b4f..15517d0d7 100644 --- a/tct-sessionhistory-html5-tests/resources/Makefile.am +++ b/tct-sessionhistory-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-sessionhistory-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-sessionhistory-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/sessionhistory/Makefile.am b/tct-sessionhistory-html5-tests/sessionhistory/Makefile.am index ac53dba69..b4ce19e6c 100644 --- a/tct-sessionhistory-html5-tests/sessionhistory/Makefile.am +++ b/tct-sessionhistory-html5-tests/sessionhistory/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c sessionhistory_SCRIPTS = * -sessionhistorydir = /opt/tct-sessionhistory-html5-tests/sessionhistory +sessionhistorydir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory EXTRA_DIST = $(sessionhistory_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/sessionhistory/support/Makefile.am b/tct-sessionhistory-html5-tests/sessionhistory/support/Makefile.am index 86ca55131..b66b55ae6 100644 --- a/tct-sessionhistory-html5-tests/sessionhistory/support/Makefile.am +++ b/tct-sessionhistory-html5-tests/sessionhistory/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-sessionhistory-html5-tests/sessionhistory/support +supportdir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/sessionhistory/w3c/Makefile.am b/tct-sessionhistory-html5-tests/sessionhistory/w3c/Makefile.am index cd5155844..dbc6fe48c 100644 --- a/tct-sessionhistory-html5-tests/sessionhistory/w3c/Makefile.am +++ b/tct-sessionhistory-html5-tests/sessionhistory/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cgi sessionhistoryw3c_SCRIPTS = * -sessionhistoryw3cdir = /opt/tct-sessionhistory-html5-tests/sessionhistory/w3c +sessionhistoryw3cdir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory/w3c EXTRA_DIST = $(sessionhistoryw3c_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi/Makefile.am b/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi/Makefile.am index c695941e3..69b95ab3d 100644 --- a/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi/Makefile.am +++ b/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi/Makefile.am @@ -1,3 +1,3 @@ sessionhistoryw3ccgi_SCRIPTS = * -sessionhistoryw3ccgidir = /opt/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi +sessionhistoryw3ccgidir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory/w3c/cgi EXTRA_DIST = $(sessionhistoryw3ccgi_SCRIPTS) diff --git a/tct-sessionhistory-html5-tests/testkit/Makefile.am b/tct-sessionhistory-html5-tests/testkit/Makefile.am index 4e03bd584..da4954a0f 100644 --- a/tct-sessionhistory-html5-tests/testkit/Makefile.am +++ b/tct-sessionhistory-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-sessionhistory-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-sessionhistory-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-sse-w3c-tests/Makefile.am b/tct-sse-w3c-tests/Makefile.am index ade441999..3a59ba3b6 100644 --- a/tct-sse-w3c-tests/Makefile.am +++ b/tct-sse-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = sse $(commondir) -docdir = /opt/tct-sse-w3c-tests +docdir = $(prefix)/opt/tct-sse-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-sse-w3c-tests/pack.sh b/tct-sse-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-sse-w3c-tests/pack.sh +++ b/tct-sse-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-sse-w3c-tests/resources/Makefile.am b/tct-sse-w3c-tests/resources/Makefile.am index 607fcc52e..0884fb6e4 100644 --- a/tct-sse-w3c-tests/resources/Makefile.am +++ b/tct-sse-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-sse-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-sse-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/Makefile.am b/tct-sse-w3c-tests/sse/Makefile.am index 94e28186f..ee9e22b69 100644 --- a/tct-sse-w3c-tests/sse/Makefile.am +++ b/tct-sse-w3c-tests/sse/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c serversentevent_SCRIPTS = * -serversenteventdir = /opt/tct-sse-w3c-tests/sse +serversenteventdir = $(prefix)/opt/tct-sse-w3c-tests/sse EXTRA_DIST = $(serversentevent_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/support/Makefile.am b/tct-sse-w3c-tests/sse/support/Makefile.am index 8822eb261..238da469d 100644 --- a/tct-sse-w3c-tests/sse/support/Makefile.am +++ b/tct-sse-w3c-tests/sse/support/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cgi serversenteventsupport_SCRIPTS = * -serversenteventsupportdir = /opt/tct-sse-w3c-tests/sse/support +serversenteventsupportdir = $(prefix)/opt/tct-sse-w3c-tests/sse/support EXTRA_DIST = $(serversenteventsupport_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/support/cgi/Makefile.am b/tct-sse-w3c-tests/sse/support/cgi/Makefile.am index 660a6dadc..0dcd74837 100644 --- a/tct-sse-w3c-tests/sse/support/cgi/Makefile.am +++ b/tct-sse-w3c-tests/sse/support/cgi/Makefile.am @@ -1,3 +1,3 @@ serversenteventsupportcgi_SCRIPTS = * -serversenteventsupportcgidir = /opt/tct-sse-w3c-tests/sse/support/cgi +serversenteventsupportcgidir = $(prefix)/opt/tct-sse-w3c-tests/sse/support/cgi EXTRA_DIST = $(serversenteventsupportcgi_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/w3c/Makefile.am b/tct-sse-w3c-tests/sse/w3c/Makefile.am index 9baefdce5..2ade1dbea 100644 --- a/tct-sse-w3c-tests/sse/w3c/Makefile.am +++ b/tct-sse-w3c-tests/sse/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources dedicated-worker shared-worker ssew3c_SCRIPTS = * -ssew3cdir = /opt/tct-sse-w3c-tests/sse/w3c +ssew3cdir = $(prefix)/opt/tct-sse-w3c-tests/sse/w3c EXTRA_DIST = $(ssew3c_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/w3c/dedicated-worker/Makefile.am b/tct-sse-w3c-tests/sse/w3c/dedicated-worker/Makefile.am index ecaaa45f0..f8ad5c6fc 100644 --- a/tct-sse-w3c-tests/sse/w3c/dedicated-worker/Makefile.am +++ b/tct-sse-w3c-tests/sse/w3c/dedicated-worker/Makefile.am @@ -1,3 +1,3 @@ ssew3cdedicatedworker_SCRIPTS = * -ssew3cdedicatedworkerdir = /opt/tct-sse-w3c-tests/sse/w3c/dedicated-worker +ssew3cdedicatedworkerdir = $(prefix)/opt/tct-sse-w3c-tests/sse/w3c/dedicated-worker EXTRA_DIST = $(ssew3cdedicatedworker_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/w3c/resources/Makefile.am b/tct-sse-w3c-tests/sse/w3c/resources/Makefile.am index 487b4341f..05327ccdb 100644 --- a/tct-sse-w3c-tests/sse/w3c/resources/Makefile.am +++ b/tct-sse-w3c-tests/sse/w3c/resources/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cgi ssew3cresources_SCRIPTS = * -ssew3cresourcesdir = /opt/tct-sse-w3c-tests/sse/w3c/resources +ssew3cresourcesdir = $(prefix)/opt/tct-sse-w3c-tests/sse/w3c/resources EXTRA_DIST = $(ssew3cresources_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/w3c/resources/cgi/Makefile.am b/tct-sse-w3c-tests/sse/w3c/resources/cgi/Makefile.am index 19782c1d3..d75aad96c 100644 --- a/tct-sse-w3c-tests/sse/w3c/resources/cgi/Makefile.am +++ b/tct-sse-w3c-tests/sse/w3c/resources/cgi/Makefile.am @@ -1,3 +1,3 @@ ssew3cresourcescgi_SCRIPTS = * -ssew3cresourcescgidir = /opt/tct-sse-w3c-tests/sse/w3c/resources/cgi +ssew3cresourcescgidir = $(prefix)/opt/tct-sse-w3c-tests/sse/w3c/resources/cgi EXTRA_DIST = $(ssew3cresourcescgi_SCRIPTS) diff --git a/tct-sse-w3c-tests/sse/w3c/shared-worker/Makefile.am b/tct-sse-w3c-tests/sse/w3c/shared-worker/Makefile.am index 38820efdc..cb27050eb 100644 --- a/tct-sse-w3c-tests/sse/w3c/shared-worker/Makefile.am +++ b/tct-sse-w3c-tests/sse/w3c/shared-worker/Makefile.am @@ -1,3 +1,3 @@ ssew3csharedworker_SCRIPTS = * -ssew3csharedworkerdir = /opt/tct-sse-w3c-tests/sse/w3c/shared-worker +ssew3csharedworkerdir = $(prefix)/opt/tct-sse-w3c-tests/sse/w3c/shared-worker EXTRA_DIST = $(ssew3csharedworker_SCRIPTS) diff --git a/tct-sse-w3c-tests/testkit/Makefile.am b/tct-sse-w3c-tests/testkit/Makefile.am index 47ede0033..5332fe2f4 100644 --- a/tct-sse-w3c-tests/testkit/Makefile.am +++ b/tct-sse-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-sse-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-sse-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-svg-html5-tests/Makefile.am b/tct-svg-html5-tests/Makefile.am index db79b1890..4c5a0c467 100644 --- a/tct-svg-html5-tests/Makefile.am +++ b/tct-svg-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = svg $(commondir) -docdir = /opt/tct-svg-html5-tests +docdir = $(prefix)/opt/tct-svg-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-svg-html5-tests/common/Makefile.am b/tct-svg-html5-tests/common/Makefile.am index b9289fd97..c28ba6286 100644 --- a/tct-svg-html5-tests/common/Makefile.am +++ b/tct-svg-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-svg-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-svg-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-svg-html5-tests/pack.sh b/tct-svg-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-svg-html5-tests/pack.sh +++ b/tct-svg-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-svg-html5-tests/resources/Makefile.am b/tct-svg-html5-tests/resources/Makefile.am index 6cf337868..833d11a60 100644 --- a/tct-svg-html5-tests/resources/Makefile.am +++ b/tct-svg-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-svg-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-svg-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-svg-html5-tests/svg/Makefile.am b/tct-svg-html5-tests/svg/Makefile.am index 00ab1d433..3b3519c39 100644 --- a/tct-svg-html5-tests/svg/Makefile.am +++ b/tct-svg-html5-tests/svg/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c svg_SCRIPTS = * -svgdir = /opt/tct-svg-html5-tests/svg +svgdir = $(prefix)/opt/tct-svg-html5-tests/svg EXTRA_DIST = $(svg_SCRIPTS) diff --git a/tct-svg-html5-tests/svg/w3c/Makefile.am b/tct-svg-html5-tests/svg/w3c/Makefile.am index fdd535774..93f4890fd 100644 --- a/tct-svg-html5-tests/svg/w3c/Makefile.am +++ b/tct-svg-html5-tests/svg/w3c/Makefile.am @@ -1,3 +1,3 @@ svgw3c_SCRIPTS = * -svgw3cdir = /opt/tct-svg-html5-tests/svg/w3c +svgw3cdir = $(prefix)/opt/tct-svg-html5-tests/svg/w3c EXTRA_DIST = $(svgw3c_SCRIPTS) diff --git a/tct-svg-html5-tests/testkit/Makefile.am b/tct-svg-html5-tests/testkit/Makefile.am index c5115089f..cc4dfb88b 100644 --- a/tct-svg-html5-tests/testkit/Makefile.am +++ b/tct-svg-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-svg-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-svg-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-systeminfo-tizen-tests/Makefile.am b/tct-systeminfo-tizen-tests/Makefile.am index 440063d67..9cb2fdf9c 100644 --- a/tct-systeminfo-tizen-tests/Makefile.am +++ b/tct-systeminfo-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = systeminfo $(commondir) -docdir = /opt/tct-systeminfo-tizen-tests +docdir = $(prefix)/opt/tct-systeminfo-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-systeminfo-tizen-tests/pack.sh b/tct-systeminfo-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-systeminfo-tizen-tests/pack.sh +++ b/tct-systeminfo-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-systeminfo-tizen-tests/resources/Makefile.am b/tct-systeminfo-tizen-tests/resources/Makefile.am index a50e876fd..34e007291 100644 --- a/tct-systeminfo-tizen-tests/resources/Makefile.am +++ b/tct-systeminfo-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-systeminfo-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-systeminfo-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-systeminfo-tizen-tests/systeminfo/Makefile.am b/tct-systeminfo-tizen-tests/systeminfo/Makefile.am index c153be6d0..14c110930 100644 --- a/tct-systeminfo-tizen-tests/systeminfo/Makefile.am +++ b/tct-systeminfo-tizen-tests/systeminfo/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support worker_SCRIPTS = * -workerdir = /opt/tct-systeminfo-tizen-tests/systeminfo +workerdir = $(prefix)/opt/tct-systeminfo-tizen-tests/systeminfo EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-systeminfo-tizen-tests/systeminfo/support/Makefile.am b/tct-systeminfo-tizen-tests/systeminfo/support/Makefile.am index 359f7f9c5..bf4d8c7cf 100644 --- a/tct-systeminfo-tizen-tests/systeminfo/support/Makefile.am +++ b/tct-systeminfo-tizen-tests/systeminfo/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-systeminfo-tizen-tests/systeminfo/support +supportdir = $(prefix)/opt/tct-systeminfo-tizen-tests/systeminfo/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-systeminfo-tizen-tests/testkit/Makefile.am b/tct-systeminfo-tizen-tests/testkit/Makefile.am index 0dd5f72e8..d2ac3af25 100644 --- a/tct-systeminfo-tizen-tests/testkit/Makefile.am +++ b/tct-systeminfo-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-systeminfo-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-systeminfo-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-systemsetting-tizen-tests/Makefile.am b/tct-systemsetting-tizen-tests/Makefile.am index 3aba79a5c..7ebb5da48 100644 --- a/tct-systemsetting-tizen-tests/Makefile.am +++ b/tct-systemsetting-tizen-tests/Makefile.am @@ -1,6 +1,6 @@ commondir = resources testkit SUBDIRS = systemsetting $(commondir) -docdir = /opt/tct-systemsetting-tizen-tests +docdir = $(prefix)/opt/tct-systemsetting-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml -mediadir = /opt/tct-systemsetting-tizen-tests/mediasrc +mediadir = $(prefix)/opt/tct-systemsetting-tizen-tests/mediasrc dist_media_DATA = *.mp3 *.jpg diff --git a/tct-systemsetting-tizen-tests/pack.sh b/tct-systemsetting-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-systemsetting-tizen-tests/pack.sh +++ b/tct-systemsetting-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-systemsetting-tizen-tests/resources/Makefile.am b/tct-systemsetting-tizen-tests/resources/Makefile.am index ea35f0a57..c53a7b77e 100644 --- a/tct-systemsetting-tizen-tests/resources/Makefile.am +++ b/tct-systemsetting-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-systemsetting-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-systemsetting-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-systemsetting-tizen-tests/systemsetting/Makefile.am b/tct-systemsetting-tizen-tests/systemsetting/Makefile.am index a537ebaa3..0fc4b278d 100644 --- a/tct-systemsetting-tizen-tests/systemsetting/Makefile.am +++ b/tct-systemsetting-tizen-tests/systemsetting/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support systemsetting_SCRIPTS = * -systemsettingdir = /opt/tct-systemsetting-tizen-tests/systemsetting +systemsettingdir = $(prefix)/opt/tct-systemsetting-tizen-tests/systemsetting EXTRA_DIST = $(systemsetting_SCRIPTS) diff --git a/tct-systemsetting-tizen-tests/systemsetting/support/Makefile.am b/tct-systemsetting-tizen-tests/systemsetting/support/Makefile.am index 33a84cc6d..43619d0e1 100644 --- a/tct-systemsetting-tizen-tests/systemsetting/support/Makefile.am +++ b/tct-systemsetting-tizen-tests/systemsetting/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-systemsetting-tizen-tests/systemsetting/support +supportdir = $(prefix)/opt/tct-systemsetting-tizen-tests/systemsetting/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-systemsetting-tizen-tests/testkit/Makefile.am b/tct-systemsetting-tizen-tests/testkit/Makefile.am index 6f1d788d9..df8b21861 100644 --- a/tct-systemsetting-tizen-tests/testkit/Makefile.am +++ b/tct-systemsetting-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-systemsetting-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-systemsetting-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-testconfig/Makefile.am b/tct-testconfig/Makefile.am index b9fdaab17..195a98cfa 100644 --- a/tct-testconfig/Makefile.am +++ b/tct-testconfig/Makefile.am @@ -30,5 +30,5 @@ commondir = testkit SUBDIRS = $(commondir) -docdir = /opt/tct-testconfig +docdir = $(prefix)/opt/tct-testconfig dist_doc_DATA = Changelog README tct-testconfig.ini tests.xml preconfigure.json diff --git a/tct-testconfig/pack.sh b/tct-testconfig/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-testconfig/pack.sh +++ b/tct-testconfig/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-testconfig/testkit/Makefile.am b/tct-testconfig/testkit/Makefile.am index d55c7a393..c6b44cfa8 100644 --- a/tct-testconfig/testkit/Makefile.am +++ b/tct-testconfig/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-testconfig/testkit/web +testkitdir = $(prefix)/opt/tct-testconfig/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-text-css3-tests/Makefile.am b/tct-text-css3-tests/Makefile.am index 3e81f16be..b4cde9b70 100644 --- a/tct-text-css3-tests/Makefile.am +++ b/tct-text-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = text $(commondir) -docdir = /opt/tct-text-css3-tests +docdir = $(prefix)/opt/tct-text-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-text-css3-tests/pack.sh b/tct-text-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-text-css3-tests/pack.sh +++ b/tct-text-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-text-css3-tests/resources/Makefile.am b/tct-text-css3-tests/resources/Makefile.am index 0b58c3bfc..c5dfbed11 100644 --- a/tct-text-css3-tests/resources/Makefile.am +++ b/tct-text-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-text-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-text-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-text-css3-tests/testkit/Makefile.am b/tct-text-css3-tests/testkit/Makefile.am index b4086b9c2..cd53734a7 100644 --- a/tct-text-css3-tests/testkit/Makefile.am +++ b/tct-text-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-text-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-text-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-text-css3-tests/text/Makefile.am b/tct-text-css3-tests/text/Makefile.am index 6c787a25c..3b0c6605d 100644 --- a/tct-text-css3-tests/text/Makefile.am +++ b/tct-text-css3-tests/text/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webkit support tests_SCRIPTS = * -testsdir = /opt/tct-text-css3-tests/text +testsdir = $(prefix)/opt/tct-text-css3-tests/text EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-text-css3-tests/text/support/Makefile.am b/tct-text-css3-tests/text/support/Makefile.am index 689d64760..c1a559bc6 100644 --- a/tct-text-css3-tests/text/support/Makefile.am +++ b/tct-text-css3-tests/text/support/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-text-css3-tests/text/support +testsdir = $(prefix)/opt/tct-text-css3-tests/text/support EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-text-css3-tests/text/webkit/Makefile.am b/tct-text-css3-tests/text/webkit/Makefile.am index b557f730f..fa715f588 100644 --- a/tct-text-css3-tests/text/webkit/Makefile.am +++ b/tct-text-css3-tests/text/webkit/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = *.html -testsdir = /opt/tct-text-css3-tests/text/webkit +testsdir = $(prefix)/opt/tct-text-css3-tests/text/webkit EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-time-tizen-tests/Makefile.am b/tct-time-tizen-tests/Makefile.am index 26158639d..c3fe99c5e 100644 --- a/tct-time-tizen-tests/Makefile.am +++ b/tct-time-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = time $(commondir) -docdir = /opt/tct-time-tizen-tests +docdir = $(prefix)/opt/tct-time-tizen-tests dist_doc_DATA = COPYING README tests.xml diff --git a/tct-time-tizen-tests/pack.sh b/tct-time-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-time-tizen-tests/pack.sh +++ b/tct-time-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-time-tizen-tests/resources/Makefile.am b/tct-time-tizen-tests/resources/Makefile.am index 60f9636b1..8db56f4fe 100644 --- a/tct-time-tizen-tests/resources/Makefile.am +++ b/tct-time-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-time-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-time-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-time-tizen-tests/testkit/Makefile.am b/tct-time-tizen-tests/testkit/Makefile.am index 2b1f44447..ffc5e1c1b 100644 --- a/tct-time-tizen-tests/testkit/Makefile.am +++ b/tct-time-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-time-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-time-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-time-tizen-tests/time/Makefile.am b/tct-time-tizen-tests/time/Makefile.am index 8718789ab..e69e68014 100644 --- a/tct-time-tizen-tests/time/Makefile.am +++ b/tct-time-tizen-tests/time/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support time_SCRIPTS = *.html -timedir = /opt/tct-time-tizen-tests/time +timedir = $(prefix)/opt/tct-time-tizen-tests/time EXTRA_DIST = $(time_SCRIPTS) diff --git a/tct-time-tizen-tests/time/support/Makefile.am b/tct-time-tizen-tests/time/support/Makefile.am index a19107fb6..0f6613221 100644 --- a/tct-time-tizen-tests/time/support/Makefile.am +++ b/tct-time-tizen-tests/time/support/Makefile.am @@ -1,3 +1,3 @@ -supportdir = /opt/tct-time-tizen-tests/time/support +supportdir = $(prefix)/opt/tct-time-tizen-tests/time/support support_SCRIPTS = * EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-tizen-tizen-tests/Makefile.am b/tct-tizen-tizen-tests/Makefile.am index d8005e1ae..f3cc17a6d 100644 --- a/tct-tizen-tizen-tests/Makefile.am +++ b/tct-tizen-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = tizen $(commondir) -docdir = /opt/tct-tizen-tizen-tests +docdir = $(prefix)/opt/tct-tizen-tizen-tests dist_doc_DATA = Changelog README tests.xml diff --git a/tct-tizen-tizen-tests/pack.sh b/tct-tizen-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-tizen-tizen-tests/pack.sh +++ b/tct-tizen-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-tizen-tizen-tests/resources/Makefile.am b/tct-tizen-tizen-tests/resources/Makefile.am index f6cc0a6a2..920e5e59e 100644 --- a/tct-tizen-tizen-tests/resources/Makefile.am +++ b/tct-tizen-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-tizen-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-tizen-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-tizen-tizen-tests/testkit/Makefile.am b/tct-tizen-tizen-tests/testkit/Makefile.am index 9135f3191..585ab11b6 100644 --- a/tct-tizen-tizen-tests/testkit/Makefile.am +++ b/tct-tizen-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-tizen-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-tizen-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-tizen-tizen-tests/tizen/Makefile.am b/tct-tizen-tizen-tests/tizen/Makefile.am index daa5b4e1a..30baaea74 100644 --- a/tct-tizen-tizen-tests/tizen/Makefile.am +++ b/tct-tizen-tizen-tests/tizen/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support tizen_SCRIPTS = * -tizendir = /opt/tct-tizen-tizen-tests/tizen +tizendir = $(prefix)/opt/tct-tizen-tizen-tests/tizen EXTRA_DIST = $(tizen_SCRIPTS) diff --git a/tct-tizen-tizen-tests/tizen/support/Makefile.am b/tct-tizen-tizen-tests/tizen/support/Makefile.am index c24d6f6ef..4014aa719 100644 --- a/tct-tizen-tizen-tests/tizen/support/Makefile.am +++ b/tct-tizen-tizen-tests/tizen/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-tizen-tizen-tests/tizen/support +supportdir = $(prefix)/opt/tct-tizen-tizen-tests/tizen/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-touchevent-w3c-tests/Makefile.am b/tct-touchevent-w3c-tests/Makefile.am index 12217e880..21ef05cbc 100644 --- a/tct-touchevent-w3c-tests/Makefile.am +++ b/tct-touchevent-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = touchevent $(commondir) -docdir = /opt/tct-touchevent-w3c-tests +docdir = $(prefix)/opt/tct-touchevent-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-touchevent-w3c-tests/pack.sh b/tct-touchevent-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-touchevent-w3c-tests/pack.sh +++ b/tct-touchevent-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-touchevent-w3c-tests/resources/Makefile.am b/tct-touchevent-w3c-tests/resources/Makefile.am index 15d6790c9..3a97bec34 100644 --- a/tct-touchevent-w3c-tests/resources/Makefile.am +++ b/tct-touchevent-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-touchevent-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-touchevent-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-touchevent-w3c-tests/testkit/Makefile.am b/tct-touchevent-w3c-tests/testkit/Makefile.am index b3b3dcfc9..04a7fa1e9 100644 --- a/tct-touchevent-w3c-tests/testkit/Makefile.am +++ b/tct-touchevent-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-touchevent-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-touchevent-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-touchevent-w3c-tests/touchevent/Makefile.am b/tct-touchevent-w3c-tests/touchevent/Makefile.am index 3e14e423f..32343fa3c 100644 --- a/tct-touchevent-w3c-tests/touchevent/Makefile.am +++ b/tct-touchevent-w3c-tests/touchevent/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c TouchEvent_SCRIPTS = * -TouchEventdir = /opt/tct-touchevent-w3c-tests/touchevent +TouchEventdir = $(prefix)/opt/tct-touchevent-w3c-tests/touchevent EXTRA_DIST = $(TouchEvent_SCRIPTS) diff --git a/tct-touchevent-w3c-tests/touchevent/support/Makefile.am b/tct-touchevent-w3c-tests/touchevent/support/Makefile.am index 212f7cb48..27852cd0f 100644 --- a/tct-touchevent-w3c-tests/touchevent/support/Makefile.am +++ b/tct-touchevent-w3c-tests/touchevent/support/Makefile.am @@ -1,4 +1,4 @@ support_SCRIPTS = * -supportdir = /opt/tct-touchevent-w3c-tests/touchevent/support +supportdir = $(prefix)/opt/tct-touchevent-w3c-tests/touchevent/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-touchevent-w3c-tests/touchevent/w3c/Makefile.am b/tct-touchevent-w3c-tests/touchevent/w3c/Makefile.am index 91196db84..aa9750109 100644 --- a/tct-touchevent-w3c-tests/touchevent/w3c/Makefile.am +++ b/tct-touchevent-w3c-tests/touchevent/w3c/Makefile.am @@ -1,3 +1,3 @@ TouchEvent_w3c_SCRIPTS = * -TouchEvent_w3cdir = /opt/tct-touchevent-w3c-tests/touchevent/w3c +TouchEvent_w3cdir = $(prefix)/opt/tct-touchevent-w3c-tests/touchevent/w3c EXTRA_DIST = $(TouchEvent_w3c_SCRIPTS) diff --git a/tct-transitions-css3-tests/Makefile.am b/tct-transitions-css3-tests/Makefile.am index 34a3d9bd6..ed68206cf 100644 --- a/tct-transitions-css3-tests/Makefile.am +++ b/tct-transitions-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = transitions $(commondir) -docdir = /opt/tct-transitions-css3-tests +docdir = $(prefix)/opt/tct-transitions-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-transitions-css3-tests/pack.sh b/tct-transitions-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-transitions-css3-tests/pack.sh +++ b/tct-transitions-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-transitions-css3-tests/resources/Makefile.am b/tct-transitions-css3-tests/resources/Makefile.am index 694057598..3236bc781 100644 --- a/tct-transitions-css3-tests/resources/Makefile.am +++ b/tct-transitions-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-transitions-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-transitions-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-transitions-css3-tests/testkit/Makefile.am b/tct-transitions-css3-tests/testkit/Makefile.am index 55f09691d..30aea08cf 100644 --- a/tct-transitions-css3-tests/testkit/Makefile.am +++ b/tct-transitions-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-transitions-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-transitions-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-transitions-css3-tests/transitions/Makefile.am b/tct-transitions-css3-tests/transitions/Makefile.am index af0c1521c..64c357542 100644 --- a/tct-transitions-css3-tests/transitions/Makefile.am +++ b/tct-transitions-css3-tests/transitions/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webkit support tests_SCRIPTS = * -testsdir = /opt/tct-transitions-css3-tests/transitions +testsdir = $(prefix)/opt/tct-transitions-css3-tests/transitions EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-transitions-css3-tests/transitions/support/Makefile.am b/tct-transitions-css3-tests/transitions/support/Makefile.am index 67428cc63..f9e58b21a 100644 --- a/tct-transitions-css3-tests/transitions/support/Makefile.am +++ b/tct-transitions-css3-tests/transitions/support/Makefile.am @@ -1,3 +1,3 @@ tests_SCRIPTS = * -testsdir = /opt/tct-transitions-css3-tests/transitions/support +testsdir = $(prefix)/opt/tct-transitions-css3-tests/transitions/support EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-transitions-css3-tests/transitions/webkit/Makefile.am b/tct-transitions-css3-tests/transitions/webkit/Makefile.am index a1d5e137d..264cc2fc7 100644 --- a/tct-transitions-css3-tests/transitions/webkit/Makefile.am +++ b/tct-transitions-css3-tests/transitions/webkit/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources tests_SCRIPTS = *.html -testsdir = /opt/tct-transitions-css3-tests/transitions/webkit +testsdir = $(prefix)/opt/tct-transitions-css3-tests/transitions/webkit EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-transitions-css3-tests/transitions/webkit/resources/Makefile.am b/tct-transitions-css3-tests/transitions/webkit/resources/Makefile.am index aa2ca961e..2a60c1321 100644 --- a/tct-transitions-css3-tests/transitions/webkit/resources/Makefile.am +++ b/tct-transitions-css3-tests/transitions/webkit/resources/Makefile.am @@ -1,3 +1,3 @@ resources_SCRIPTS = *.js *.gif -resourcesdir = /opt/tct-transitions-css3-tests/transitions/webkit/resources +resourcesdir = $(prefix)/opt/tct-transitions-css3-tests/transitions/webkit/resources EXTRA_DIST = $(resources_SCRIPTS) diff --git a/tct-typedarrays-nonw3c-tests/Makefile.am b/tct-typedarrays-nonw3c-tests/Makefile.am index 8cfb8dc6c..39c80a027 100644 --- a/tct-typedarrays-nonw3c-tests/Makefile.am +++ b/tct-typedarrays-nonw3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = typedarrays $(commondir) -docdir = /opt/tct-typedarrays-nonw3c-tests +docdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-typedarrays-nonw3c-tests/pack.sh b/tct-typedarrays-nonw3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-typedarrays-nonw3c-tests/pack.sh +++ b/tct-typedarrays-nonw3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-typedarrays-nonw3c-tests/resources/Makefile.am b/tct-typedarrays-nonw3c-tests/resources/Makefile.am index 7a3d7711c..27858a65c 100644 --- a/tct-typedarrays-nonw3c-tests/resources/Makefile.am +++ b/tct-typedarrays-nonw3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-typedarrays-nonw3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-typedarrays-nonw3c-tests/testkit/Makefile.am b/tct-typedarrays-nonw3c-tests/testkit/Makefile.am index 45dea47e8..1f085889e 100644 --- a/tct-typedarrays-nonw3c-tests/testkit/Makefile.am +++ b/tct-typedarrays-nonw3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-typedarrays-nonw3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-typedarrays-nonw3c-tests/typedarrays/Makefile.am b/tct-typedarrays-nonw3c-tests/typedarrays/Makefile.am index 6dd190617..023bcee32 100644 --- a/tct-typedarrays-nonw3c-tests/typedarrays/Makefile.am +++ b/tct-typedarrays-nonw3c-tests/typedarrays/Makefile.am @@ -1,3 +1,3 @@ TypedArrays_SCRIPTS = * -TypedArraysdir = /opt/tct-typedarrays-nonw3c-tests/typedarrays +TypedArraysdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/typedarrays EXTRA_DIST = $(TypedArrays_SCRIPTS) diff --git a/tct-ui-css3-tests/Makefile.am b/tct-ui-css3-tests/Makefile.am index 94e8d5ecf..fdc631be1 100644 --- a/tct-ui-css3-tests/Makefile.am +++ b/tct-ui-css3-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = ui $(commondir) -docdir = /opt/tct-ui-css3-tests +docdir = $(prefix)/opt/tct-ui-css3-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-ui-css3-tests/pack.sh b/tct-ui-css3-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-ui-css3-tests/pack.sh +++ b/tct-ui-css3-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-ui-css3-tests/resources/Makefile.am b/tct-ui-css3-tests/resources/Makefile.am index 2589d11de..d139d1e76 100644 --- a/tct-ui-css3-tests/resources/Makefile.am +++ b/tct-ui-css3-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-ui-css3-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-ui-css3-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-ui-css3-tests/testkit/Makefile.am b/tct-ui-css3-tests/testkit/Makefile.am index 5d1e93d6a..f5d5baffa 100644 --- a/tct-ui-css3-tests/testkit/Makefile.am +++ b/tct-ui-css3-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-ui-css3-tests/testkit/web +testkitdir = $(prefix)/opt/tct-ui-css3-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-ui-css3-tests/ui/Makefile.am b/tct-ui-css3-tests/ui/Makefile.am index f655e1d00..cc9254aac 100644 --- a/tct-ui-css3-tests/ui/Makefile.am +++ b/tct-ui-css3-tests/ui/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support tests_SCRIPTS = * -testsdir = /opt/tct-ui-css3-tests/ui +testsdir = $(prefix)/opt/tct-ui-css3-tests/ui EXTRA_DIST = $(tests_SCRIPTS) diff --git a/tct-ui-css3-tests/ui/support/Makefile.am b/tct-ui-css3-tests/ui/support/Makefile.am index 14dfa25d0..5474484d2 100644 --- a/tct-ui-css3-tests/ui/support/Makefile.am +++ b/tct-ui-css3-tests/ui/support/Makefile.am @@ -1,3 +1,3 @@ userinterfacesupport_SCRIPTS = * -userinterfacesupportdir = /opt/tct-ui-css3-tests/ui/support +userinterfacesupportdir = $(prefix)/opt/tct-ui-css3-tests/ui/support EXTRA_DIST = $(userinterfacesupport_SCRIPTS) diff --git a/tct-vibration-w3c-tests/Makefile.am b/tct-vibration-w3c-tests/Makefile.am index ddb0bef3b..05c2e7584 100644 --- a/tct-vibration-w3c-tests/Makefile.am +++ b/tct-vibration-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = vibration $(commondir) -docdir = /opt/tct-vibration-w3c-tests +docdir = $(prefix)/opt/tct-vibration-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-vibration-w3c-tests/pack.sh b/tct-vibration-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-vibration-w3c-tests/pack.sh +++ b/tct-vibration-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-vibration-w3c-tests/resources/Makefile.am b/tct-vibration-w3c-tests/resources/Makefile.am index 2231acb76..93eedb713 100644 --- a/tct-vibration-w3c-tests/resources/Makefile.am +++ b/tct-vibration-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-vibration-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-vibration-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-vibration-w3c-tests/testkit/Makefile.am b/tct-vibration-w3c-tests/testkit/Makefile.am index 81203ff9d..d4c88af76 100644 --- a/tct-vibration-w3c-tests/testkit/Makefile.am +++ b/tct-vibration-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-vibration-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-vibration-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-vibration-w3c-tests/vibration/Makefile.am b/tct-vibration-w3c-tests/vibration/Makefile.am index 20d5550b4..5c459c4ba 100644 --- a/tct-vibration-w3c-tests/vibration/Makefile.am +++ b/tct-vibration-w3c-tests/vibration/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c Vibration_SCRIPTS = * -Vibrationdir = /opt/tct-vibration-w3c-tests/vibration +Vibrationdir = $(prefix)/opt/tct-vibration-w3c-tests/vibration EXTRA_DIST = $(Vibration_SCRIPTS) diff --git a/tct-vibration-w3c-tests/vibration/w3c/Makefile.am b/tct-vibration-w3c-tests/vibration/w3c/Makefile.am index b8ee78dd4..2af7f01cd 100644 --- a/tct-vibration-w3c-tests/vibration/w3c/Makefile.am +++ b/tct-vibration-w3c-tests/vibration/w3c/Makefile.am @@ -1,3 +1,3 @@ Vibration_w3c_SCRIPTS = * -Vibration_w3cdir = /opt/tct-vibration-w3c-tests/vibration/w3c +Vibration_w3cdir = $(prefix)/opt/tct-vibration-w3c-tests/vibration/w3c EXTRA_DIST = $(Vibration_w3c_SCRIPTS) diff --git a/tct-video-html5-tests/Makefile.am b/tct-video-html5-tests/Makefile.am index 7a09a8b75..1f47ab2b4 100644 --- a/tct-video-html5-tests/Makefile.am +++ b/tct-video-html5-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = common resources testkit SUBDIRS = video $(commondir) -docdir = /opt/tct-video-html5-tests +docdir = $(prefix)/opt/tct-video-html5-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-video-html5-tests/common/Makefile.am b/tct-video-html5-tests/common/Makefile.am index 22bddf4c7..71aecb694 100644 --- a/tct-video-html5-tests/common/Makefile.am +++ b/tct-video-html5-tests/common/Makefile.am @@ -1,3 +1,3 @@ w3ccommon_SCRIPTS = * -w3ccommondir = /opt/tct-video-html5-tests/common +w3ccommondir = $(prefix)/opt/tct-video-html5-tests/common EXTRA_DIST = $(w3ccommon_SCRIPTS) diff --git a/tct-video-html5-tests/pack.sh b/tct-video-html5-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-video-html5-tests/pack.sh +++ b/tct-video-html5-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-video-html5-tests/resources/Makefile.am b/tct-video-html5-tests/resources/Makefile.am index e68a749bc..dc3e3bc3d 100644 --- a/tct-video-html5-tests/resources/Makefile.am +++ b/tct-video-html5-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-video-html5-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-video-html5-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-video-html5-tests/testkit/Makefile.am b/tct-video-html5-tests/testkit/Makefile.am index 72bafec43..fe007ed37 100644 --- a/tct-video-html5-tests/testkit/Makefile.am +++ b/tct-video-html5-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-video-html5-tests/testkit/web +testkitdir = $(prefix)/opt/tct-video-html5-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-video-html5-tests/video/Makefile.am b/tct-video-html5-tests/video/Makefile.am index 8a32c7163..cf59b3ff0 100644 --- a/tct-video-html5-tests/video/Makefile.am +++ b/tct-video-html5-tests/video/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support media video_SCRIPTS = * -videodir = /opt/tct-video-html5-tests/video +videodir = $(prefix)/opt/tct-video-html5-tests/video EXTRA_DIST = $(video_SCRIPTS) diff --git a/tct-video-html5-tests/video/media/Makefile.am b/tct-video-html5-tests/video/media/Makefile.am index 896fbac4b..dcdd2a550 100644 --- a/tct-video-html5-tests/video/media/Makefile.am +++ b/tct-video-html5-tests/video/media/Makefile.am @@ -1,3 +1,3 @@ videomedia_SCRIPTS = * -videomediadir = /opt/tct-video-html5-tests/video/media +videomediadir = $(prefix)/opt/tct-video-html5-tests/video/media EXTRA_DIST = $(videomedia_SCRIPTS) diff --git a/tct-video-html5-tests/video/support/Makefile.am b/tct-video-html5-tests/video/support/Makefile.am index fce91d397..860442c97 100644 --- a/tct-video-html5-tests/video/support/Makefile.am +++ b/tct-video-html5-tests/video/support/Makefile.am @@ -1,3 +1,3 @@ videosupport_SCRIPTS = * -videosupportdir = /opt/tct-video-html5-tests/video/support +videosupportdir = $(prefix)/opt/tct-video-html5-tests/video/support EXTRA_DIST = $(videosupport_SCRIPTS) diff --git a/tct-video-html5-tests/video/w3c/Makefile.am b/tct-video-html5-tests/video/w3c/Makefile.am index 9a799feff..e32ec96da 100644 --- a/tct-video-html5-tests/video/w3c/Makefile.am +++ b/tct-video-html5-tests/video/w3c/Makefile.am @@ -1,3 +1,3 @@ videow3c_SCRIPTS = * -videow3cdir = /opt/tct-video-html5-tests/video/w3c +videow3cdir = $(prefix)/opt/tct-video-html5-tests/video/w3c EXTRA_DIST = $(videow3c_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/Makefile.am b/tct-webaudio-w3c-tests/Makefile.am index d702e5a40..7ae9a5273 100644 --- a/tct-webaudio-w3c-tests/Makefile.am +++ b/tct-webaudio-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = webaudio $(commondir) -docdir = /opt/tct-webaudio-w3c-tests +docdir = $(prefix)/opt/tct-webaudio-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-webaudio-w3c-tests/pack.sh b/tct-webaudio-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-webaudio-w3c-tests/pack.sh +++ b/tct-webaudio-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-webaudio-w3c-tests/resources/Makefile.am b/tct-webaudio-w3c-tests/resources/Makefile.am index 25c70b3b7..2012e72f7 100644 --- a/tct-webaudio-w3c-tests/resources/Makefile.am +++ b/tct-webaudio-w3c-tests/resources/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webidl2 w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-webaudio-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-webaudio-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/resources/webidl2/Makefile.am b/tct-webaudio-w3c-tests/resources/webidl2/Makefile.am index bec832723..18d3b1efc 100644 --- a/tct-webaudio-w3c-tests/resources/webidl2/Makefile.am +++ b/tct-webaudio-w3c-tests/resources/webidl2/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = lib webidl2_SCRIPTS = * -webidl2dir = /opt/tct-webaudio-w3c-tests/resources/webidl2 +webidl2dir = $(prefix)/opt/tct-webaudio-w3c-tests/resources/webidl2 EXTRA_DIST = $(webidl2_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/resources/webidl2/lib/Makefile.am b/tct-webaudio-w3c-tests/resources/webidl2/lib/Makefile.am index 83c861c09..975b6ed49 100644 --- a/tct-webaudio-w3c-tests/resources/webidl2/lib/Makefile.am +++ b/tct-webaudio-w3c-tests/resources/webidl2/lib/Makefile.am @@ -1,3 +1,3 @@ webidl2lib_SCRIPTS = * -webidl2libdir = /opt/tct-webaudio-w3c-tests/resources/webidl2/lib +webidl2libdir = $(prefix)/opt/tct-webaudio-w3c-tests/resources/webidl2/lib EXTRA_DIST = $(webidl2lib_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/testkit/Makefile.am b/tct-webaudio-w3c-tests/testkit/Makefile.am index 3e0b99656..a90d3bec9 100644 --- a/tct-webaudio-w3c-tests/testkit/Makefile.am +++ b/tct-webaudio-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-webaudio-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-webaudio-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/webaudio/Makefile.am b/tct-webaudio-w3c-tests/webaudio/Makefile.am index c7eb25f63..3fb010536 100644 --- a/tct-webaudio-w3c-tests/webaudio/Makefile.am +++ b/tct-webaudio-w3c-tests/webaudio/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c WebAudio_SCRIPTS = * -WebAudiodir = /opt/tct-webaudio-w3c-tests/webaudio +WebAudiodir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio EXTRA_DIST = $(WebAudio_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/webaudio/support/Makefile.am b/tct-webaudio-w3c-tests/webaudio/support/Makefile.am index e51849778..cc73bc563 100644 --- a/tct-webaudio-w3c-tests/webaudio/support/Makefile.am +++ b/tct-webaudio-w3c-tests/webaudio/support/Makefile.am @@ -1,3 +1,3 @@ webaudiosupport_SCRIPTS = * -webaudiosupportdir = /opt/tct-webaudio-w3c-tests/webaudio/support +webaudiosupportdir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio/support EXTRA_DIST = $(webaudiosupport_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/webaudio/w3c/js/Makefile.am b/tct-webaudio-w3c-tests/webaudio/w3c/js/Makefile.am index eaad68212..fe1d80a79 100644 --- a/tct-webaudio-w3c-tests/webaudio/w3c/js/Makefile.am +++ b/tct-webaudio-w3c-tests/webaudio/w3c/js/Makefile.am @@ -1,3 +1,3 @@ jssupport_SCRIPTS = * -jssupportdir = /opt/tct-webaudio-w3c-tests/webaudio/w3c/js +jssupportdir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio/w3c/js EXTRA_DIST = $(jssupport_SCRIPTS) diff --git a/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface/Makefile.am b/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface/Makefile.am index f96f128ca..5f969839e 100644 --- a/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface/Makefile.am +++ b/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface/Makefile.am @@ -1,3 +1,3 @@ gainnodesupport_SCRIPTS = * -gainnodesupportdir = /opt/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface +gainnodesupportdir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio/w3c/the-audio-api/the-gainnode-interface EXTRA_DIST = $(gainnodesupport_SCRIPTS) diff --git a/tct-webdatabase-w3c-tests/Makefile.am b/tct-webdatabase-w3c-tests/Makefile.am index 6f6eef390..43e344d2c 100644 --- a/tct-webdatabase-w3c-tests/Makefile.am +++ b/tct-webdatabase-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = webdatabase $(commondir) -docdir = /opt/tct-webdatabase-w3c-tests +docdir = $(prefix)/opt/tct-webdatabase-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-webdatabase-w3c-tests/pack.sh b/tct-webdatabase-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-webdatabase-w3c-tests/pack.sh +++ b/tct-webdatabase-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-webdatabase-w3c-tests/resources/Makefile.am b/tct-webdatabase-w3c-tests/resources/Makefile.am index 4b9b3fb6f..e07c30eb0 100644 --- a/tct-webdatabase-w3c-tests/resources/Makefile.am +++ b/tct-webdatabase-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-webdatabase-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-webdatabase-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-webdatabase-w3c-tests/testkit/Makefile.am b/tct-webdatabase-w3c-tests/testkit/Makefile.am index 8351d6482..c6b40d342 100644 --- a/tct-webdatabase-w3c-tests/testkit/Makefile.am +++ b/tct-webdatabase-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-webdatabase-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-webdatabase-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-webdatabase-w3c-tests/webdatabase/Makefile.am b/tct-webdatabase-w3c-tests/webdatabase/Makefile.am index 4f21158ac..27cfb2972 100644 --- a/tct-webdatabase-w3c-tests/webdatabase/Makefile.am +++ b/tct-webdatabase-w3c-tests/webdatabase/Makefile.am @@ -30,5 +30,5 @@ WebSQLDatabase_SCRIPTS = * -WebSQLDatabasedir = /opt/tct-webdatabase-w3c-tests/webdatabase +WebSQLDatabasedir = $(prefix)/opt/tct-webdatabase-w3c-tests/webdatabase EXTRA_DIST = $(WebSQLDatabase_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/Makefile.am b/tct-webgl-nonw3c-tests/Makefile.am index ef798d7fb..a103b4cb8 100644 --- a/tct-webgl-nonw3c-tests/Makefile.am +++ b/tct-webgl-nonw3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = webgl $(commondir) -docdir = /opt/tct-webgl-nonw3c-tests +docdir = $(prefix)/opt/tct-webgl-nonw3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-webgl-nonw3c-tests/pack.sh b/tct-webgl-nonw3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-webgl-nonw3c-tests/pack.sh +++ b/tct-webgl-nonw3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-webgl-nonw3c-tests/resources/Makefile.am b/tct-webgl-nonw3c-tests/resources/Makefile.am index 0bcb096f5..1216b0d1f 100644 --- a/tct-webgl-nonw3c-tests/resources/Makefile.am +++ b/tct-webgl-nonw3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-webgl-nonw3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-webgl-nonw3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/testkit/Makefile.am b/tct-webgl-nonw3c-tests/testkit/Makefile.am index c16022117..f589728d3 100644 --- a/tct-webgl-nonw3c-tests/testkit/Makefile.am +++ b/tct-webgl-nonw3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-webgl-nonw3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-webgl-nonw3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/webgl/Makefile.am b/tct-webgl-nonw3c-tests/webgl/Makefile.am index eb5127a81..1c6775f55 100644 --- a/tct-webgl-nonw3c-tests/webgl/Makefile.am +++ b/tct-webgl-nonw3c-tests/webgl/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = khronos support WebGL_SCRIPTS = * -WebGLdir = /opt/tct-webgl-nonw3c-tests/webgl +WebGLdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl EXTRA_DIST = $(WebGL_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/webgl/khronos/Makefile.am b/tct-webgl-nonw3c-tests/webgl/khronos/Makefile.am index 8e8679f3c..1d1a23266 100644 --- a/tct-webgl-nonw3c-tests/webgl/khronos/Makefile.am +++ b/tct-webgl-nonw3c-tests/webgl/khronos/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources khronos_SCRIPTS = * -khronosdir = /opt/tct-webgl-nonw3c-tests/webgl/khronos +khronosdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl/khronos EXTRA_DIST = $(khronos_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/webgl/khronos/resources/Makefile.am b/tct-webgl-nonw3c-tests/webgl/khronos/resources/Makefile.am index cf9615e58..b7b362143 100644 --- a/tct-webgl-nonw3c-tests/webgl/khronos/resources/Makefile.am +++ b/tct-webgl-nonw3c-tests/webgl/khronos/resources/Makefile.am @@ -1,3 +1,3 @@ khronosresources_SCRIPTS = * -khronosresourcesdir = /opt/tct-webgl-nonw3c-tests/webgl/khronos/resources +khronosresourcesdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl/khronos/resources EXTRA_DIST = $(khronosresources_SCRIPTS) diff --git a/tct-webgl-nonw3c-tests/webgl/support/Makefile.am b/tct-webgl-nonw3c-tests/webgl/support/Makefile.am index 14a1a2dde..f4f33aa04 100644 --- a/tct-webgl-nonw3c-tests/webgl/support/Makefile.am +++ b/tct-webgl-nonw3c-tests/webgl/support/Makefile.am @@ -1,3 +1,3 @@ webglsupport_SCRIPTS = * -webglsupportdir = /opt/tct-webgl-nonw3c-tests/webgl/support +webglsupportdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl/support EXTRA_DIST = $(webglsupport_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/Makefile.am b/tct-webmessaging-w3c-tests/Makefile.am index af8ff270a..ca2b0def4 100644 --- a/tct-webmessaging-w3c-tests/Makefile.am +++ b/tct-webmessaging-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = webmessaging $(commondir) -docdir = /opt/tct-webmessaging-w3c-tests +docdir = $(prefix)/opt/tct-webmessaging-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-webmessaging-w3c-tests/pack.sh b/tct-webmessaging-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-webmessaging-w3c-tests/pack.sh +++ b/tct-webmessaging-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-webmessaging-w3c-tests/resources/Makefile.am b/tct-webmessaging-w3c-tests/resources/Makefile.am index 99b12d97e..539d95fcc 100644 --- a/tct-webmessaging-w3c-tests/resources/Makefile.am +++ b/tct-webmessaging-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-webmessaging-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-webmessaging-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/testkit/Makefile.am b/tct-webmessaging-w3c-tests/testkit/Makefile.am index a26786498..713385e02 100644 --- a/tct-webmessaging-w3c-tests/testkit/Makefile.am +++ b/tct-webmessaging-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-webmessaging-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-webmessaging-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/Makefile.am index bbfcbc7cb..7387398dd 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c webmessaging_SCRIPTS = * -webmessagingdir = /opt/tct-webmessaging-w3c-tests/webmessaging +webmessagingdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging EXTRA_DIST = $(webmessaging_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/support/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/support/Makefile.am index a3411de6b..9f5f29dbf 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/support/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/support/Makefile.am @@ -1,3 +1,3 @@ webmessagingsupport_SCRIPTS = * -webmessagingsupportdir = /opt/tct-webmessaging-w3c-tests/webmessaging/support +webmessagingsupportdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/support EXTRA_DIST = $(webmessagingsupport_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/w3c/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/w3c/Makefile.am index 10af7b7a8..d9fe1412f 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/w3c/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = message-channels support without-ports with-ports w3c_SCRIPTS = * -w3cdir = /opt/tct-webmessaging-w3c-tests/webmessaging/w3c +w3cdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels/Makefile.am index 4b51147f9..686405506 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels/Makefile.am @@ -1,3 +1,3 @@ messagechannels_SCRIPTS = * -messagechannelsdir = /opt/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels +messagechannelsdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/w3c/message-channels EXTRA_DIST = $(messagechannels_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/w3c/support/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/w3c/support/Makefile.am index d03c476dd..d47da5496 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/w3c/support/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-webmessaging-w3c-tests/webmessaging/w3c/support +supportdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports/Makefile.am index 88bed0bef..977981071 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports/Makefile.am @@ -1,3 +1,3 @@ withports_SCRIPTS = * -withportsdir = /opt/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports +withportsdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/w3c/with-ports EXTRA_DIST = $(withports_SCRIPTS) diff --git a/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports/Makefile.am b/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports/Makefile.am index b3ee992cb..e815ef2a0 100644 --- a/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports/Makefile.am +++ b/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports/Makefile.am @@ -1,3 +1,3 @@ withoutports_SCRIPTS = * -withoutportsdir = /opt/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports +withoutportsdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/w3c/without-ports EXTRA_DIST = $(withoutports_SCRIPTS) diff --git a/tct-websetting-tizen-tests/Makefile.am b/tct-websetting-tizen-tests/Makefile.am index 84450281a..b01f26e4d 100644 --- a/tct-websetting-tizen-tests/Makefile.am +++ b/tct-websetting-tizen-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = websetting $(commondir) -docdir = /opt/tct-websetting-tizen-tests +docdir = $(prefix)/opt/tct-websetting-tizen-tests dist_doc_DATA = Changelog README COPYING tests.xml diff --git a/tct-websetting-tizen-tests/pack.sh b/tct-websetting-tizen-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-websetting-tizen-tests/pack.sh +++ b/tct-websetting-tizen-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-websetting-tizen-tests/resources/Makefile.am b/tct-websetting-tizen-tests/resources/Makefile.am index 4480b1b73..f53c0dd6e 100644 --- a/tct-websetting-tizen-tests/resources/Makefile.am +++ b/tct-websetting-tizen-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-websetting-tizen-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-websetting-tizen-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-websetting-tizen-tests/testkit/Makefile.am b/tct-websetting-tizen-tests/testkit/Makefile.am index ee5f85771..482052a6e 100644 --- a/tct-websetting-tizen-tests/testkit/Makefile.am +++ b/tct-websetting-tizen-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-websetting-tizen-tests/testkit/web +testkitdir = $(prefix)/opt/tct-websetting-tizen-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-websetting-tizen-tests/websetting/Makefile.am b/tct-websetting-tizen-tests/websetting/Makefile.am index d1b942f69..f507b0057 100644 --- a/tct-websetting-tizen-tests/websetting/Makefile.am +++ b/tct-websetting-tizen-tests/websetting/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support websetting_SCRIPTS = * -websettingdir = /opt/tct-websetting-tizen-tests/websetting +websettingdir = $(prefix)/opt/tct-websetting-tizen-tests/websetting EXTRA_DIST = $(websetting_SCRIPTS) diff --git a/tct-websetting-tizen-tests/websetting/support/Makefile.am b/tct-websetting-tizen-tests/websetting/support/Makefile.am index d504b97e4..4648d31e8 100644 --- a/tct-websetting-tizen-tests/websetting/support/Makefile.am +++ b/tct-websetting-tizen-tests/websetting/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-websetting-tizen-tests/websetting/support +supportdir = $(prefix)/opt/tct-websetting-tizen-tests/websetting/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-websocket-w3c-tests/Makefile.am b/tct-websocket-w3c-tests/Makefile.am index bfee29420..a806275aa 100644 --- a/tct-websocket-w3c-tests/Makefile.am +++ b/tct-websocket-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = websocket $(commondir) -docdir = /opt/tct-websocket-w3c-tests +docdir = $(prefix)/opt/tct-websocket-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-websocket-w3c-tests/pack.sh b/tct-websocket-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-websocket-w3c-tests/pack.sh +++ b/tct-websocket-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-websocket-w3c-tests/resources/Makefile.am b/tct-websocket-w3c-tests/resources/Makefile.am index 3ba25f78f..5d3627c6a 100644 --- a/tct-websocket-w3c-tests/resources/Makefile.am +++ b/tct-websocket-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-websocket-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-websocket-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-websocket-w3c-tests/testkit/Makefile.am b/tct-websocket-w3c-tests/testkit/Makefile.am index 4678d605e..c8be63fbd 100644 --- a/tct-websocket-w3c-tests/testkit/Makefile.am +++ b/tct-websocket-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-websocket-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-websocket-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/Makefile.am b/tct-websocket-w3c-tests/websocket/Makefile.am index 4057a1344..39617c2ee 100644 --- a/tct-websocket-w3c-tests/websocket/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support websocket_SCRIPTS = * -websocketdir = /opt/tct-websocket-w3c-tests/websocket +websocketdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket EXTRA_DIST = $(websocket_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/support/Makefile.am b/tct-websocket-w3c-tests/websocket/support/Makefile.am index 3255d7e2e..6d71001f6 100644 --- a/tct-websocket-w3c-tests/websocket/support/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/support/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = jetty websocketsupport_SCRIPTS = * -websocketsupportdir = /opt/tct-websocket-w3c-tests/websocket/support +websocketsupportdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/support EXTRA_DIST = $(websocketsupport_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/support/jetty/Makefile.am b/tct-websocket-w3c-tests/websocket/support/jetty/Makefile.am index 6ee324248..41695880c 100644 --- a/tct-websocket-w3c-tests/websocket/support/jetty/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/support/jetty/Makefile.am @@ -1,3 +1,3 @@ jetty_SCRIPTS = * -jettydir = /opt/tct-websocket-w3c-tests/websocket/support/jetty +jettydir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/support/jetty EXTRA_DIST = $(jetty_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/Makefile.am index dcaff000e..fc66758ee 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cookies interfaces unload-a-document websocketw3c_SCRIPTS = * -websocketw3cdir = /opt/tct-websocket-w3c-tests/websocket/w3c +websocketw3cdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c EXTRA_DIST = $(websocketw3c_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/cookies/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/cookies/Makefile.am index 23d8fb49b..c2eba07ed 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/cookies/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/cookies/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support cookies_SCRIPTS = * -cookiesdir = /opt/tct-websocket-w3c-tests/websocket/w3c/cookies +cookiesdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/cookies EXTRA_DIST = $(cookies_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/cookies/support/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/cookies/support/Makefile.am index 1cde0fc5f..6c126a452 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/cookies/support/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/cookies/support/Makefile.am @@ -1,3 +1,3 @@ cookiesSupport_SCRIPTS = * -cookiesSupportdir = /opt/tct-websocket-w3c-tests/websocket/w3c/cookies/support +cookiesSupportdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/cookies/support EXTRA_DIST = $(cookiesSupport_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent/Makefile.am index 94855042f..520637c3f 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent/Makefile.am @@ -1,3 +1,3 @@ closeevent_SCRIPTS = * -closeeventdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent +closeeventdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/CloseEvent EXTRA_DIST = $(closeevent_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/Makefile.am index 83f07bb37..049e994ab 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = CloseEvent WebSocket interfaces_SCRIPTS = * -interfacesdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces +interfacesdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces EXTRA_DIST = $(interfaces_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/Makefile.am index 92961418e..757ee058e 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = bufferedAmount close constants events extensions protocol readyState send url websocket_SCRIPTS = * -websocketdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket +websocketdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket EXTRA_DIST = $(websocket_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount/Makefile.am index ec0b5c9f5..8fa36871e 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount/Makefile.am @@ -1,3 +1,3 @@ bufferedamount_SCRIPTS = * -bufferedamountdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount +bufferedamountdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/bufferedAmount EXTRA_DIST = $(bufferedamount_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close/Makefile.am index bec06c2dd..dbb628159 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close/Makefile.am @@ -1,3 +1,3 @@ close_SCRIPTS = * -closedir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close +closedir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/close EXTRA_DIST = $(close_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants/Makefile.am index 5da45f24e..2cbc8dc6a 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants/Makefile.am @@ -1,3 +1,3 @@ constants_SCRIPTS = * -constantsdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants +constantsdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/constants EXTRA_DIST = $(constants_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events/Makefile.am index d5dcfaf1f..12497b63d 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events/Makefile.am @@ -1,3 +1,3 @@ events_SCRIPTS = * -eventsdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events +eventsdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/events EXTRA_DIST = $(events_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions/Makefile.am index c70c282f4..dd4ec81e1 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions/Makefile.am @@ -1,3 +1,3 @@ extensions_SCRIPTS = * -extensionsdir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions +extensionsdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/extensions EXTRA_DIST = $(extensions_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol/Makefile.am index 4dd3536b0..97ab6e8c2 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol/Makefile.am @@ -1,3 +1,3 @@ protocol_SCRIPTS = * -protocoldir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol +protocoldir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/protocol EXTRA_DIST = $(protocol_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState/Makefile.am index 4eb587ce1..c4915fd1d 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState/Makefile.am @@ -1,3 +1,3 @@ readyState_SCRIPTS = * -readyStatedir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState +readyStatedir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/readyState EXTRA_DIST = $(readyState_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send/Makefile.am index e41ed2ba1..7c47c998b 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send/Makefile.am @@ -1,3 +1,3 @@ send_SCRIPTS = * -senddir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send +senddir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/send EXTRA_DIST = $(send_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url/Makefile.am index 0e3e3c5e4..a93242fbd 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url/Makefile.am @@ -1,3 +1,3 @@ url_SCRIPTS = * -urldir = /opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url +urldir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/interfaces/WebSocket/url EXTRA_DIST = $(url_SCRIPTS) diff --git a/tct-websocket-w3c-tests/websocket/w3c/unload-a-document/Makefile.am b/tct-websocket-w3c-tests/websocket/w3c/unload-a-document/Makefile.am index ce2b246d4..570954c94 100644 --- a/tct-websocket-w3c-tests/websocket/w3c/unload-a-document/Makefile.am +++ b/tct-websocket-w3c-tests/websocket/w3c/unload-a-document/Makefile.am @@ -1,3 +1,3 @@ unloaddocument_SCRIPTS = * -unloaddocumentdir = /opt/tct-websocket-w3c-tests/websocket/w3c/unload-a-document +unloaddocumentdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket/w3c/unload-a-document EXTRA_DIST = $(unloaddocument_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/Makefile.am b/tct-webstorage-w3c-tests/Makefile.am index d9da9b582..fb5b80bc9 100644 --- a/tct-webstorage-w3c-tests/Makefile.am +++ b/tct-webstorage-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = webstorage $(commondir) -docdir = /opt/tct-webstorage-w3c-tests +docdir = $(prefix)/opt/tct-webstorage-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-webstorage-w3c-tests/pack.sh b/tct-webstorage-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-webstorage-w3c-tests/pack.sh +++ b/tct-webstorage-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-webstorage-w3c-tests/resources/Makefile.am b/tct-webstorage-w3c-tests/resources/Makefile.am index e57b3d9ec..0d9f2b0e3 100644 --- a/tct-webstorage-w3c-tests/resources/Makefile.am +++ b/tct-webstorage-w3c-tests/resources/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = webidl2 w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-webstorage-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-webstorage-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/resources/webidl2/Makefile.am b/tct-webstorage-w3c-tests/resources/webidl2/Makefile.am index db00514bc..cfe12aef1 100644 --- a/tct-webstorage-w3c-tests/resources/webidl2/Makefile.am +++ b/tct-webstorage-w3c-tests/resources/webidl2/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = lib webidl2_SCRIPTS = * -webidl2dir = /opt/tct-webstorage-w3c-tests/resources/webidl2 +webidl2dir = $(prefix)/opt/tct-webstorage-w3c-tests/resources/webidl2 EXTRA_DIST = $(webidl2_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/resources/webidl2/lib/Makefile.am b/tct-webstorage-w3c-tests/resources/webidl2/lib/Makefile.am index f9a2a0c41..b2bf12967 100644 --- a/tct-webstorage-w3c-tests/resources/webidl2/lib/Makefile.am +++ b/tct-webstorage-w3c-tests/resources/webidl2/lib/Makefile.am @@ -1,3 +1,3 @@ idllib_SCRIPTS = * -idllibdir = /opt/tct-webstorage-w3c-tests/resources/webidl2/lib +idllibdir = $(prefix)/opt/tct-webstorage-w3c-tests/resources/webidl2/lib EXTRA_DIST = $(idllib_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/testkit/Makefile.am b/tct-webstorage-w3c-tests/testkit/Makefile.am index f98a49202..6ef91c859 100644 --- a/tct-webstorage-w3c-tests/testkit/Makefile.am +++ b/tct-webstorage-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-webstorage-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-webstorage-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/webstorage/Makefile.am b/tct-webstorage-w3c-tests/webstorage/Makefile.am index 84f21e2f1..79c8839c4 100644 --- a/tct-webstorage-w3c-tests/webstorage/Makefile.am +++ b/tct-webstorage-w3c-tests/webstorage/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c webstorage_SCRIPTS = * -webstoragedir = /opt/tct-webstorage-w3c-tests/webstorage +webstoragedir = $(prefix)/opt/tct-webstorage-w3c-tests/webstorage EXTRA_DIST = $(webstorage_SCRIPTS) diff --git a/tct-webstorage-w3c-tests/webstorage/w3c/Makefile.am b/tct-webstorage-w3c-tests/webstorage/w3c/Makefile.am index 76375a06b..27313c6eb 100644 --- a/tct-webstorage-w3c-tests/webstorage/w3c/Makefile.am +++ b/tct-webstorage-w3c-tests/webstorage/w3c/Makefile.am @@ -1,3 +1,3 @@ w3cfile_SCRIPTS = * -w3cfiledir = /opt/tct-webstorage-w3c-tests/webstorage/w3c +w3cfiledir = $(prefix)/opt/tct-webstorage-w3c-tests/webstorage/w3c EXTRA_DIST = $(w3cfile_SCRIPTS) diff --git a/tct-wgtapi01-w3c-tests/Makefile.am b/tct-wgtapi01-w3c-tests/Makefile.am index aec39064e..c016692d1 100644 --- a/tct-wgtapi01-w3c-tests/Makefile.am +++ b/tct-wgtapi01-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = widgetinterface $(commondir) -docdir = /opt/tct-wgtapi01-w3c-tests +docdir = $(prefix)/opt/tct-wgtapi01-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-wgtapi01-w3c-tests/pack.sh b/tct-wgtapi01-w3c-tests/pack.sh index 82e3fe988..d2c66b5bb 100755 --- a/tct-wgtapi01-w3c-tests/pack.sh +++ b/tct-wgtapi01-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-wgtapi01-w3c-tests/resources/Makefile.am b/tct-wgtapi01-w3c-tests/resources/Makefile.am index 46fee3e0e..877e438fe 100644 --- a/tct-wgtapi01-w3c-tests/resources/Makefile.am +++ b/tct-wgtapi01-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-wgtapi01-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-wgtapi01-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-wgtapi01-w3c-tests/testkit/Makefile.am b/tct-wgtapi01-w3c-tests/testkit/Makefile.am index f036def11..7ca37d68a 100644 --- a/tct-wgtapi01-w3c-tests/testkit/Makefile.am +++ b/tct-wgtapi01-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-wgtapi01-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-wgtapi01-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-wgtapi01-w3c-tests/widgetinterface/w3c/Makefile.am b/tct-wgtapi01-w3c-tests/widgetinterface/w3c/Makefile.am index 2ae7476fc..11b5396a8 100644 --- a/tct-wgtapi01-w3c-tests/widgetinterface/w3c/Makefile.am +++ b/tct-wgtapi01-w3c-tests/widgetinterface/w3c/Makefile.am @@ -1,3 +1,3 @@ widgetinterface_SCRIPTS = * -widgetinterfacedir = /opt/tct-wgtapi01-w3c-tests +widgetinterfacedir = $(prefix)/opt/tct-wgtapi01-w3c-tests EXTRA_DIST = $(widgetinterface_SCRIPTS) diff --git a/tct-wgtapi02-w3c-tests/Makefile.am b/tct-wgtapi02-w3c-tests/Makefile.am index bb2ec6a39..7beb31424 100644 --- a/tct-wgtapi02-w3c-tests/Makefile.am +++ b/tct-wgtapi02-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = widgetinterface $(commondir) -docdir = /opt/tct-wgtapi02-w3c-tests +docdir = $(prefix)/opt/tct-wgtapi02-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-wgtapi02-w3c-tests/pack.sh b/tct-wgtapi02-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-wgtapi02-w3c-tests/pack.sh +++ b/tct-wgtapi02-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-wgtapi02-w3c-tests/resources/Makefile.am b/tct-wgtapi02-w3c-tests/resources/Makefile.am index 6f21d6724..49bd2cd05 100644 --- a/tct-wgtapi02-w3c-tests/resources/Makefile.am +++ b/tct-wgtapi02-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-wgtapi02-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-wgtapi02-w3c-tests/testkit/Makefile.am b/tct-wgtapi02-w3c-tests/testkit/Makefile.am index 695b9fdd4..cc19d4596 100644 --- a/tct-wgtapi02-w3c-tests/testkit/Makefile.am +++ b/tct-wgtapi02-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-wgtapi02-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-wgtapi02-w3c-tests/widgetinterface/Makefile.am b/tct-wgtapi02-w3c-tests/widgetinterface/Makefile.am index d10212d97..6c77a9eb5 100644 --- a/tct-wgtapi02-w3c-tests/widgetinterface/Makefile.am +++ b/tct-wgtapi02-w3c-tests/widgetinterface/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c worker_SCRIPTS = * -workerdir = /opt/tct-wgtapi02-w3c-tests/widgetinterface +workerdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/widgetinterface EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-wgtapi02-w3c-tests/widgetinterface/w3c/Makefile.am b/tct-wgtapi02-w3c-tests/widgetinterface/w3c/Makefile.am index 51ff172bd..70153a6cf 100644 --- a/tct-wgtapi02-w3c-tests/widgetinterface/w3c/Makefile.am +++ b/tct-wgtapi02-w3c-tests/widgetinterface/w3c/Makefile.am @@ -1,3 +1,3 @@ widgetinterface_SCRIPTS = * -widgetinterfacedir = /opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c +widgetinterfacedir = $(prefix)/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c EXTRA_DIST = $(widgetinterface_SCRIPTS) diff --git a/tct-widget01-w3c-tests/Makefile.am b/tct-widget01-w3c-tests/Makefile.am index f76149cc7..ab3216ad2 100644 --- a/tct-widget01-w3c-tests/Makefile.am +++ b/tct-widget01-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = widgetpackaging $(commondir) -docdir = /opt/tct-widget01-w3c-tests +docdir = $(prefix)/opt/tct-widget01-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-widget01-w3c-tests/pack.sh b/tct-widget01-w3c-tests/pack.sh index 82e3fe988..d2c66b5bb 100755 --- a/tct-widget01-w3c-tests/pack.sh +++ b/tct-widget01-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-widget01-w3c-tests/resources/Makefile.am b/tct-widget01-w3c-tests/resources/Makefile.am index 340f0bb26..c7c65704d 100644 --- a/tct-widget01-w3c-tests/resources/Makefile.am +++ b/tct-widget01-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-widget01-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-widget01-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-widget01-w3c-tests/testkit/Makefile.am b/tct-widget01-w3c-tests/testkit/Makefile.am index 8ba546ba5..cd498f9e2 100644 --- a/tct-widget01-w3c-tests/testkit/Makefile.am +++ b/tct-widget01-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-widget01-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-widget01-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-widget01-w3c-tests/widgetpackaging/Makefile.am b/tct-widget01-w3c-tests/widgetpackaging/Makefile.am index 29a521eaf..a08d8d3e9 100644 --- a/tct-widget01-w3c-tests/widgetpackaging/Makefile.am +++ b/tct-widget01-w3c-tests/widgetpackaging/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c worker_SCRIPTS = * -workerdir = /opt/tct-widget01-w3c-tests/widgetpackaging +workerdir = $(prefix)/opt/tct-widget01-w3c-tests/widgetpackaging EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-widget01-w3c-tests/widgetpackaging/w3c/Makefile.am b/tct-widget01-w3c-tests/widgetpackaging/w3c/Makefile.am index e44ae62c8..f838baa03 100644 --- a/tct-widget01-w3c-tests/widgetpackaging/w3c/Makefile.am +++ b/tct-widget01-w3c-tests/widgetpackaging/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-widget01-w3c-tests +w3cdir = $(prefix)/opt/tct-widget01-w3c-tests EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-widget02-w3c-tests/Makefile.am b/tct-widget02-w3c-tests/Makefile.am index de57ee490..d84d12db1 100755 --- a/tct-widget02-w3c-tests/Makefile.am +++ b/tct-widget02-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit scripts SUBDIRS = widgetpackaging $(commondir) -docdir = /opt/tct-widget02-w3c-tests +docdir = $(prefix)/opt/tct-widget02-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-widget02-w3c-tests/pack.sh b/tct-widget02-w3c-tests/pack.sh index 82e3fe988..d2c66b5bb 100755 --- a/tct-widget02-w3c-tests/pack.sh +++ b/tct-widget02-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-widget02-w3c-tests/resources/Makefile.am b/tct-widget02-w3c-tests/resources/Makefile.am index 5f7cc0ad5..95bc74bf2 100644 --- a/tct-widget02-w3c-tests/resources/Makefile.am +++ b/tct-widget02-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-widget02-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-widget02-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-widget02-w3c-tests/scripts/Makefile.am b/tct-widget02-w3c-tests/scripts/Makefile.am index c0ac43568..fecac0a73 100644 --- a/tct-widget02-w3c-tests/scripts/Makefile.am +++ b/tct-widget02-w3c-tests/scripts/Makefile.am @@ -1,3 +1,3 @@ scripts_SCRIPTS = * -scriptsdir = /opt/tct-widget02-w3c-tests/scripts +scriptsdir = $(prefix)/opt/tct-widget02-w3c-tests/scripts EXTRA_DIST = $(scripts_SCRIPTS) diff --git a/tct-widget02-w3c-tests/testkit/Makefile.am b/tct-widget02-w3c-tests/testkit/Makefile.am index ea8e159e4..d680b9d27 100644 --- a/tct-widget02-w3c-tests/testkit/Makefile.am +++ b/tct-widget02-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-widget02-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-widget02-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-widget02-w3c-tests/widgetpackaging/Makefile.am b/tct-widget02-w3c-tests/widgetpackaging/Makefile.am index a5b78f351..10c663382 100644 --- a/tct-widget02-w3c-tests/widgetpackaging/Makefile.am +++ b/tct-widget02-w3c-tests/widgetpackaging/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c worker_SCRIPTS = * -workerdir = /opt/tct-widget02-w3c-tests/widgetpackaging +workerdir = $(prefix)/opt/tct-widget02-w3c-tests/widgetpackaging EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-widget02-w3c-tests/widgetpackaging/w3c/Makefile.am b/tct-widget02-w3c-tests/widgetpackaging/w3c/Makefile.am index 6c6d8cf84..2ab516d33 100755 --- a/tct-widget02-w3c-tests/widgetpackaging/w3c/Makefile.am +++ b/tct-widget02-w3c-tests/widgetpackaging/w3c/Makefile.am @@ -1,3 +1,3 @@ w3c_SCRIPTS = * -w3cdir = /opt/tct-widget02-w3c-tests/widgetpackaging/w3c +w3cdir = $(prefix)/opt/tct-widget02-w3c-tests/widgetpackaging/w3c EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-widgetpolicy-w3c-tests/Makefile.am b/tct-widgetpolicy-w3c-tests/Makefile.am index 1bb0a7e80..8a3cc3883 100644 --- a/tct-widgetpolicy-w3c-tests/Makefile.am +++ b/tct-widgetpolicy-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = widgetpolicy $(commondir) -docdir = /opt/tct-widgetpolicy-w3c-tests +docdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-widgetpolicy-w3c-tests/pack.sh b/tct-widgetpolicy-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-widgetpolicy-w3c-tests/pack.sh +++ b/tct-widgetpolicy-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-widgetpolicy-w3c-tests/resources/Makefile.am b/tct-widgetpolicy-w3c-tests/resources/Makefile.am index 036ec212f..20ced6575 100644 --- a/tct-widgetpolicy-w3c-tests/resources/Makefile.am +++ b/tct-widgetpolicy-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-widgetpolicy-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-widgetpolicy-w3c-tests/testkit/Makefile.am b/tct-widgetpolicy-w3c-tests/testkit/Makefile.am index b59462b2e..d6bfcbd89 100644 --- a/tct-widgetpolicy-w3c-tests/testkit/Makefile.am +++ b/tct-widgetpolicy-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-widgetpolicy-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-widgetpolicy-w3c-tests/widgetpolicy/Makefile.am b/tct-widgetpolicy-w3c-tests/widgetpolicy/Makefile.am index 665b8e584..d81912605 100644 --- a/tct-widgetpolicy-w3c-tests/widgetpolicy/Makefile.am +++ b/tct-widgetpolicy-w3c-tests/widgetpolicy/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c worker_SCRIPTS = * -workerdir = /opt/tct-widgetpolicy-w3c-tests/widgetpolicy +workerdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/widgetpolicy EXTRA_DIST = $(worker_SCRIPTS) diff --git a/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c/Makefile.am b/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c/Makefile.am index 8d72e3728..ffa81b252 100644 --- a/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c/Makefile.am +++ b/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c/Makefile.am @@ -1,3 +1,3 @@ widgetpolicy_SCRIPTS = * -widgetpolicydir = /opt/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c +widgetpolicydir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c EXTRA_DIST = $(widgetpolicy_SCRIPTS) diff --git a/tct-workers-w3c-tests/Makefile.am b/tct-workers-w3c-tests/Makefile.am index eb93d3af3..66d781dd3 100644 --- a/tct-workers-w3c-tests/Makefile.am +++ b/tct-workers-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = workers $(commondir) -docdir = /opt/tct-workers-w3c-tests +docdir = $(prefix)/opt/tct-workers-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-workers-w3c-tests/pack.sh b/tct-workers-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-workers-w3c-tests/pack.sh +++ b/tct-workers-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-workers-w3c-tests/resources/Makefile.am b/tct-workers-w3c-tests/resources/Makefile.am index 79615e6a0..8fe8b8670 100644 --- a/tct-workers-w3c-tests/resources/Makefile.am +++ b/tct-workers-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-workers-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-workers-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-workers-w3c-tests/testkit/Makefile.am b/tct-workers-w3c-tests/testkit/Makefile.am index 339189c84..20e5502f2 100644 --- a/tct-workers-w3c-tests/testkit/Makefile.am +++ b/tct-workers-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-workers-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-workers-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-workers-w3c-tests/workers/Makefile.am b/tct-workers-w3c-tests/workers/Makefile.am index 224835eac..b3434e8b1 100644 --- a/tct-workers-w3c-tests/workers/Makefile.am +++ b/tct-workers-w3c-tests/workers/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support w3c workers_SCRIPTS = * -workersdir = /opt/tct-workers-w3c-tests/workers +workersdir = $(prefix)/opt/tct-workers-w3c-tests/workers EXTRA_DIST = $(workers_SCRIPTS) diff --git a/tct-workers-w3c-tests/workers/support/Makefile.am b/tct-workers-w3c-tests/workers/support/Makefile.am index 84f5a3656..2c62b1133 100644 --- a/tct-workers-w3c-tests/workers/support/Makefile.am +++ b/tct-workers-w3c-tests/workers/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-workers-w3c-tests/workers/support +supportdir = $(prefix)/opt/tct-workers-w3c-tests/workers/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-workers-w3c-tests/workers/w3c/Makefile.am b/tct-workers-w3c-tests/workers/w3c/Makefile.am index 2c3ea0e9e..8bda7d2b6 100644 --- a/tct-workers-w3c-tests/workers/w3c/Makefile.am +++ b/tct-workers-w3c-tests/workers/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = support workers_SCRIPTS = * -workersdir = /opt/tct-workers-w3c-tests/workers/w3c/ +workersdir = $(prefix)/opt/tct-workers-w3c-tests/workers/w3c/ EXTRA_DIST = $(workers_SCRIPTS) diff --git a/tct-workers-w3c-tests/workers/w3c/support/Makefile.am b/tct-workers-w3c-tests/workers/w3c/support/Makefile.am index 617266f3a..d4b4b56d3 100644 --- a/tct-workers-w3c-tests/workers/w3c/support/Makefile.am +++ b/tct-workers-w3c-tests/workers/w3c/support/Makefile.am @@ -1,3 +1,3 @@ support_SCRIPTS = * -supportdir = /opt/tct-workers-w3c-tests/workers/w3c/support +supportdir = $(prefix)/opt/tct-workers-w3c-tests/workers/w3c/support EXTRA_DIST = $(support_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/Makefile.am b/tct-xmlhttprequest-w3c-tests/Makefile.am index 9ead5b6bc..5cb9ffbd5 100644 --- a/tct-xmlhttprequest-w3c-tests/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/Makefile.am @@ -1,4 +1,4 @@ commondir = resources testkit SUBDIRS = xmlhttprequest $(commondir) -docdir = /opt/tct-xmlhttprequest-w3c-tests +docdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests dist_doc_DATA = Changelog COPYING README tests.xml diff --git a/tct-xmlhttprequest-w3c-tests/pack.sh b/tct-xmlhttprequest-w3c-tests/pack.sh index f9bf39f92..d3851c566 100755 --- a/tct-xmlhttprequest-w3c-tests/pack.sh +++ b/tct-xmlhttprequest-w3c-tests/pack.sh @@ -65,7 +65,7 @@ cp -arf $SRC_ROOT/* $BUILD_ROOT/ # build echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" cd $BUILD_ROOT -./autogen && ./configure --prefix=/usr && make && make install DESTDIR=$BUILD_DEST +./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST if [ $? -ne 0 ];then echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" clean_workspace diff --git a/tct-xmlhttprequest-w3c-tests/resources/Makefile.am b/tct-xmlhttprequest-w3c-tests/resources/Makefile.am index b465229d5..55eebaa92 100644 --- a/tct-xmlhttprequest-w3c-tests/resources/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/resources/Makefile.am @@ -1,3 +1,3 @@ w3cresources_SCRIPTS = * -w3cresourcesdir = /opt/tct-xmlhttprequest-w3c-tests/resources +w3cresourcesdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/resources EXTRA_DIST = $(w3cresources_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/testkit/Makefile.am b/tct-xmlhttprequest-w3c-tests/testkit/Makefile.am index 90fe7ee00..3c3a49cc7 100644 --- a/tct-xmlhttprequest-w3c-tests/testkit/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/testkit/Makefile.am @@ -1,3 +1,3 @@ testkit_SCRIPTS = web/* -testkitdir = /opt/tct-xmlhttprequest-w3c-tests/testkit/web +testkitdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/testkit/web EXTRA_DIST = $(testkit_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/Makefile.am b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/Makefile.am index abfc10cb4..689d90088 100644 --- a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = w3c support xmlhttprequest_SCRIPTS = * -xmlhttprequestdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest +xmlhttprequestdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest EXTRA_DIST = $(xmlhttprequest_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/Makefile.am b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/Makefile.am index bfd95144b..b22270f49 100644 --- a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support/Makefile.am @@ -1,3 +1,3 @@ xmlhttprequestsupport_SCRIPTS = * -xmlhttprequestsupportdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support +xmlhttprequestsupportdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support EXTRA_DIST = $(xmlhttprequestsupport_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/Makefile.am b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/Makefile.am index d332661a2..3c012a4fc 100644 --- a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = resources xmlhttprequestw3c_SCRIPTS = * -xmlhttprequestw3cdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c +xmlhttprequestw3cdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c EXTRA_DIST = $(xmlhttprequestw3c_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/Makefile.am b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/Makefile.am index ebbf9a52e..25b1b9392 100644 --- a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = cgi xmlhttprequestw3cresources_SCRIPTS = * -xmlhttprequestw3cresourcesdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources +xmlhttprequestw3cresourcesdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources EXTRA_DIST = $(xmlhttprequestw3cresources_SCRIPTS) diff --git a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/Makefile.am b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/Makefile.am index 0ec8df9e0..f4f4c2604 100644 --- a/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/Makefile.am +++ b/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi/Makefile.am @@ -1,3 +1,3 @@ xmlhttprequestw3cresourcescgi_SCRIPTS = * -xmlhttprequestw3cresourcescgidir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi +xmlhttprequestw3cresourcescgidir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/resources/cgi EXTRA_DIST = $(xmlhttprequestw3cresourcescgi_SCRIPTS)