diff --git a/kn.mk b/kn.mk new file mode 100644 index 0000000..d29c00a --- /dev/null +++ b/kn.mk @@ -0,0 +1,18 @@ +all_docs != find krov/serverko -name README.md + +path_to_docs = $(patsubst krov/%/README.md, docs/%.md, $(all_docs)) + +stripped_docs = $(notdir $(path_to_docs)) + +x: + $(info $(all_docs)) + $(info $(stripped_docs)) + +docs/kralizec/%.md: kralizec/%/README.md + mkdir -p $(@D) + cp $< $@ + +docs/serverko/%.md: krov/serverko/%/README.md + mkdir -p $(@D) + cp $< $@ +