created makefile and instructions for crunching the tinymce.js file

add ttkcruncher to for crunching javascripts
This commit is contained in:
Pim Snel 2006-07-06 20:39:08 +00:00
parent 9d4ddba49b
commit 1f99dafd1b
3 changed files with 28 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,13 @@
# Makefile for crunching the tinymce_src.js into tinymce.js including the copyright header
all: crunch
crunch:
ttkcrunch -v ./tiny_mce_src.js -a .crunch -o .;exit 0
mv tiny_mce.js tiny_mce.js.old
head -n 8 tiny_mce_src.js > tiny_mce.js
cat tiny_mce_src.crunch.js >> tiny_mce.js
rm tiny_mce_src.crunch.js
clean:
rm tinymce.js.old

View File

@ -0,0 +1,15 @@
HOWTO APPLY PATCHES TO TINYMCE.JS
TinyMCE is developed outside the eGW project so after very update we
must apply our patches again. In order to keep it traceble which
changes are applied to the original tinymce code for eGroupWare,
changes are done against 'tiny_mce_src.js'. This file is human
readable and we can do diffs, etc...
To make the changes active in the optimized file 'tiny_mce.js' make
sure you have got ttkcrunch installed on you POSIX compatible
computer and then run make.
ttkcrunch can be downloaded from http://www.ticatk.com/download.html.
A copy can also be found in phpgwapi/doc