Files
Thun/docs/Makefile
T
sforman 9ca9239738 Minor work on the new site.
I'm moving away from OSDN, there have been a few technical issues
recently.
2023-07-26 20:47:57 -07:00

17 lines
391 B
Makefile

# Docs toplevel makefile.
README=./source/index.md
BUILD_SCRIPT=build_index.py
GENERATOR=python $(BUILD_SCRIPT)
HTML_OUTPUT_DIR=./html
NOTEBOOK_OUTPUT_DIR=$(HTML_OUTPUT_DIR)/notebooks
all: $(HTML_OUTPUT_DIR)/index.html
$(HTML_OUTPUT_DIR)/index.html: $(README) $(BUILD_SCRIPT)
$(GENERATOR) $(README) > $(HTML_OUTPUT_DIR)/index.html
# python -m markdown -f index.html -o html $(README)