Mercurial > MadButterfly
annotate inkscape/firefox/Makefile @ 1299:6949e2b6cae2
Add unlink clone checker.
- Monitor changes of DOM-tree of the document
- Unlinking a clone is actually removing the clone and copying nodes
from the source.
- Copy value of ID of a node to saved_id to track source of copy
nodes.
- For a new node with 'saved_id' is a copy of another node.
- Copy vulae of 'saved_id' to 'ns0:duplicate-src' to keep the source
- Change value of 'saved_id' to the value of ID of the node for
later copying.
- For a new node without 'saved_id' is not a copy of another node.
- only set 'saved_id' to the value of its ID.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 16 Jan 2011 16:13:37 +0800 |
parents | 3c3de5520e37 |
children |
rev | line source |
---|---|
340 | 1 all: madbuilder.xpi inkscape-mb |
2 | |
339
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
3 madbuilder.xpi: chrome.manifest install.rdf content/* |
390 | 4 cp -a template content |
355 | 5 zip -r madbuilder.xpi chrome.manifest content/* install.rdf README |
390 | 6 rm -rf content/template |
339
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
7 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
8 inkscape-0.46.tar.gz: |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
9 wget -O inkscape-0.46.tar.gz http://nchc.dl.sourceforge.net/sourceforge/inkscape/inkscape-0.46.tar.gz |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
10 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
11 inkscape-0.46/.configured: inkscape-0.46.tar.gz |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
12 tar xzvf inkscape-0.46.tar.gz |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
13 cd inkscape-0.46; patch -p1 < ../inkscape-mb-patch.diff ; ./configure |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
14 touch inkscape-0.46/.configured |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
15 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
16 inkscape-0.46/.compiled: inkscape-0.46/.configured |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
17 cd inkscape-0.46; make -j 2 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
18 touch inkscape-0.46/.compiled |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
19 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
20 inkscape-mb: inkscape-0.46/.compiled |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
21 rm -rf inkscape-0.46/dest |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
22 - mkdir -p inkscape-0.46/dest/usr/local |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
23 cd inkscape-0.46; make prefix=`pwd`/dest/usr/local install |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
24 cp MBFilter.inx MBServer.py testsoap.py inkscape-0.46/dest/usr/local/share/inkscape/extensions |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
25 cp helper_mb.py inkscape-0.46/dest/usr/local/bin |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
26 chmod +x inkscape-0.46/dest/usr/local/bin/helper_mb.py |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
27 mv inkscape-0.46/dest/usr/local/bin/inkscape inkscape-0.46/dest/usr/local/bin/inkscape-mb |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
28 cd inkscape-0.46/dest; tar czvf ../../inkscape-mb.tgz usr |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
29 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
30 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
31 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
32 mozplugger: |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
33 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
34 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
35 clean: |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
36 rm -f inkscape-0.46/.configured inkscape-0.46/.compiled |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
37 make -C inkscape-0.46 clean |