doocus update and meeting list export
This commit is contained in:
7
Makefile
7
Makefile
@@ -33,6 +33,11 @@ EXT ?=
|
||||
PYTHON ?=
|
||||
export PYTHON
|
||||
|
||||
# Optional: process only a newline list of RELATIVE paths (re-rooted at IN),
|
||||
# e.g. the doocus meeting export. Used to run meetus over just the meetings:
|
||||
# make batch IN="/mnt/drive" OUT=docs-output LIST=docs-output/meetings.txt
|
||||
LIST ?=
|
||||
|
||||
# doocus (tree indexing) knobs. DOCS_OUT defaults to docs-output; the whole input
|
||||
# tree is replicated into index.json under it. DOC_EXTRA forwards one-off flags to
|
||||
# process_tree.py (e.g. --render for pdf page thumbnails, --ocr for scanned pdfs).
|
||||
@@ -45,7 +50,7 @@ PY := $(if $(PYTHON),$(PYTHON),python3)
|
||||
.PHONY: batch dry docs docs-dry help
|
||||
|
||||
batch:
|
||||
@ctrl/batch.sh -i "$(IN)" -o "$(OUT)" $(if $(EXT),-e "$(EXT)") -- \
|
||||
@ctrl/batch.sh -i "$(IN)" -o "$(OUT)" $(if $(EXT),-e "$(EXT)") $(if $(LIST),-l "$(LIST)") -- \
|
||||
$(FLAGS) $(if $(AUDIO_LANG),--language $(AUDIO_LANG)) $(EXTRA)
|
||||
|
||||
dry:
|
||||
|
||||
Reference in New Issue
Block a user