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
))
9 all: ls012_optable
$(pdfs
)
12 python3 ls012_optable.py
14 # generate dependency files, also generates intermediate .mdwn files too
15 tex_out
/%.mdwn.d
: %.mdwn ..
/..
/mdwn_inline.py
17 ..
/..
/mdwn_inline.py
$< tex_out
/$*.mdwn
19 %.pdf
: tex_out
/%.mdwn ..
/..
/pandoc_img.py
21 --filter ..
/..
/pandoc_img.py \
23 -V margin-bottom
=0.9in \
24 -V margin-left
=0.4in \
25 -V margin-right
=0.4in \
35 rsync
-HPavz
*.pdf libre-soc.org
:opf_isa_wg
/
36 ssh libre-soc.org
'cp opf_isa_wg/*.pdf /var/www/ftp.libre-riscv.org/opf_ext_rfc/'