Fix version strings for out-of-tree builds
Fix version strings for out-of-tree builds

Still assumes source tree is a git repository

antmicro/yosys,azonenberg/yosys,cliffordwolf/yosys,SymbiFlow/yosys,azonenberg/yosys,cliffordwolf/yosys,swallat/yosys,swallat/yosys,antmicro/yosys,antmicro/yosys,swallat/yosys,swallat/yosys,SymbiFlow/yosys,cliffordwolf/yosys,swallat/yosys,antmicro/yosys,SymbiFlow/yosys,swallat/yosys,SymbiFlow/yosys,azonenberg/yosys,cliffordwolf/yosys,cliffordwolf/yosys,SymbiFlow/yosys,azonenberg/yosys,YosysHQ/yosys,cliffordwolf/yosys,SymbiFlow/yosys,swallat/yosys,YosysHQ/yosys,YosysHQ/yosys,SymbiFlow/yosys,swallat/yosys,antmicro/yosys,azonenberg/yosys,antmicro/yosys,swallat/yosys,azonenberg/yosys,YosysHQ/yosys,SymbiFlow/yosys,YosysHQ/yosys,YosysHQ/yosys,azonenberg/yosys,cliffordwolf/yosys,cliffordwolf/yosys,antmicro/yosys,azonenberg/yosys,YosysHQ/yosys,antmicro/yosys,cliffordwolf/yosys,YosysHQ/yosys,azonenberg/yosys