comparison inkscape/firefox/Makefile @ 339:63aaf96209cd

* Move location of files so that we can produce XPI file from them. * Add the produce to compile the inkscape for madbutterfly * Add makefile to produce inkscape and madbuilder.xpi
author wycc
date Sun, 08 Mar 2009 10:05:22 +0800
parents
children 6e01d3d7d104
comparison
equal deleted inserted replaced
336:995eb2c1a1aa 339:63aaf96209cd
1 madbuilder.xpi: chrome.manifest install.rdf content/*
2 zip madbuilder.xpi chrome.manifest content/* install.rdf README
3
4 inkscape-0.46.tar.gz:
5 wget -O inkscape-0.46.tar.gz http://nchc.dl.sourceforge.net/sourceforge/inkscape/inkscape-0.46.tar.gz
6
7 inkscape-0.46/.configured: inkscape-0.46.tar.gz
8 tar xzvf inkscape-0.46.tar.gz
9 cd inkscape-0.46; patch -p1 < ../inkscape-mb-patch.diff ; ./configure
10 touch inkscape-0.46/.configured
11
12 inkscape-0.46/.compiled: inkscape-0.46/.configured
13 cd inkscape-0.46; make -j 2
14 touch inkscape-0.46/.compiled
15
16 inkscape-mb: inkscape-0.46/.compiled
17 rm -rf inkscape-0.46/dest
18 - mkdir -p inkscape-0.46/dest/usr/local
19 cd inkscape-0.46; make prefix=`pwd`/dest/usr/local install
20 cp MBFilter.inx MBServer.py testsoap.py inkscape-0.46/dest/usr/local/share/inkscape/extensions
21 cp helper_mb.py inkscape-0.46/dest/usr/local/bin
22 chmod +x inkscape-0.46/dest/usr/local/bin/helper_mb.py
23 mv inkscape-0.46/dest/usr/local/bin/inkscape inkscape-0.46/dest/usr/local/bin/inkscape-mb
24 cd inkscape-0.46/dest; tar czvf ../../inkscape-mb.tgz usr
25
26
27
28 mozplugger:
29
30
31 clean:
32 rm -f inkscape-0.46/.configured inkscape-0.46/.compiled
33 make -C inkscape-0.46 clean