diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-23 09:32:41 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-23 09:32:41 +0100 |
commit | b230198488ef670ed6e374e0d39d5f4e6ac07e8d (patch) | |
tree | 38656bf7ba986e22a08ce21909856abedc4bd4fa /src/ee/tools/templates | |
parent | 944e812879dbb0dd46d8d67e5aa34d5b420525d8 (diff) | |
download | ee-python-b230198488ef670ed6e374e0d39d5f4e6ac07e8d.tar.gz ee-python-b230198488ef670ed6e374e0d39d5f4e6ac07e8d.tar.bz2 ee-python-b230198488ef670ed6e374e0d39d5f4e6ac07e8d.tar.xz ee-python-b230198488ef670ed6e374e0d39d5f4e6ac07e8d.zip |
order.rst.j2: Prettier internal links.
ninja: Name the generated .rst file for orders too.
Diffstat (limited to 'src/ee/tools/templates')
-rw-r--r-- | src/ee/tools/templates/build.ninja.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ee/tools/templates/build.ninja.j2 b/src/ee/tools/templates/build.ninja.j2 index 8552d96..9489aac 100644 --- a/src/ee/tools/templates/build.ninja.j2 +++ b/src/ee/tools/templates/build.ninja.j2 @@ -1,4 +1,5 @@ ee = {{ ee }} +report_dir = {{ project.report_dir }} sch = {{ sch | ninja_path }} sch_files = {{ sch_files | ninja_path }} pcb = {{ pcb | ninja_path }} @@ -71,7 +72,7 @@ build {{ out }}: import-parts-yaml {{ f }} # default {{ out }} {% endfor %} -build ee/order.xml: create-order ee/sch.xml {%- for p in part_dbs %} {{ p }}.xml{% endfor %} +build ee/order.xml | $report_dir/order.rst: create-order ee/sch.xml {%- for p in part_dbs %} {{ p }}.xml{% endfor %} schematic = ee/sch.xml part_dbs ={%- for p in part_dbs %} {{ p }}.xml{% endfor %} |