annotate debian/rules @ 1340:10d5f06f7566

Fix issue of shouting error when removing a node. - It shout a Python traceback message when removing a node that is referenced by a svg:use node. - when the node been removed, the node would be duplicated. The duplication was used to replace the svg:use one. - The ID of inserted duplication is the same as duplicated node, and modified to a new and unique ID. - Original design of domview_monitor can not handle it. - It is resolved by changing domview_monitor._id2node from single mapping to multiple mapping one.
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 06 Feb 2011 23:12:48 +0800
parents 12464f1138ae
children
rev   line source
385
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
1 #!/usr/bin/make -f
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
2
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
3 MOZ_EXTENSION_PKG := madbuilder
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
4 MOZ_XPI_BUILD_COMMAND = make -C inkscape/firefox madbuilder.xpi ; cp inkscape/firefox/madbuilder.xpi .
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
5
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
6 include /usr/share/cdbs/1/rules/debhelper.mk
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
7 include /usr/share/cdbs/1/class/autotools.mk
28e822aa84e5 Debian packaging script
Ben Lau <xbenlau@gmail.com>
parents:
diff changeset
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}