# Miller docs have lots of text generated by running the Miller executable.  We
# have source files named like foo.md.in which are writable; the ./genmds
# script turns each into its respective foo.md file.

FILES=$(wildcard *.md)

genmds: $(FILES)

%.md: %.md.in
	@./genmds $<

# Do this to force-build if the *.md.in inputs are unchanged but something else
# is, e.g. mlr source-code changes as affecting the output of autogen code
# snippets.
forcebuild:
	@./genmds

.PHONY: forcebuild
