diff --git a/hardware/Rakefile b/hardware/Rakefile index 2f9acc8..aac7666 100644 --- a/hardware/Rakefile +++ b/hardware/Rakefile @@ -299,7 +299,9 @@ end desc "copy schematic to version it: include version, revision, and date" targets.each do |target| file target[:vsch] => target[:sch] do |t| + # embed symbols sh "cp #{t.prerequisites.join(' ')} #{t.name}" + sh "gschlas -e #{t.name}" # on \ is to prevent ruby interpreting it, th other is for sed # the version sh "sed -i 's/\\(version=\\)\\$Version\\$/\\1#{version}/' #{t.name}"