X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=Makefile;h=52fbdb39fd8d49ab262c1e25629705c958cd5b6d;hb=73ab36b8f8f14ed7872bf930a08d8eae68f30fda;hp=f3f2688932f41740cb47b0a5d678053f42fba99a;hpb=4434b5ae65bd3ecb9ea5b7e6a56d5b714748de90;p=jquery.git diff --git a/Makefile b/Makefile index f3f2688..52fbdb3 100644 --- a/Makefile +++ b/Makefile @@ -5,14 +5,14 @@ PREFIX = . DOCS_DIR = ${PREFIX}/docs TEST_DIR = ${PREFIX}/test DIST_DIR = ${PREFIX}/dist +SPEED_DIR = ${PREFIX}/speed PLUG_DIR = ../plugins BASE_FILES = ${SRC_DIR}/jquery/jquery.js\ ${SRC_DIR}/selector/selector.js\ ${SRC_DIR}/event/event.js\ - ${SRC_DIR}/ajax/ajax.js - #${SRC_DIR}/fx/fx.js\ - #${SRC_DIR}/ajax/ajax.js + ${SRC_DIR}/ajax/ajax.js\ + ${SRC_DIR}/fx/fx.js PLUGINS = ${PLUG_DIR}/button/*\ ${PLUG_DIR}/center/*\ @@ -118,6 +118,8 @@ test: ${JQ} @@echo " - Copying over script files." @@cp -fR ${BUILD_DIR}/test/data ${TEST_DIR}/data @@cp -f ${BUILD_DIR}/test/index.html ${TEST_DIR} + @@cp -f ${BUILD_DIR}/test/fx.html ${TEST_DIR} + @@cp -f ${BUILD_DIR}/test/cow.jpg ${TEST_DIR} @@echo " - Compiling Test Cases" @@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR} @@ -147,6 +149,21 @@ docs: ${JQ} @@echo "Documentation Built" @@echo +speed: ${JQ} + @@echo "Building Speed Test Suite" + + @@echo " - Making Speed Test Suite Directory:" ${SPEED_DIR} + @@mkdir -p ${SPEED_DIR} + + @@echo " - Copying over script files." + @@cp -f ${BUILD_DIR}/speed/index.html ${SPEED_DIR} + @@cp -f ${BUILD_DIR}/speed/benchmarker.css ${SPEED_DIR} + @@cp -f ${BUILD_DIR}/speed/benchmarker.js ${SPEED_DIR} + @@cp -f ${BUILD_DIR}/speed/jquery-1.1.2.js ${SPEED_DIR} + + @@echo "Speed Test Suite Built" + @@echo + clean: @@echo "Removing Distribution directory:" ${DIST_DIR} @@rm -rf ${DIST_DIR} @@ -156,3 +173,6 @@ clean: @@echo "Removing Documentation directory:" ${DOCS_DIR} @@rm -rf ${DOCS_DIR} + + @@echo "Removing Speed Test Suite directory:" ${SPEED_DIR} + @@rm -rf ${SPEED_DIR}