fullcalendar/Makefile

27 lines
587 B
Makefile
Raw Normal View History

2009-04-26 06:43:27 +02:00
FILES =\
*.js\
*.css\
jquery\
examples
2009-04-26 06:58:07 +02:00
VER = `cat version.txt`
DATE = `svn info . | grep Date: | sed 's/.*: //g'`
REV = `svn info . | grep Rev: | sed 's/.*: //g'`
2009-04-26 06:43:27 +02:00
zip:
2009-04-26 23:38:38 +02:00
@mkdir -p fullcalendar
@cp -rt fullcalendar ${FILES}
@rm -rf `find fullcalendar -type d -name .svn`
@sed -i "s/FullCalendar/& v${VER}/" fullcalendar/fullcalendar.js
@sed -i "s/Date:/& ${DATE}/" fullcalendar/fullcalendar.js
@sed -i "s/Revision:/& ${REV}/" fullcalendar/fullcalendar.js
2009-04-26 06:43:27 +02:00
@mkdir -p dist
2009-04-26 23:38:38 +02:00
@zip -r dist/fullcalendar-${VER}.zip fullcalendar
@rm -rf fullcalendar
2009-04-26 06:43:27 +02:00
clean:
@rm -rf dist/*