1 .PHONY
: all clean upload
5 main_sources
= $(wildcard ls
[0-9][0-9][0-9].mdwn
)
6 pdfs
= $(patsubst %.mdwn
,%.pdf
,$(main_sources
))
7 deps
= $(patsubst %,tex_out
/%.d
,$(main_sources
))
11 ls012
= $(realpath ls012
)
13 $(ls012
)/areas.mdwn
$(ls012
)/xo_cost.mdwn \
14 $(ls012
)/level.mdwn
: ls012_optable.py ls012
/optable.csv
16 python3 ls012_optable.py
18 tex_out
/%.mdwn.d
: %.mdwn ..
/..
/mdwn_inline.py
20 @..
/..
/mdwn_inline.py
--deps
$< tex_out
/$*.mdwn
22 tex_out
/%.mdwn
: %.mdwn ..
/..
/mdwn_inline.py
24 ..
/..
/mdwn_inline.py
$< tex_out
/$*.mdwn
26 %.pdf
: tex_out
/%.mdwn ..
/..
/pandoc_img.py
28 --filter ..
/..
/pandoc_img.py \
30 -V margin-bottom
=0.9in \
31 -V margin-left
=0.4in \
32 -V margin-right
=0.4in \
42 rsync
-HPavz
*.pdf libre-soc.org
:opf_isa_wg
/
43 ssh libre-soc.org
'cp opf_isa_wg/*.pdf /var/www/ftp.libre-riscv.org/opf_ext_rfc/'
46 rm -fr
*.pdf tex_out ls012
/areas.mdwn ls012
/xo_cost.mdwn