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
<!doctype html>
<head>
- <meta http-equiv="Refresh" content="1; url=opt/$SUB_PKG_NAME/testkit/web/index.html?testsuite=/usr/share/$SUB_PKG_NAME/tests.xml">
+ <meta http-equiv="Refresh" content="1; url=opt/$SUB_PKG_NAME/testkit/web/index.html?testsuite=$prefix/opt/$SUB_PKG_NAME/tests.xml">
</head>
EOF
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
-%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
%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"
%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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
$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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
SUBDIRS = csswg
2DTransforms_SCRIPTS = *
-2DTransformsdir = /opt/tct-2dtransforms-css3-tests/2dtransforms
+2DTransformsdir = $(prefix)/opt/tct-2dtransforms-css3-tests/2dtransforms
EXTRA_DIST = $(2DTransforms_SCRIPTS)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-2dtransforms-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-2dtransforms-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-2dtransforms-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-2dtransforms-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = csswg support
3dtransforms_SCRIPTS = *
-3dtransformsdir = /opt/tct-3dtransforms-css3-tests/3dtransforms
+3dtransformsdir = $(prefix)/opt/tct-3dtransforms-css3-tests/3dtransforms
EXTRA_DIST = $(3dtransforms_SCRIPTS)
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)
tests_SCRIPTS = *
-testsdir = /opt/tct-3dtransforms-css3-tests/3dtransforms/support
+testsdir = $(prefix)/opt/tct-3dtransforms-css3-tests/3dtransforms/support
EXTRA_DIST = $(tests_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-3dtransforms-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-3dtransforms-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-3dtransforms-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-3dtransforms-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-alarm-tizen-tests/alarm
+workerdir = $(prefix)/opt/tct-alarm-tizen-tests/alarm
EXTRA_DIST = $(worker_SCRIPTS)
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:
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-alarm-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-alarm-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-alarm-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-alarm-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = csswg support
tests_SCRIPTS = *
-testsdir = /opt/tct-animations-css3-tests/animations
+testsdir = $(prefix)/opt/tct-animations-css3-tests/animations
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *
-testsdir = /opt/tct-animations-css3-tests/animations/csswg
+testsdir = $(prefix)/opt/tct-animations-css3-tests/animations/csswg
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *
-testsdir = /opt/tct-animations-css3-tests/animations/support
+testsdir = $(prefix)/opt/tct-animations-css3-tests/animations/support
EXTRA_DIST = $(tests_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-animations-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-animations-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-animations-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-animations-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
animationtiming_SCRIPTS = *
-animationtimingdir = /opt/tct-animationtiming-w3c-tests/animationtiming
+animationtimingdir = $(prefix)/opt/tct-animationtiming-w3c-tests/animationtiming
EXTRA_DIST = $(animationtiming_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-animationtiming-w3c-tests/animationtiming/w3c
+w3cdir = $(prefix)/opt/tct-animationtiming-w3c-tests/animationtiming/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-animationtiming-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-animationtiming-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-animationtiming-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-animationtiming-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
appcache_SCRIPTS = *
-appcachedir = /opt/tct-appcache-html5-tests/appcache
+appcachedir = $(prefix)/opt/tct-appcache-html5-tests/appcache
EXTRA_DIST = $(AppCache_SCRIPTS)
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-appcache-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-appcache-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-appcache-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-appcache-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-appcache-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-appcache-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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_*
SUBDIRS = support
worker_DATA = *.html
-workerdir = /opt/tct-appcontrol-tizen-tests/appcontrol
+workerdir = $(prefix)/opt/tct-appcontrol-tizen-tests/appcontrol
EXTRA_DIST = $(worker_DATA)
-supportdir = /opt/tct-appcontrol-tizen-tests/appcontrol/support
+supportdir = $(prefix)/opt/tct-appcontrol-tizen-tests/appcontrol/support
support_DATA = *.js
EXTRA_DIST = $(support_DATA)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-appcontrol-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-appcontrol-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-appcontrol-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-appcontrol-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-application-tizen-tests/application
+workerdir = $(prefix)/opt/tct-application-tizen-tests/application
EXTRA_DIST = $(worker_SCRIPTS)
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)
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-application-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-application-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-application-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-application-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-application-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-application-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
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)
audiomedia_SCRIPTS = *
-audiomediadir = /opt/tct-audio-html5-tests/audio/media
+audiomediadir = $(prefix)/opt/tct-audio-html5-tests/audio/media
EXTRA_DIST = $(audiomedia_SCRIPTS)
audiosupport_SCRIPTS = *
-audiosupportdir = /opt/tct-audio-html5-tests/audio/support
+audiosupportdir = $(prefix)/opt/tct-audio-html5-tests/audio/support
EXTRA_DIST = $(audiosupport_SCRIPTS)
audiow3c_SCRIPTS = *
-audiow3cdir = /opt/tct-audio-html5-tests/audio/w3c
+audiow3cdir = $(prefix)/opt/tct-audio-html5-tests/audio/w3c
EXTRA_DIST = $(audiow3c_SCRIPTS)
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-audio-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-audio-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-audio-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-audio-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-audio-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-audio-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
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)
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 )
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)
backgroundssupport_SCRIPTS = *
-backgroundssupportdir = /opt/tct-backgrounds-css3-tests/backgrounds/support
+backgroundssupportdir = $(prefix)/opt/tct-backgrounds-css3-tests/backgrounds/support
EXTRA_DIST = $(backgroundssupport_SCRIPTS)
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-backgrounds-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-backgrounds-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-backgrounds-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-backgrounds-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
Battery_SCRIPTS = *
-Batterydir = /opt/tct-batterystatus-w3c-tests/batterystatus
+Batterydir = $(prefix)/opt/tct-batterystatus-w3c-tests/batterystatus
EXTRA_DIST = $(Battery_SCRIPTS )
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-batterystatus-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-batterystatus-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-batterystatus-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-batterystatus-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
bluetooth_SCRIPTS = *
-bluetoothdir = /opt/tct-bluetooth-tizen-tests/bluetooth
+bluetoothdir = $(prefix)/opt/tct-bluetooth-tizen-tests/bluetooth
EXTRA_DIST = $(bluetooth_SCRIPTS)
-supportdir = /opt/tct-bluetooth-tizen-tests/bluetooth/support
+supportdir = $(prefix)/opt/tct-bluetooth-tizen-tests/bluetooth/support
support_DATA = *
EXTRA_DIST = $(support_DATA)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-bluetooth-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-bluetooth-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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/
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-bluetooth-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-bluetooth-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-bookmark-tizen-tests/bookmark
+workerdir = $(prefix)/opt/tct-bookmark-tizen-tests/bookmark
EXTRA_DIST = $(worker_SCRIPTS)
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/
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-bookmark-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-bookmark-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-bookmark-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-bookmark-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
OnlineState_SCRIPTS = *
-OnlineStatedir = /opt/tct-browserstate-html5-tests/browserstate
+OnlineStatedir = $(prefix)/opt/tct-browserstate-html5-tests/browserstate
EXTRA_DIST = $(OnlineState_SCRIPTS )
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-browserstate-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-browserstate-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-browserstate-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-browserstate-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-browserstate-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-browserstate-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
calendar_SCRIPTS = *
-calendardir = /opt/tct-calendar-tizen-tests/calendar
+calendardir = $(prefix)/opt/tct-calendar-tizen-tests/calendar
EXTRA_DIST = $(calendar_SCRIPTS)
-supportdir = /opt/tct-calendar-tizen-tests/calendar/support
+supportdir = $(prefix)/opt/tct-calendar-tizen-tests/calendar/support
support_SCRIPTS = *
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-calendar-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-calendar-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-calendar-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-calendar-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
callhistory_SCRIPTS = *
-callhistorydir = /opt/tct-callhistory-tizen-tests/callhistory
+callhistorydir = $(prefix)/opt/tct-callhistory-tizen-tests/callhistory
EXTRA_DIST = $(callhistory_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-callhistory-tizen-tests/callhistory/support
+supportdir = $(prefix)/opt/tct-callhistory-tizen-tests/callhistory/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-callhistory-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-callhistory-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-callhistory-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-callhistory-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
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)
common_SCRIPTS = *
-commondir = /opt/tct-canvas-html5-tests/canvas/common
+commondir = $(prefix)/opt/tct-canvas-html5-tests/canvas/common
EXTRA_DIST = $(common_SCRIPTS)
fonts_SCRIPTS = *
-fontsdir = /opt/tct-canvas-html5-tests/canvas/fonts
+fontsdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/fonts
EXTRA_DIST = $(fonts_SCRIPTS)
images_SCRIPTS = *
-imagesdir = /opt/tct-canvas-html5-tests/canvas/images
+imagesdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/images
EXTRA_DIST = $(images_SCRIPTS)
canvassupport_SCRIPTS = *
-canvassupportdir = /opt/tct-canvas-html5-tests/canvas/support
+canvassupportdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/support
EXTRA_DIST = $(canvassupport_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-canvas-html5-tests/canvas/w3c
+w3cdir = $(prefix)/opt/tct-canvas-html5-tests/canvas/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-canvas-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-canvas-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-canvas-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-canvas-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-canvas-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-canvas-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
capability_SCRIPTS = *
-capabilitydir = /opt/tct-capability-tests/capability
+capabilitydir = $(prefix)/opt/tct-capability-tests/capability
EXTRA_DIST = $(capability_SCRIPTS)
-supportdir = /opt/tct-capability-tests/capability/support
+supportdir = $(prefix)/opt/tct-capability-tests/capability/support
support_SCRIPTS = *
EXTRA_DIST = $(support_SCRIPTS)
# 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
resources_SCRIPTS = *
-resourcesdir = /opt/tct-capability-tests/resources
+resourcesdir = $(prefix)/opt/tct-capability-tests/resources
EXTRA_DIST = $(resources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-capability-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-capability-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = csswg support
tests_SCRIPTS = *
-testsdir = /opt/tct-colors-css3-tests/colors
+testsdir = $(prefix)/opt/tct-colors-css3-tests/colors
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *
-testsdir = /opt/tct-colors-css3-tests/colors/csswg
+testsdir = $(prefix)/opt/tct-colors-css3-tests/colors/csswg
EXTRA_DIST = $(tests_SCRIPTS)
colorssupport_SCRIPTS = *
-colorssupportdir = /opt/tct-colors-css3-tests/colors/support
+colorssupportdir = $(prefix)/opt/tct-colors-css3-tests/colors/support
EXTRA_DIST = $(colorssupport_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-colors-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-colors-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-colors-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-colors-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
contact_SCRIPTS = *
-contactdir = /opt/tct-contact-tizen-tests/contact
+contactdir = $(prefix)/opt/tct-contact-tizen-tests/contact
EXTRA_DIST = $(contact_SCRIPTS)
-supportdir = /opt/tct-contact-tizen-tests/contact/support
+supportdir = $(prefix)/opt/tct-contact-tizen-tests/contact/support
support_SCRIPTS = *
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-contact-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-contact-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-contact-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-contact-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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/*
SUBDIRS = support
content_SCRIPTS = *
-contentdir = /opt/tct-content-tizen-tests/content
+contentdir = $(prefix)/opt/tct-content-tizen-tests/content
EXTRA_DIST = $(content_SCRIPTS)
support_DATA = *.js
-supportdir = /opt/tct-content-tizen-tests/content/support
+supportdir = $(prefix)/opt/tct-content-tizen-tests/content/support
EXTRA_DIST = $(support_DATA)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-content-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-content-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-content-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-content-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
cors_SCRIPTS = *
-corsdir = /opt/tct-cors-w3c-tests/cors
+corsdir = $(prefix)/opt/tct-cors-w3c-tests/cors
EXTRA_DIST = $(cors_SCRIPTS)
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-cors-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-cors-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-cors-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-cors-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = w3c support
csp_SCRIPTS = *
-cspdir = /opt/tct-csp-w3c-tests/csp
+cspdir = $(prefix)/opt/tct-csp-w3c-tests/csp
EXTRA_DIST = $(csp_SCRIPTS)
cspsupport_SCRIPTS = *
-cspsupportdir = /opt/tct-csp-w3c-tests/csp/support
+cspsupportdir = $(prefix)/opt/tct-csp-w3c-tests/csp/support
EXTRA_DIST = $(cspsupport_SCRIPTS)
cspw3c_SCRIPTS = *
-cspw3cdir = /opt/tct-csp-w3c-tests/csp/w3c
+cspw3cdir = $(prefix)/opt/tct-csp-w3c-tests/csp/w3c
EXTRA_DIST = $(cspw3c_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-csp-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-csp-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-csp-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-csp-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-datacontrol-tizen-tests/datacontrol
+workerdir = $(prefix)/opt/tct-datacontrol-tizen-tests/datacontrol
EXTRA_DIST = $(worker_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-datacontrol-tizen-tests/datacontrol/support
+supportdir = $(prefix)/opt/tct-datacontrol-tizen-tests/datacontrol/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-datacontrol-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-datacontrol-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-datacontrol-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-datacontrol-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
SUBDIRS = support
datasync_SCRIPTS = *
-datasyncdir = /opt/tct-datasync-tizen-tests/datasync
+datasyncdir = $(prefix)/opt/tct-datasync-tizen-tests/datasync
EXTRA_DIST = $(datasync_SCRIPTS)
-supportdir = /opt/tct-datasync-tizen-tests/datasync/support
+supportdir = $(prefix)/opt/tct-datasync-tizen-tests/datasync/support
support_SCRIPTS = *.js
EXTRA_DIST = $(support_SCRIPTS)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-datasync-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-datasync-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-datasync-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-datasync-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
Orientation_SCRIPTS = *
-Orientationdir = /opt/tct-deviceorientation-w3c-tests/deviceorientation
+Orientationdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/deviceorientation
EXTRA_DIST = $(Orientation_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-deviceorientation-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-deviceorientation-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-deviceorientation-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-dnd-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-dnd-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
SUBDIRS = w3c images
DnD_SCRIPTS = *
-DnDdir = /opt/tct-dnd-html5-tests/dnd
+DnDdir = $(prefix)/opt/tct-dnd-html5-tests/dnd
EXTRA_DIST = $(DnD_SCRIPTS)
dndimages_SCRIPTS = *
-dndimagesdir = /opt/tct-dnd-html5-tests/dnd/images
+dndimagesdir = $(prefix)/opt/tct-dnd-html5-tests/dnd/images
EXTRA_DIST = $(dndimages_SCRIPTS)
DnDw3c_SCRIPTS = *
-DnDw3cdir = /opt/tct-dnd-html5-tests/dnd/w3c
+DnDw3cdir = $(prefix)/opt/tct-dnd-html5-tests/dnd/w3c
EXTRA_DIST = $(DnDw3c_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-dnd-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-dnd-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-dnd-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-dnd-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
download_SCRIPTS = *
-downloaddir = /opt/tct-download-tizen-tests/download
+downloaddir = $(prefix)/opt/tct-download-tizen-tests/download
EXTRA_DIST = $(download_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-download-tizen-tests/download/support
+supportdir = $(prefix)/opt/tct-download-tizen-tests/download/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-download-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-download-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-download-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-download-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
attributesw3c_SCRIPTS = *
-attributesw3cdir = /opt/tct-extra-html5-tests/attributes/w3c
+attributesw3cdir = $(prefix)/opt/tct-extra-html5-tests/attributes/w3c
EXTRA_DIST = $(attributesw3c_SCRIPTS)
base64w3c_SCRIPTS = *
-base64w3cdir = /opt/tct-extra-html5-tests/base64/w3c
+base64w3cdir = $(prefix)/opt/tct-extra-html5-tests/base64/w3c
EXTRA_DIST = $(base64w3c_SCRIPTS)
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)
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)
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-extra-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-extra-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
datasetw3c_SCRIPTS = *
-datasetw3cdir = /opt/tct-extra-html5-tests/dataset/w3c
+datasetw3cdir = $(prefix)/opt/tct-extra-html5-tests/dataset/w3c
EXTRA_DIST = $(datasetw3c_SCRIPTS)
SUBDIRS = documents
dom_SCRIPTS = *
-domdir = /opt/tct-extra-html5-tests/dom
+domdir = $(prefix)/opt/tct-extra-html5-tests/dom
EXTRA_DIST = $(dom_SCRIPTS)
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)
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)
foreigncontentw3c_SCRIPTS = *
-foreigncontentw3cdir = /opt/tct-extra-html5-tests/foreigncontent/w3c
+foreigncontentw3cdir = $(prefix)/opt/tct-extra-html5-tests/foreigncontent/w3c
EXTRA_DIST = $(foreigncontentw3c_SCRIPTS)
# 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
SUBDIRS = bindings
rendering_SCRIPTS = *
-renderingdir = /opt/tct-extra-html5-tests/rendering
+renderingdir = $(prefix)/opt/tct-extra-html5-tests/rendering
EXTRA_DIST = $(rendering_SCRIPTS)
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)
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)
SUBDIRS = webidl2
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-extra-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-extra-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-extra-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-extra-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
SUBDIRS = w3c images
xhtml5_SCRIPTS = *
-xhtml5dir = /opt/tct-extra-html5-tests/xhtml5
+xhtml5dir = $(prefix)/opt/tct-extra-html5-tests/xhtml5
EXTRA_DIST = $(xhtml5_SCRIPTS)
xhtml5images_SCRIPTS = *
-xhtml5imagesdir = /opt/tct-extra-html5-tests/xhtml5/images
+xhtml5imagesdir = $(prefix)/opt/tct-extra-html5-tests/xhtml5/images
EXTRA_DIST = $(xhtml5images_SCRIPTS)
xhtml5w3c_SCRIPTS = *
-xhtml5w3cdir = /opt/tct-extra-html5-tests/xhtml5/w3c
+xhtml5w3cdir = $(prefix)/opt/tct-extra-html5-tests/xhtml5/w3c
EXTRA_DIST = $(xhtml5w3c_SCRIPTS)
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
SUBDIRS = support
fileapi_SCRIPTS = *
-fileapidir = /opt/tct-fileapi-w3c-tests/fileapi
+fileapidir = $(prefix)/opt/tct-fileapi-w3c-tests/fileapi
EXTRA_DIST = $(fileapi_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-fileapi-w3c-tests/fileapi/support
+supportdir = $(prefix)/opt/tct-fileapi-w3c-tests/fileapi/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-fileapi-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-fileapi-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-fileapi-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-fileapi-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
filesystem_SCRIPTS = *
-filesystemdir = /opt/tct-filesystem-tizen-tests/filesystem
+filesystemdir = $(prefix)/opt/tct-filesystem-tizen-tests/filesystem
EXTRA_DIST = $(filesystem_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-filesystem-tizen-tests/filesystem/support
+supportdir = $(prefix)/opt/tct-filesystem-tizen-tests/filesystem/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-filesystem-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-filesystem-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-filesystem-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-filesystem-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
filesystemapi_SCRIPTS = *
-filesystemapidir = /opt/tct-filesystemapi-w3c-tests/filesystemapi
+filesystemapidir = $(prefix)/opt/tct-filesystemapi-w3c-tests/filesystemapi
EXTRA_DIST = $(filesystemapi_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-filesystemapi-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-filesystemapi-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-filesystemapi-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-filesystemapi-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
filewriterapi_SCRIPTS = *
-filewriterapidir = /opt/tct-filewriterapi-w3c-tests/filewriterapi
+filewriterapidir = $(prefix)/opt/tct-filewriterapi-w3c-tests/filewriterapi
EXTRA_DIST = $(filewriterapi_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-filewriterapi-w3c-tests/filewriterapi/support
+supportdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/filewriterapi/support
EXTRA_DIST = $(audiosupport_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-filewriterapi-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-filewriterapi-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-filewriterapi-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support csswg
tests_SCRIPTS = *
-testsdir = /opt/tct-flexiblebox-css3-tests/flexiblebox
+testsdir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox
EXTRA_DIST = $(tests_SCRIPTS)
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)
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)
flexibleboxsupport_SCRIPTS = *
-flexibleboxsupportdir = /opt/tct-flexiblebox-css3-tests/flexiblebox/support
+flexibleboxsupportdir = $(prefix)/opt/tct-flexiblebox-css3-tests/flexiblebox/support
EXTRA_DIST = $(flexibleboxsupport_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-flexiblebox-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-flexiblebox-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-flexiblebox-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-flexiblebox-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support csswg
tests_SCRIPTS = *
-testsdir = /opt/tct-fonts-css3-tests/fonts
+testsdir = $(prefix)/opt/tct-fonts-css3-tests/fonts
EXTRA_DIST = $(tests_SCRIPTS)
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)
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)
DownloadableFontssupport_SCRIPTS = *
-DownloadableFontssupportdir = /opt/tct-fonts-css3-tests/fonts/support
+DownloadableFontssupportdir = $(prefix)/opt/tct-fonts-css3-tests/fonts/support
EXTRA_DIST = $(DownloadableFontssupport_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-fonts-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-fonts-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-fonts-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-fonts-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-forms-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-forms-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
SUBDIRS = w3c
forms_SCRIPTS = *
-formsdir = /opt/tct-forms-html5-tests/forms
+formsdir = $(prefix)/opt/tct-forms-html5-tests/forms
EXTRA_DIST = $(forms_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-forms-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-forms-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-forms-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-forms-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
FullScreen_SCRIPTS = *
-FullScreendir = /opt/tct-fullscreen-nonw3c-tests/fullscreen
+FullScreendir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/fullscreen
EXTRA_DIST = $(FullScreen_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-fullscreen-nonw3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-fullscreen-nonw3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-fullscreen-nonw3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = w3c
geoallow_SCRIPTS = *
-geoallowdir = /opt/tct-geoallow-w3c-tests/geoallow
+geoallowdir = $(prefix)/opt/tct-geoallow-w3c-tests/geoallow
EXTRA_DIST = $(Geoallow_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-geoallow-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-geoallow-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-geoallow-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-geoallow-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = w3c
geodeny_SCRIPTS = *
-geodenydir = /opt/tct-geodeny-w3c-tests/geodeny
+geodenydir = $(prefix)/opt/tct-geodeny-w3c-tests/geodeny
EXTRA_DIST = $(geodeny_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-geodeny-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-geodeny-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-geodeny-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-geodeny-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
gumallow_SCRIPTS = *
-gumallowdir = /opt/tct-gumallow-w3c-tests/gumallow
+gumallowdir = $(prefix)/opt/tct-gumallow-w3c-tests/gumallow
EXTRA_DIST = $(gumallow_SCRIPTS)
gumallow_SCRIPTS = *
-gumallowdir = /opt/tct-gumallow-w3c-tests/gumallow/support/
+gumallowdir = $(prefix)/opt/tct-gumallow-w3c-tests/gumallow/support/
EXTRA_DIST = $(gumallow_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-gumallow-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-gumallow-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-gumallow-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-gumallow-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = w3c support
indexeddb_SCRIPTS = *
-indexeddbdir = /opt/tct-indexeddb-w3c-tests/indexeddb
+indexeddbdir = $(prefix)/opt/tct-indexeddb-w3c-tests/indexeddb
EXTRA_DIST = $(indexeddb_SCRIPTS)
indexdbsupport_SCRIPTS = *
-indexdbsupportdir = /opt/tct-indexeddb-w3c-tests/indexeddb/support
+indexdbsupportdir = $(prefix)/opt/tct-indexeddb-w3c-tests/indexeddb/support
EXTRA_DIST = $(indexdbsupport_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-indexeddb-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-indexeddb-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-indexeddb-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-indexeddb-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-jsenhance-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-jsenhance-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
JSEnhance_SCRIPTS = *
-JSEnhancedir = /opt/tct-jsenhance-html5-tests/jsenhance
+JSEnhancedir = $(prefix)/opt/tct-jsenhance-html5-tests/jsenhance
EXTRA_DIST = $(JSEnhance_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-jsenhance-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-jsenhance-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-jsenhance-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-jsenhance-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = w3c media
audio_SCRIPTS = *
-audiodir = /opt/tct-manual-w3c-tests/audio
+audiodir = $(prefix)/opt/tct-manual-w3c-tests/audio
EXTRA_DIST = $(audio_SCRIPTS)
audiomedia_SCRIPTS = *
-audiomediadir = /opt/tct-manual-w3c-tests/audio/media
+audiomediadir = $(prefix)/opt/tct-manual-w3c-tests/audio/media
EXTRA_DIST = $(audiomedia_SCRIPTS)
audiow3c_SCRIPTS = *
-audiow3cdir = /opt/tct-manual-w3c-tests/audio/w3c
+audiow3cdir = $(prefix)/opt/tct-manual-w3c-tests/audio/w3c
EXTRA_DIST = $(audiow3c_SCRIPTS)
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)
common_SCRIPTS = *
-commondir = /opt/tct-manual-w3c-tests/canvas/common
+commondir = $(prefix)/opt/tct-manual-w3c-tests/canvas/common
EXTRA_DIST = $(common_SCRIPTS)
images_SCRIPTS = *
-imagesdir = /opt/tct-manual-w3c-tests/canvas/images
+imagesdir = $(prefix)/opt/tct-manual-w3c-tests/canvas/images
EXTRA_DIST = $(images_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-manual-w3c-tests/canvas/w3c
+w3cdir = $(prefix)/opt/tct-manual-w3c-tests/canvas/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
SUBDIRS = csswg
colors_SCRIPTS = *
-colorsdir = /opt/tct-manual-w3c-tests/colors
+colorsdir = $(prefix)/opt/tct-manual-w3c-tests/colors
EXTRA_DIST = $(colors_SCRIPTS)
colorsw3c_SCRIPTS = *
-colorsw3cdir = /opt/tct-manual-w3c-tests/colors/csswg
+colorsw3cdir = $(prefix)/opt/tct-manual-w3c-tests/colors/csswg
EXTRA_DIST = $(colorsw3c_SCRIPTS)
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-manual-w3c-tests/common
+w3ccommondir = $(prefix)/opt/tct-manual-w3c-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
SUBDIRS = support
csp_SCRIPTS = *
-cspdir = /opt/tct-manual-w3c-tests/csp
+cspdir = $(prefix)/opt/tct-manual-w3c-tests/csp
EXTRA_DIST = $(csp_SCRIPTS)
cspsupport_SCRIPTS = *
-cspsupportdir = /opt/tct-manual-w3c-tests/csp/support
+cspsupportdir = $(prefix)/opt/tct-manual-w3c-tests/csp/support
EXTRA_DIST = $(cspsupport_SCRIPTS)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
fileapi_SCRIPTS = *
-fileapidir = /opt/tct-manual-w3c-tests/fileapi
+fileapidir = $(prefix)/opt/tct-manual-w3c-tests/fileapi
EXTRA_DIST = $(fileapi_SCRIPTS)
SUBDIRS = support
Notification_SCRIPTS = *
-Notificationdir = /opt/tct-manual-w3c-tests/notification
+Notificationdir = $(prefix)/opt/tct-manual-w3c-tests/notification
EXTRA_DIST = $(Notification_SCRIPTS)
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)
# 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
SUBDIRS = w3c
pagevisibility_SCRIPTS = *
-pagevisibilitydir = /opt/tct-manual-w3c-tests/pagevisibility
+pagevisibilitydir = $(prefix)/opt/tct-manual-w3c-tests/pagevisibility
EXTRA_DIST = $(pagevisibility_SCRIPTS)
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)
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)
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-manual-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-manual-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = w3c
sandbox_SCRIPTS = *
-sandboxdir = /opt/tct-manual-w3c-tests/sandbox
+sandboxdir = $(prefix)/opt/tct-manual-w3c-tests/sandbox
EXTRA_DIST = $(sandbox_SCRIPTS)
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)
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)
SUBDIRS = support
sessionhistory_SCRIPTS = *
-sessionhistorydir = /opt/tct-manual-w3c-tests/sessionhistory
+sessionhistorydir = $(prefix)/opt/tct-manual-w3c-tests/sessionhistory
EXTRA_DIST = $(sessionhistory_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-manual-w3c-tests/sessionhistory/support
+supportdir = $(prefix)/opt/tct-manual-w3c-tests/sessionhistory/support
EXTRA_DIST = $(support_SCRIPTS)
SUBDIRS = w3c
svg_SCRIPTS = *
-svgdir = /opt/tct-manual-w3c-tests/svg
+svgdir = $(prefix)/opt/tct-manual-w3c-tests/svg
EXTRA_DIST = $(svg_SCRIPTS)
svgw3c_SCRIPTS = *
-svgw3cdir = /opt/tct-manual-w3c-tests/svg/w3c
+svgw3cdir = $(prefix)/opt/tct-manual-w3c-tests/svg/w3c
EXTRA_DIST = $(svgw3c_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-manual-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-manual-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = webkit
text_SCRIPTS = *
-textdir = /opt/tct-manual-w3c-tests/text
+textdir = $(prefix)/opt/tct-manual-w3c-tests/text
EXTRA_DIST = $(text_SCRIPTS)
textw3c_SCRIPTS = *.html
-textw3cdir = /opt/tct-manual-w3c-tests/text/webkit
+textw3cdir = $(prefix)/opt/tct-manual-w3c-tests/text/webkit
EXTRA_DIST = $(textw3c_SCRIPTS)
SUBDIRS = w3c
TouchEvent_SCRIPTS = *
-TouchEventdir = /opt/tct-manual-w3c-tests/touchevent
+TouchEventdir = $(prefix)/opt/tct-manual-w3c-tests/touchevent
EXTRA_DIST = $(TouchEvent_SCRIPTS)
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)
SUBDIRS = webkit
transitions_SCRIPTS = *
-transitionsdir = /opt/tct-manual-w3c-tests/transitions
+transitionsdir = $(prefix)/opt/tct-manual-w3c-tests/transitions
EXTRA_DIST = $(transitions_SCRIPTS)
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)
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)
ui_SCRIPTS = *
-uidir = /opt/tct-manual-w3c-tests/ui
+uidir = $(prefix)/opt/tct-manual-w3c-tests/ui
EXTRA_DIST = $(ui_SCRIPTS)
SUBDIRS = w3c media
video_SCRIPTS = *
-videodir = /opt/tct-manual-w3c-tests/video
+videodir = $(prefix)/opt/tct-manual-w3c-tests/video
EXTRA_DIST = $(video_SCRIPTS)
videomedia_SCRIPTS = *
-videomediadir = /opt/tct-manual-w3c-tests/video/media
+videomediadir = $(prefix)/opt/tct-manual-w3c-tests/video/media
EXTRA_DIST = $(videomedia_SCRIPTS)
videow3c_SCRIPTS = *
-videow3cdir = /opt/tct-manual-w3c-tests/video/w3c
+videow3cdir = $(prefix)/opt/tct-manual-w3c-tests/video/w3c
EXTRA_DIST = $(videow3c_SCRIPTS)
SUBDIRS = w3c
widgetinterface_SCRIPTS = *
-widgetinterfacedir = /opt/tct-manual-w3c-tests/widgetinterface
+widgetinterfacedir = $(prefix)/opt/tct-manual-w3c-tests/widgetinterface
EXTRA_DIST = $(widgetinterface_SCRIPTS)
widgetinterfacew3c_SCRIPTS = *
-widgetinterfacew3cdir = /opt/tct-manual-w3c-tests/widgetinterface/w3c
+widgetinterfacew3cdir = $(prefix)/opt/tct-manual-w3c-tests/widgetinterface/w3c
EXTRA_DIST = $(widgetinterfacew3c_SCRIPTS)
SUBDIRS = w3c
widgetpackaging_SCRIPTS = *
-widgetpackagingdir = /opt/tct-manual-w3c-tests/widgetpackaging
+widgetpackagingdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpackaging
EXTRA_DIST = $(widgetpackaging_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-manual-w3c-tests/widgetpackaging/w3c
+w3cdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpackaging/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
SUBDIRS = w3c
worker_SCRIPTS = *
-workerdir = /opt/tct-manual-w3c-tests/widgetpolicy
+workerdir = $(prefix)/opt/tct-manual-w3c-tests/widgetpolicy
EXTRA_DIST = $(worker_SCRIPTS)
widgetpolicy_SCRIPTS = *
-widgetpolicydir = /opt/tct-manual-w3c-tests/widgetpolicy/w3c
+widgetpolicydir = $(prefix)/opt/tct-manual-w3c-tests/widgetpolicy/w3c
EXTRA_DIST = $(widgetpolicy_SCRIPTS)
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
SUBDIRS = support
MediaCapture_SCRIPTS = *
-MediaCapturedir = /opt/tct-mediacapture-w3c-tests/mediacapture
+MediaCapturedir = $(prefix)/opt/tct-mediacapture-w3c-tests/mediacapture
EXTRA_DIST = $(MediaCapture_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-mediacapture-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-mediacapture-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-mediacapture-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-mediacapture-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
CSS3MediaQueries_SCRIPTS = *
-CSS3MediaQueriesdir = /opt/tct-mediaqueries-css3-tests/mediaqueries
+CSS3MediaQueriesdir = $(prefix)/opt/tct-mediaqueries-css3-tests/mediaqueries
EXTRA_DIST = $(CSS3MediaQueries_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-mediaqueries-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-mediaqueries-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-mediaqueries-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-mediaqueries-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_DATA = *.html
-workerdir = /opt/tct-messageport-tizen-tests/messageport
+workerdir = $(prefix)/opt/tct-messageport-tizen-tests/messageport
EXTRA_DIST = $(worker_DATA)
-supportdir = /opt/tct-messageport-tizen-tests/messageport/support
+supportdir = $(prefix)/opt/tct-messageport-tizen-tests/messageport/support
support_DATA = *.js
EXTRA_DIST = $(support_DATA)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-messageport-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-messageport-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-messageport-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-messageport-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-messaging-email-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-messaging-email-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-messaging-mms-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-messaging-mms-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-messaging-sms-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-messaging-sms-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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
SUBDIRS = csswg support
tests_SCRIPTS = *
-testsdir = /opt/tct-multicolumn-css3-tests/multicolumn
+testsdir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn
EXTRA_DIST = $(tests_SCRIPTS)
#
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)
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)
multicolumnsupport_SCRIPTS = *
-multicolumnsupportdir = /opt/tct-multicolumn-css3-tests/multicolumn/support
+multicolumnsupportdir = $(prefix)/opt/tct-multicolumn-css3-tests/multicolumn/support
EXTRA_DIST = $(multicolumnsupport_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-multicolumn-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-multicolumn-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-multicolumn-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-multicolumn-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_DATA = *.html
-workerdir = /opt/tct-namespace-tizen-tests/namespace
+workerdir = $(prefix)/opt/tct-namespace-tizen-tests/namespace
EXTRA_DIST = $(worker_DATA)
-supportdir = /opt/tct-namespace-tizen-tests/namespace/support
+supportdir = $(prefix)/opt/tct-namespace-tizen-tests/namespace/support
support_DATA = *.js
EXTRA_DIST = $(support_DATA)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-namespace-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-namespace-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-namespace-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-namespace-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
SUBDIRS = w3c support
navigationtiming_SCRIPTS = *
-navigationtimingdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming
+navigationtimingdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming
EXTRA_DIST = $(navigationtiming_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-navigationtiming-w3c-tests/navigationtiming/support
+supportdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/navigationtiming/support
EXTRA_DIST = $(support_SCRIPTS)
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)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-navigationtiming-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-navigationtiming-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-navigationtiming-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
NetworkInfo_SCRIPTS = *
-NetworkInfodir = /opt/tct-netinfo-w3c-tests/netinfo
+NetworkInfodir = $(prefix)/opt/tct-netinfo-w3c-tests/netinfo
EXTRA_DIST = $(NetworkInfo_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-netinfo-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-netinfo-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-netinfo-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-netinfo-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-networkbearerselection-tizen-tests/networkbearerselection
+workerdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/networkbearerselection
EXTRA_DIST = $(worker_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-networkbearerselection-tizen-tests/networkbearerselection/support
+supportdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/networkbearerselection/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
resources_DATA = *
-resourcesdir = /opt/tct-networkbearerselection-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-networkbearerselection-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-networkbearerselection-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
SUBDIRS=support
nfc_SCRIPTS = *
-nfcdir = /opt/tct-nfc-tizen-tests/nfc
+nfcdir = $(prefix)/opt/tct-nfc-tizen-tests/nfc
EXTRA_DIST = $(nfc_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-nfc-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-nfc-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-nfc-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-nfc-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
notification_SCRIPTS = *
-notificationdir = /opt/tct-notification-tizen-tests/notification
+notificationdir = $(prefix)/opt/tct-notification-tizen-tests/notification
EXTRA_DIST = $(notification_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-notification-tizen-tests/notification/support
+supportdir = $(prefix)/opt/tct-notification-tizen-tests/notification/support
EXTRA_DIST = $(support_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-notification-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-notification-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-notification-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-notification-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
SUBDIRS = support
Notification_SCRIPTS = *
-Notificationdir = /opt/tct-notification-w3c-tests/notification
+Notificationdir = $(prefix)/opt/tct-notification-w3c-tests/notification
EXTRA_DIST = $(Notification_SCRIPTS)
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)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-notification-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-notification-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-notification-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-notification-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-package-tizen-tests/package
+workerdir = $(prefix)/opt/tct-package-tizen-tests/package
EXTRA_DIST = $(worker_SCRIPTS)
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:
resources_DATA = *
-resourcesdir = /opt/tct-package-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-package-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-package-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-package-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
# 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
SUBDIRS = w3c
pagevisibility_SCRIPTS = *
-pagevisibilitydir = /opt/tct-pagevisibility-w3c-tests/pagevisibility
+pagevisibilitydir = $(prefix)/opt/tct-pagevisibility-w3c-tests/pagevisibility
EXTRA_DIST = $(pagevisibility_SCRIPTS)
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)
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)
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-pagevisibility-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-pagevisibility-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-pagevisibility-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
SUBDIRS = support
power_SCRIPTS = *
-powerdir = /opt/tct-power-tizen-tests/power
+powerdir = $(prefix)/opt/tct-power-tizen-tests/power
EXTRA_DIST = $(power_SCRIPTS)
support_DATA = *
-supportdir = /opt/tct-power-tizen-tests/power/support
+supportdir = $(prefix)/opt/tct-power-tizen-tests/power/support
EXTRA_DIST = $(support_DATA)
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-power-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-power-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-power-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-power-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
SUBDIRS = support
privilege_DATA = *.html
-privilegedir = /opt/tct-privilege-tizen-tests/privilege
+privilegedir = $(prefix)/opt/tct-privilege-tizen-tests/privilege
EXTRA_DIST = $(privilege_DATA)
-supportdir = /opt/tct-privilege-tizen-tests/privilege/support
+supportdir = $(prefix)/opt/tct-privilege-tizen-tests/privilege/support
support_DATA = *.js
EXTRA_DIST = $(support_DATA)
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-privilege-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-privilege-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-privilege-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-privilege-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
SUBDIRS = support
push_SCRIPTS = *
-pushdir = /opt/tct-push-tizen-tests/push
+pushdir = $(prefix)/opt/tct-push-tizen-tests/push
EXTRA_DIST = $(push_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-push-tizen-tests/push/support
+supportdir = $(prefix)/opt/tct-push-tizen-tests/push/support
EXTRA_DIST = $(support_SCRIPTS)
resources_DATA = *
-resourcesdir = /opt/tct-push-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-push-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
testkit_DATA = web/*
-testkitdir = /opt/tct-push-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-push-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-sandbox-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-sandbox-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-sandbox-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-sandbox-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = w3c
pagevisibility_SCRIPTS = *
-pagevisibilitydir = /opt/tct-sandbox-html5-tests/sandbox
+pagevisibilitydir = $(prefix)/opt/tct-sandbox-html5-tests/sandbox
EXTRA_DIST = $(pagevisibility_SCRIPTS)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-sandbox-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-sandbox-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-screenorientation-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-screenorientation-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
ScreenOrientation_SCRIPTS = *
-ScreenOrientationdir = /opt/tct-screenorientation-w3c-tests/screenorientation
+ScreenOrientationdir = $(prefix)/opt/tct-screenorientation-w3c-tests/screenorientation
EXTRA_DIST = $(ScreenOrientation_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-screenorientation-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-screenorientation-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
resources_DATA = *
-resourcesdir = /opt/tct-secureelement-tizen-tests/resources
+resourcesdir = $(prefix)/opt/tct-secureelement-tizen-tests/resources
EXTRA_DIST = $(resources_DATA)
SUBDIRS = support
secureelement_SCRIPTS = *
-secureelementdir = /opt/tct-secureelement-tizen-tests/secureelement
+secureelementdir = $(prefix)/opt/tct-secureelement-tizen-tests/secureelement
EXTRA_DIST = $(secureelement_SCRIPTS)
-supportdir = /opt/tct-secureelement-tizen-tests/secureelement/support
+supportdir = $(prefix)/opt/tct-secureelement-tizen-tests/secureelement/support
support_SCRIPTS = *.js
EXTRA_DIST = $(support_SCRIPTS)
testkit_DATA = web/*
-testkitdir = /opt/tct-secureelement-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-secureelement-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
# 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
resources_DATA = *
-resourcesdir = /opt/tct-security-tcs-tests/resources
+resourcesdir = $(prefix)/opt/tct-security-tcs-tests/resources
EXTRA_DIST = $(resources_DATA)
SUBDIRS = support
security_SCRIPTS = *
-securitydir = /opt/tct-security-tcs-tests/security
+securitydir = $(prefix)/opt/tct-security-tcs-tests/security
EXTRA_DIST = $(security_SCRIPTS)
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:
testkit_DATA = web/*
-testkitdir = /opt/tct-security-tcs-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-security-tcs-tests/testkit/web
EXTRA_DIST = $(testkit_DATA)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-selectorslevel1-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SelectorsLevel1_SCRIPTS = *
-SelectorsLevel1dir = /opt/tct-selectorslevel1-w3c-tests/selectorslevel1
+SelectorsLevel1dir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/selectorslevel1
EXTRA_DIST = $(SelectorsLevel1_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-selectorslevel1-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-selectorslevel1-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-selectorslevel2-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = w3c
SelectorsLevel2_SCRIPTS = *
-SelectorsLevel2dir = /opt/tct-selectorslevel2-w3c-tests/selectorslevel2
+SelectorsLevel2dir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/selectorslevel2
EXTRA_DIST = $(SelectorsLevel2_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c
+w3cdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/selectorslevel2/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-selectorslevel2-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-selectorslevel2-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-sessionhistory-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-sessionhistory-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-sessionhistory-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-sessionhistory-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = support w3c
sessionhistory_SCRIPTS = *
-sessionhistorydir = /opt/tct-sessionhistory-html5-tests/sessionhistory
+sessionhistorydir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory
EXTRA_DIST = $(sessionhistory_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-sessionhistory-html5-tests/sessionhistory/support
+supportdir = $(prefix)/opt/tct-sessionhistory-html5-tests/sessionhistory/support
EXTRA_DIST = $(support_SCRIPTS)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-sessionhistory-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-sessionhistory-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-sse-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-sse-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = support w3c
serversentevent_SCRIPTS = *
-serversenteventdir = /opt/tct-sse-w3c-tests/sse
+serversenteventdir = $(prefix)/opt/tct-sse-w3c-tests/sse
EXTRA_DIST = $(serversentevent_SCRIPTS)
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)
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)
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)
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)
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)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-sse-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-sse-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-svg-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-svg-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-svg-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-svg-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = w3c
svg_SCRIPTS = *
-svgdir = /opt/tct-svg-html5-tests/svg
+svgdir = $(prefix)/opt/tct-svg-html5-tests/svg
EXTRA_DIST = $(svg_SCRIPTS)
svgw3c_SCRIPTS = *
-svgw3cdir = /opt/tct-svg-html5-tests/svg/w3c
+svgw3cdir = $(prefix)/opt/tct-svg-html5-tests/svg/w3c
EXTRA_DIST = $(svgw3c_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-svg-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-svg-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-systeminfo-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-systeminfo-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = support
worker_SCRIPTS = *
-workerdir = /opt/tct-systeminfo-tizen-tests/systeminfo
+workerdir = $(prefix)/opt/tct-systeminfo-tizen-tests/systeminfo
EXTRA_DIST = $(worker_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-systeminfo-tizen-tests/systeminfo/support
+supportdir = $(prefix)/opt/tct-systeminfo-tizen-tests/systeminfo/support
EXTRA_DIST = $(support_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-systeminfo-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-systeminfo-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-systemsetting-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-systemsetting-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
SUBDIRS = support
systemsetting_SCRIPTS = *
-systemsettingdir = /opt/tct-systemsetting-tizen-tests/systemsetting
+systemsettingdir = $(prefix)/opt/tct-systemsetting-tizen-tests/systemsetting
EXTRA_DIST = $(systemsetting_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-systemsetting-tizen-tests/systemsetting/support
+supportdir = $(prefix)/opt/tct-systemsetting-tizen-tests/systemsetting/support
EXTRA_DIST = $(support_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-systemsetting-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-systemsetting-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-testconfig/testkit/web
+testkitdir = $(prefix)/opt/tct-testconfig/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-text-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-text-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-text-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-text-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = webkit support
tests_SCRIPTS = *
-testsdir = /opt/tct-text-css3-tests/text
+testsdir = $(prefix)/opt/tct-text-css3-tests/text
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *
-testsdir = /opt/tct-text-css3-tests/text/support
+testsdir = $(prefix)/opt/tct-text-css3-tests/text/support
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *.html
-testsdir = /opt/tct-text-css3-tests/text/webkit
+testsdir = $(prefix)/opt/tct-text-css3-tests/text/webkit
EXTRA_DIST = $(tests_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-time-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-time-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-time-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-time-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support
time_SCRIPTS = *.html
-timedir = /opt/tct-time-tizen-tests/time
+timedir = $(prefix)/opt/tct-time-tizen-tests/time
EXTRA_DIST = $(time_SCRIPTS)
-supportdir = /opt/tct-time-tizen-tests/time/support
+supportdir = $(prefix)/opt/tct-time-tizen-tests/time/support
support_SCRIPTS = *
EXTRA_DIST = $(support_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-tizen-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-tizen-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-tizen-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-tizen-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support
tizen_SCRIPTS = *
-tizendir = /opt/tct-tizen-tizen-tests/tizen
+tizendir = $(prefix)/opt/tct-tizen-tizen-tests/tizen
EXTRA_DIST = $(tizen_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-tizen-tizen-tests/tizen/support
+supportdir = $(prefix)/opt/tct-tizen-tizen-tests/tizen/support
EXTRA_DIST = $(support_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-touchevent-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-touchevent-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-touchevent-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-touchevent-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support w3c
TouchEvent_SCRIPTS = *
-TouchEventdir = /opt/tct-touchevent-w3c-tests/touchevent
+TouchEventdir = $(prefix)/opt/tct-touchevent-w3c-tests/touchevent
EXTRA_DIST = $(TouchEvent_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-touchevent-w3c-tests/touchevent/support
+supportdir = $(prefix)/opt/tct-touchevent-w3c-tests/touchevent/support
EXTRA_DIST = $(support_SCRIPTS)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-transitions-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-transitions-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-transitions-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-transitions-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = webkit support
tests_SCRIPTS = *
-testsdir = /opt/tct-transitions-css3-tests/transitions
+testsdir = $(prefix)/opt/tct-transitions-css3-tests/transitions
EXTRA_DIST = $(tests_SCRIPTS)
tests_SCRIPTS = *
-testsdir = /opt/tct-transitions-css3-tests/transitions/support
+testsdir = $(prefix)/opt/tct-transitions-css3-tests/transitions/support
EXTRA_DIST = $(tests_SCRIPTS)
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)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-typedarrays-nonw3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-typedarrays-nonw3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
TypedArrays_SCRIPTS = *
-TypedArraysdir = /opt/tct-typedarrays-nonw3c-tests/typedarrays
+TypedArraysdir = $(prefix)/opt/tct-typedarrays-nonw3c-tests/typedarrays
EXTRA_DIST = $(TypedArrays_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-ui-css3-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-ui-css3-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-ui-css3-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-ui-css3-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support
tests_SCRIPTS = *
-testsdir = /opt/tct-ui-css3-tests/ui
+testsdir = $(prefix)/opt/tct-ui-css3-tests/ui
EXTRA_DIST = $(tests_SCRIPTS)
userinterfacesupport_SCRIPTS = *
-userinterfacesupportdir = /opt/tct-ui-css3-tests/ui/support
+userinterfacesupportdir = $(prefix)/opt/tct-ui-css3-tests/ui/support
EXTRA_DIST = $(userinterfacesupport_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-vibration-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-vibration-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-vibration-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-vibration-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
Vibration_SCRIPTS = *
-Vibrationdir = /opt/tct-vibration-w3c-tests/vibration
+Vibrationdir = $(prefix)/opt/tct-vibration-w3c-tests/vibration
EXTRA_DIST = $(Vibration_SCRIPTS)
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)
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
w3ccommon_SCRIPTS = *
-w3ccommondir = /opt/tct-video-html5-tests/common
+w3ccommondir = $(prefix)/opt/tct-video-html5-tests/common
EXTRA_DIST = $(w3ccommon_SCRIPTS)
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-video-html5-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-video-html5-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-video-html5-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-video-html5-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
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)
videomedia_SCRIPTS = *
-videomediadir = /opt/tct-video-html5-tests/video/media
+videomediadir = $(prefix)/opt/tct-video-html5-tests/video/media
EXTRA_DIST = $(videomedia_SCRIPTS)
videosupport_SCRIPTS = *
-videosupportdir = /opt/tct-video-html5-tests/video/support
+videosupportdir = $(prefix)/opt/tct-video-html5-tests/video/support
EXTRA_DIST = $(videosupport_SCRIPTS)
videow3c_SCRIPTS = *
-videow3cdir = /opt/tct-video-html5-tests/video/w3c
+videow3cdir = $(prefix)/opt/tct-video-html5-tests/video/w3c
EXTRA_DIST = $(videow3c_SCRIPTS)
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
# 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
SUBDIRS = webidl2
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-webaudio-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-webaudio-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-webaudio-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-webaudio-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support w3c
WebAudio_SCRIPTS = *
-WebAudiodir = /opt/tct-webaudio-w3c-tests/webaudio
+WebAudiodir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio
EXTRA_DIST = $(WebAudio_SCRIPTS)
webaudiosupport_SCRIPTS = *
-webaudiosupportdir = /opt/tct-webaudio-w3c-tests/webaudio/support
+webaudiosupportdir = $(prefix)/opt/tct-webaudio-w3c-tests/webaudio/support
EXTRA_DIST = $(webaudiosupport_SCRIPTS)
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)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-webdatabase-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-webdatabase-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-webdatabase-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-webdatabase-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
WebSQLDatabase_SCRIPTS = *
-WebSQLDatabasedir = /opt/tct-webdatabase-w3c-tests/webdatabase
+WebSQLDatabasedir = $(prefix)/opt/tct-webdatabase-w3c-tests/webdatabase
EXTRA_DIST = $(WebSQLDatabase_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-webgl-nonw3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-webgl-nonw3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-webgl-nonw3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-webgl-nonw3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = khronos support
WebGL_SCRIPTS = *
-WebGLdir = /opt/tct-webgl-nonw3c-tests/webgl
+WebGLdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl
EXTRA_DIST = $(WebGL_SCRIPTS)
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)
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)
webglsupport_SCRIPTS = *
-webglsupportdir = /opt/tct-webgl-nonw3c-tests/webgl/support
+webglsupportdir = $(prefix)/opt/tct-webgl-nonw3c-tests/webgl/support
EXTRA_DIST = $(webglsupport_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-webmessaging-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-webmessaging-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-webmessaging-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-webmessaging-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support w3c
webmessaging_SCRIPTS = *
-webmessagingdir = /opt/tct-webmessaging-w3c-tests/webmessaging
+webmessagingdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging
EXTRA_DIST = $(webmessaging_SCRIPTS)
webmessagingsupport_SCRIPTS = *
-webmessagingsupportdir = /opt/tct-webmessaging-w3c-tests/webmessaging/support
+webmessagingsupportdir = $(prefix)/opt/tct-webmessaging-w3c-tests/webmessaging/support
EXTRA_DIST = $(webmessagingsupport_SCRIPTS)
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)
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)
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)
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)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-websetting-tizen-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-websetting-tizen-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-websetting-tizen-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-websetting-tizen-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support
websetting_SCRIPTS = *
-websettingdir = /opt/tct-websetting-tizen-tests/websetting
+websettingdir = $(prefix)/opt/tct-websetting-tizen-tests/websetting
EXTRA_DIST = $(websetting_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-websetting-tizen-tests/websetting/support
+supportdir = $(prefix)/opt/tct-websetting-tizen-tests/websetting/support
EXTRA_DIST = $(support_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-websocket-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-websocket-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-websocket-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-websocket-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c support
websocket_SCRIPTS = *
-websocketdir = /opt/tct-websocket-w3c-tests/websocket
+websocketdir = $(prefix)/opt/tct-websocket-w3c-tests/websocket
EXTRA_DIST = $(websocket_SCRIPTS)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
# 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
SUBDIRS = webidl2
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-webstorage-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-webstorage-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
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)
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)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-webstorage-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-webstorage-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
webstorage_SCRIPTS = *
-webstoragedir = /opt/tct-webstorage-w3c-tests/webstorage
+webstoragedir = $(prefix)/opt/tct-webstorage-w3c-tests/webstorage
EXTRA_DIST = $(webstorage_SCRIPTS)
w3cfile_SCRIPTS = *
-w3cfiledir = /opt/tct-webstorage-w3c-tests/webstorage/w3c
+w3cfiledir = $(prefix)/opt/tct-webstorage-w3c-tests/webstorage/w3c
EXTRA_DIST = $(w3cfile_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-wgtapi01-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-wgtapi01-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-wgtapi01-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-wgtapi01-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
widgetinterface_SCRIPTS = *
-widgetinterfacedir = /opt/tct-wgtapi01-w3c-tests
+widgetinterfacedir = $(prefix)/opt/tct-wgtapi01-w3c-tests
EXTRA_DIST = $(widgetinterface_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-wgtapi02-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-wgtapi02-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
worker_SCRIPTS = *
-workerdir = /opt/tct-wgtapi02-w3c-tests/widgetinterface
+workerdir = $(prefix)/opt/tct-wgtapi02-w3c-tests/widgetinterface
EXTRA_DIST = $(worker_SCRIPTS)
widgetinterface_SCRIPTS = *
-widgetinterfacedir = /opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c
+widgetinterfacedir = $(prefix)/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c
EXTRA_DIST = $(widgetinterface_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-widget01-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-widget01-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-widget01-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-widget01-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
worker_SCRIPTS = *
-workerdir = /opt/tct-widget01-w3c-tests/widgetpackaging
+workerdir = $(prefix)/opt/tct-widget01-w3c-tests/widgetpackaging
EXTRA_DIST = $(worker_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-widget01-w3c-tests
+w3cdir = $(prefix)/opt/tct-widget01-w3c-tests
EXTRA_DIST = $(w3c_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-widget02-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-widget02-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
scripts_SCRIPTS = *
-scriptsdir = /opt/tct-widget02-w3c-tests/scripts
+scriptsdir = $(prefix)/opt/tct-widget02-w3c-tests/scripts
EXTRA_DIST = $(scripts_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-widget02-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-widget02-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
worker_SCRIPTS = *
-workerdir = /opt/tct-widget02-w3c-tests/widgetpackaging
+workerdir = $(prefix)/opt/tct-widget02-w3c-tests/widgetpackaging
EXTRA_DIST = $(worker_SCRIPTS)
w3c_SCRIPTS = *
-w3cdir = /opt/tct-widget02-w3c-tests/widgetpackaging/w3c
+w3cdir = $(prefix)/opt/tct-widget02-w3c-tests/widgetpackaging/w3c
EXTRA_DIST = $(w3c_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-widgetpolicy-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-widgetpolicy-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c
worker_SCRIPTS = *
-workerdir = /opt/tct-widgetpolicy-w3c-tests/widgetpolicy
+workerdir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/widgetpolicy
EXTRA_DIST = $(worker_SCRIPTS)
widgetpolicy_SCRIPTS = *
-widgetpolicydir = /opt/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c
+widgetpolicydir = $(prefix)/opt/tct-widgetpolicy-w3c-tests/widgetpolicy/w3c
EXTRA_DIST = $(widgetpolicy_SCRIPTS)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-workers-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-workers-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-workers-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-workers-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = support w3c
workers_SCRIPTS = *
-workersdir = /opt/tct-workers-w3c-tests/workers
+workersdir = $(prefix)/opt/tct-workers-w3c-tests/workers
EXTRA_DIST = $(workers_SCRIPTS)
support_SCRIPTS = *
-supportdir = /opt/tct-workers-w3c-tests/workers/support
+supportdir = $(prefix)/opt/tct-workers-w3c-tests/workers/support
EXTRA_DIST = $(support_SCRIPTS)
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)
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)
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
# 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
w3cresources_SCRIPTS = *
-w3cresourcesdir = /opt/tct-xmlhttprequest-w3c-tests/resources
+w3cresourcesdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/resources
EXTRA_DIST = $(w3cresources_SCRIPTS)
testkit_SCRIPTS = web/*
-testkitdir = /opt/tct-xmlhttprequest-w3c-tests/testkit/web
+testkitdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/testkit/web
EXTRA_DIST = $(testkit_SCRIPTS)
SUBDIRS = w3c support
xmlhttprequest_SCRIPTS = *
-xmlhttprequestdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest
+xmlhttprequestdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest
EXTRA_DIST = $(xmlhttprequest_SCRIPTS)
xmlhttprequestsupport_SCRIPTS = *
-xmlhttprequestsupportdir = /opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support
+xmlhttprequestsupportdir = $(prefix)/opt/tct-xmlhttprequest-w3c-tests/xmlhttprequest/support
EXTRA_DIST = $(xmlhttprequestsupport_SCRIPTS)
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)
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)
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)