updating Makefile
This commit is contained in:
parent
ebfc318022
commit
5bee2174ea
14
Makefile
14
Makefile
|
@ -4,8 +4,13 @@ TARGETS = out/Paradigmen-001.pdf out/qnd-staemme.pdf
|
|||
|
||||
FROM_FORMAT = markdown+grid_tables+raw_tex+table_captions+yaml_metadata_block+tex_math_dollars
|
||||
|
||||
SCRIPT_DIR=./src/scripts
|
||||
TAB2MD=$(SCRIPT_DIR)/tab2md.awk
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
$(info verb_csv_files: $(verb_csv_files))
|
||||
|
||||
%.pdf: %.md
|
||||
pandoc --from $(FROM_FORMAT) --pdf-engine=xelatex -o $@ $<
|
||||
|
||||
|
@ -15,13 +20,8 @@ out/%.pdf: %.md
|
|||
out/%.tex: %.md
|
||||
pandoc --from $(FROM_FORMAT) --pdf-engine=xelatex -o $@ $<
|
||||
|
||||
|
||||
verb.md: verb.csv
|
||||
sed -e '2,$$ s/--/-\\-/g' \
|
||||
-e '2,$$ s/v/$$v_k$$/g' \
|
||||
-e '2,$$ s/w/$$v'"'"'_k$$/g' \
|
||||
-e '2,$$ s/w/$$v'"''"'_k$$/g' verb.csv \
|
||||
| tr '\t' ';' | csvtomd -d ';' -p 1 > $@
|
||||
out/%.md: src/tables/%.txt
|
||||
$(TAB2MD) $< > $@
|
||||
|
||||
.PHONY: verb.md
|
||||
|
||||
|
|
Loading…
Reference in New Issue