Compare commits

...

1 Commits
master ... man

Author SHA1 Message Date
30c0774d62
draft: knowledge base makefile 2025-03-20 18:46:50 +01:00

18
kn.mk Normal file
View File

@ -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 $< $@