Optimize build process
Created by: kaat0
Discussed in https://github.com/railtoolkit/tikz-trackschematic/discussions/17
Originally posted by apriljunge March 3, 2022
- Replace copying with environment variables
I am really unsure about this, because I do not know what's exaclty the magic behind copying the files to different folders. It didn't work for me. I could fix it by setting the environment vairable
TEXINPUTS(example below for test.sh). Maybe this snippet could replace the copy process? Then maybe the script doesn't need super user rights any more? The environment variable modifies the directories where pdflatex looks for sty files (stackexchange discussion)
export TEXINPUTS=.:../src/:$TEXINPUTS