mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 17:04:50 +00:00
18 lines
489 B
Makefile
18 lines
489 B
Makefile
# 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
|