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