Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | ICON_FILES := icon.png |
michael@0 | 6 | ICON_DEST = $(FINAL_TARGET)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} |
michael@0 | 7 | INSTALL_TARGETS += ICON |
michael@0 | 8 | |
michael@0 | 9 | # By default, the pre-processor used for jar.mn will use "%" as a marker for ".css" files and "#" |
michael@0 | 10 | # otherwise. This falls apart when a file using one marker needs to include a file with the other |
michael@0 | 11 | # marker since the pre-processor instructions in the included file will not be processed. The |
michael@0 | 12 | # following SVG files need to include a file which uses "%" as the marker so we invoke the pre- |
michael@0 | 13 | # processor ourselves here with the marker specified. The resulting SVG files will get packaged by |
michael@0 | 14 | # the processing of the jar file in this directory. |
michael@0 | 15 | tab-selected-svg: $(srcdir)/../shared/tab-selected.svg |
michael@0 | 16 | $(call py_action,preprocessor, \ |
michael@0 | 17 | --marker % -D TAB_SIDE=start \ |
michael@0 | 18 | $(ACDEFINES) \ |
michael@0 | 19 | $(srcdir)/../shared/tab-selected.svg -o tab-selected-start.svg) |
michael@0 | 20 | $(call py_action,preprocessor, \ |
michael@0 | 21 | --marker % -D TAB_SIDE=end \ |
michael@0 | 22 | $(ACDEFINES) \ |
michael@0 | 23 | $(srcdir)/../shared/tab-selected.svg -o tab-selected-end.svg) |
michael@0 | 24 | |
michael@0 | 25 | .PHONY: tab-selected-svg |
michael@0 | 26 | |
michael@0 | 27 | export:: tab-selected-svg |