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