Mercurial > MadButterfly
annotate debian/rules @ 1285:e2d2532c3115
Replace a workaround with a more semantic one.
- In old implementation, it has not clear intention in the syntax.
- I move the line doing real works into the try-except block to
emphasize the intention of skipping scene nodes that is incomplete.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 15 Jan 2011 18:32:33 +0800 |
parents | 12464f1138ae |
children |
rev | line source |
---|---|
385 | 1 #!/usr/bin/make -f |
2 | |
3 MOZ_EXTENSION_PKG := madbuilder | |
4 MOZ_XPI_BUILD_COMMAND = make -C inkscape/firefox madbuilder.xpi ; cp inkscape/firefox/madbuilder.xpi . | |
5 | |
6 include /usr/share/cdbs/1/rules/debhelper.mk | |
7 include /usr/share/cdbs/1/class/autotools.mk | |
8 include /usr/share/mozilla-devscripts/xpi.mk | |
386
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
9 |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
10 TEMPLATE_PATH=${CURDIR}/debian/madbuilder/usr/local/share/mb |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
11 |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
12 install/madbuilder:: |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
13 install -m 0755 ${CURDIR}/inkscape/firefox/helper_mb.py \ |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
14 ${CURDIR}/debian/madbuilder/usr/share/madbutterfly/inkscape/usr/bin |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
15 |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
16 mkdir -p ${TEMPLATE_PATH} |
12464f1138ae
[MadBuilder] Install template and configuration to mozpluggerrc
Ben Lau <xbenlau@gmail.com>
parents:
385
diff
changeset
|
17 cp -a ${CURDIR}/inkscape/firefox/template ${TEMPLATE_PATH} |