From 1026bdc4530929deb7cb746646ceb3bccff57e9e Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sun, 26 Apr 2009 06:03:09 +0000 Subject: [PATCH] --- Makefile | 5 +++-- full_calendar.js | 9 +++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bbdfceb..8d3d00d 100644 --- a/Makefile +++ b/Makefile @@ -12,12 +12,13 @@ REV = `svn info . | grep Rev: | sed 's/.*: //g'` zip: @mkdir -p build/full_calendar @cp -rt build/full_calendar ${FILES} - @sed -i "s/Version:/& ${VER}/" build/full_calendar/full_calendar.js + @rm -rf `find build -type d -name .svn` + @sed -i "s/FullCalendar/& v${VER}/" build/full_calendar/full_calendar.js @sed -i "s/Date:/& ${DATE}/" build/full_calendar/full_calendar.js @sed -i "s/Revision:/& ${REV}/" build/full_calendar/full_calendar.js @mkdir -p dist @cd build;\ - zip -r ../dist/full_calendar_`cat ../version.txt`.zip * + zip -r ../dist/full_calendar_`cat ../version.txt`.zip full_calendar clean: @rm -rf build/* diff --git a/full_calendar.js b/full_calendar.js index 93990e8..3a95bcc 100644 --- a/full_calendar.js +++ b/full_calendar.js @@ -1,9 +1,14 @@ /* - * - * Version: + * FullCalendar * Date: * Revision: * + * Examples and documentation at: http://arshaw.com/fullcalendar/ + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * */ (function($) {