2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2012-12-11 07:36:40 -08:00
|
|
|
ICON_FILES := icon.png
|
|
|
|
ICON_DEST = $(FINAL_TARGET)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
|
|
|
|
INSTALL_TARGETS += ICON
|
2013-10-28 00:49:37 -07:00
|
|
|
|
|
|
|
# By default, the pre-processor used for jar.mn will use "%" as a marker for ".css" files and "#"
|
|
|
|
# otherwise. This falls apart when a file using one marker needs to include a file with the other
|
|
|
|
# marker since the pre-processor instructions in the included file will not be processed. The
|
|
|
|
# following SVG files need to include a file which uses "%" as the marker so we invoke the pre-
|
|
|
|
# processor ourselves here with the marker specified. The resulting SVG files will get packaged by
|
|
|
|
# the processing of the jar file in this directory.
|
|
|
|
tab-selected-svg: $(srcdir)/../shared/tab-selected.svg
|
2013-11-11 01:15:33 -08:00
|
|
|
$(call py_action,preprocessor, \
|
2013-12-02 13:34:21 -08:00
|
|
|
--marker % -D TAB_SIDE=start \
|
2013-10-28 00:49:37 -07:00
|
|
|
$(ACDEFINES) \
|
2013-11-11 02:50:47 -08:00
|
|
|
$(srcdir)/../shared/tab-selected.svg -o tab-selected-start.svg)
|
2013-11-11 01:15:33 -08:00
|
|
|
$(call py_action,preprocessor, \
|
2013-12-02 13:34:21 -08:00
|
|
|
--marker % -D TAB_SIDE=end \
|
2013-10-28 00:49:37 -07:00
|
|
|
$(ACDEFINES) \
|
2013-11-11 02:50:47 -08:00
|
|
|
$(srcdir)/../shared/tab-selected.svg -o tab-selected-end.svg)
|
2013-10-28 00:49:37 -07:00
|
|
|
|
|
|
|
.PHONY: tab-selected-svg
|
|
|
|
|
|
|
|
export:: tab-selected-svg
|