From b9cf09ff553a9436ccb4930d52ad44a06cdfe80b Mon Sep 17 00:00:00 2001 From: Adam Bissen Date: Tue, 20 Aug 2024 18:11:31 -0500 Subject: [PATCH] Move custom library. Fix paths for library to be relative. --- .gitmodules | 2 +- .../KiCAD_Custom_Library | 0 PCB_LineVoltageThermostat/fp-lib-table | 2 +- PCB_LineVoltageThermostat/sym-lib-table | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename KiCAD_Custom_Library => PCB_LineVoltageThermostat/KiCAD_Custom_Library (100%) diff --git a/.gitmodules b/.gitmodules index ed907d5..2752c28 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "KiCAD_Custom_Library"] - path = KiCAD_Custom_Library + path = PCB_LineVoltageThermostat/KiCAD_Custom_Library url = ssh://git@git.adambissen.me:8022/bissen21/KiCAD_Custom_Library.git diff --git a/KiCAD_Custom_Library b/PCB_LineVoltageThermostat/KiCAD_Custom_Library similarity index 100% rename from KiCAD_Custom_Library rename to PCB_LineVoltageThermostat/KiCAD_Custom_Library diff --git a/PCB_LineVoltageThermostat/fp-lib-table b/PCB_LineVoltageThermostat/fp-lib-table index 8c645cf..63ca901 100644 --- a/PCB_LineVoltageThermostat/fp-lib-table +++ b/PCB_LineVoltageThermostat/fp-lib-table @@ -1,4 +1,4 @@ (fp_lib_table (version 7) - (lib (name "Custom_Library")(type "KiCad")(uri "/home/adam/git/LineVoltageThermostat/KiCAD_Custom_Library/Custom_Library.pretty")(options "")(descr "")) + (lib (name "Custom_Library")(type "KiCad")(uri "${KIPRJMOD}/KiCAD_Custom_Library/Custom_Library.pretty")(options "")(descr "")) ) diff --git a/PCB_LineVoltageThermostat/sym-lib-table b/PCB_LineVoltageThermostat/sym-lib-table index a3afec9..d9c4806 100644 --- a/PCB_LineVoltageThermostat/sym-lib-table +++ b/PCB_LineVoltageThermostat/sym-lib-table @@ -1,4 +1,4 @@ (sym_lib_table (version 7) - (lib (name "RELAY_G2RL-1A-E2-CV-HA_OMR")(type "KiCad")(uri "/home/adam/git/LineVoltageThermostat/KiCAD_Custom_Library/Custom_Library.pretty/RELAY_G2RL-1A-E2-CV-HA_OMR.kicad_sym")(options "")(descr "")) + (lib (name "Custom_Library")(type "KiCad")(uri "${KIPRJMOD}/KiCAD_Custom_Library/Custom_Library.kicad_sym")(options "")(descr "")) )