fullcalendar/Makefile

31 lines
775 B
Makefile
Raw Normal View History

2009-04-26 06:43:27 +02:00
2009-05-31 22:56:02 +02:00
VER = `cat version.txt`
DATE = `svn info | grep Date: | sed 's/.*: //g'`
REV = `svn info | grep Rev: | sed 's/.*: //g'`
2009-09-08 05:37:35 +02:00
JS_SRC_FILES =\
main.js\
grid.js\
view.js\
util.js
2009-05-31 22:56:02 +02:00
2009-09-08 05:37:35 +02:00
CSS_SRC_FILES =\
main.css\
grid.css
OTHER_FILES =\
src/gcal.js\
src/jquery\
examples\
changelog.txt
2009-04-26 06:43:27 +02:00
zip:
2009-09-08 05:37:35 +02:00
mkdir -p build/fullcalendar-${VER}/uncompressed
cd src; cat misc/head.txt ${JS_SRC_FILES} misc/foot.txt >\
../build/fullcalendar-`cat ../version.txt`/uncompressed/fullcalendar.js
cd src/css; cat ${CSS_SRC_FILES} >\
../../build/fullcalendar-`cat ../../version.txt`/fullcalendar.css
java -jar build/yuicompressor-2.4.2.jar\
-o build/fullcalendar-${VER}/fullcalendar.js\
build/fullcalendar-${VER}/uncompressed/fullcalendar.js
cp -rt build/fullcalendar-${VER} ${OTHER_FILES}