Updating icon build paths

Icon build scripts required relative paths. Updating to account for new
depth.
This commit is contained in:
Seth Hillbrand 2019-02-14 14:58:04 -08:00
parent ad77863668
commit b6565079ee
2 changed files with 11 additions and 11 deletions

View File

@ -9,17 +9,17 @@ import os
from shutil import copy, rmtree from shutil import copy, rmtree
from subprocess import call from subprocess import call
ICON_SOURCES = "../bitmaps_png/sources/" ICON_SOURCES = "../../bitmaps_png/sources/"
ICONS = [ ICONS = [
("bitmap2component", ("bitmap2component",), "../bitmap2component"), ("bitmap2component", ("bitmap2component",), "../../bitmap2component"),
("cvpcb", ("cvpcb", "cvpcb_doc"), "../cvpcb"), ("cvpcb", ("cvpcb", "cvpcb_doc"), "../../cvpcb"),
("eeschema", ("eeschema", "eeschema_doc"), "../eeschema"), ("eeschema", ("eeschema", "eeschema_doc"), "../../eeschema"),
("gerbview", ("gerbview", "gerbview_doc"), "../gerbview"), ("gerbview", ("gerbview", "gerbview_doc"), "../../gerbview"),
("kicad", ("kicad", "kicad_doc"), "../kicad"), ("kicad", ("kicad", "kicad_doc"), "../../kicad"),
("pagelayout_editor", ("pl_editor", "pl_editor_doc"), "../pagelayout_editor"), ("pagelayout_editor", ("pl_editor", "pl_editor_doc"), "../../pagelayout_editor"),
("pcbcalculator", ("pcb_calculator",), "../pcb_calculator"), ("pcbcalculator", ("pcb_calculator",), "../../pcb_calculator"),
("pcbnew", ("pcbnew", "pcbnew_doc"), "../pcbnew") ("pcbnew", ("pcbnew", "pcbnew_doc"), "../../pcbnew")
] ]
SIZES = [ SIZES = [

4
scripting/build_tools/mk_mime_icons.py Normal file → Executable file
View File

@ -11,8 +11,8 @@ import xml.etree.ElementTree as ET
from shutil import copyfile, rmtree from shutil import copyfile, rmtree
from subprocess import call from subprocess import call
ICON_SOURCES = "../bitmaps_png/sources/" ICON_SOURCES = "../../bitmaps_png/sources/"
DEST_FOLDER = "../resources/linux/mime" DEST_FOLDER = "../../resources/linux/mime"
def icon_sourcename(icon): def icon_sourcename(icon):
return ICON_SOURCES+"/icon_%s.svg" % icon return ICON_SOURCES+"/icon_%s.svg" % icon