Files
Thun/docs/yow/Makefile
T
Simon Forman dc76b4da2e Way overthinking this.
I want stub Markdown files for each (as yet undocumented) function.
The functions have docstrings but they are in ReST format.  Using the
`wrod.py` script I can fins all the functions that don't yet have doc
files and write their docstrings into a ReST template.  Then I use Make
and Pandoc to convert the ReST files to Markdown.
2022-03-23 10:33:02 -07:00

11 lines
140 B
Makefile

rsts = $(wildcard *.rst)
mds = $(patsubst %.rst,%.md,$(rsts))
all: $(mds)
clean:
$(RM) -v $(mds)
$(mds): %.md : %.rst
pandoc $< -o $@