Initial setup of repo

This commit is contained in:
Olaf
2025-06-06 16:58:17 +02:00
commit 87259dc253
3 changed files with 161 additions and 0 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
DRAFTS = in-tree-hints
OUTPUTS = $(foreach draft,$(DRAFTS),draft-${draft}.html draft-${draft}.xml draft-${draft}.txt)
STAGING = staging.xml
all: $(OUTPUTS)
clean:
rm -f $(OUTPUTS) *.$(STAGING)
draft-%.html: draft-%.xml
xml2rfc $< --html
draft-%.xml: draft-%.md
kramdown-rfc2629 $< > $*.$(STAGING)
mv $*.$(STAGING) $@
draft-%.txt: draft-%.xml
xml2rfc $< --text
.PHONY: all clean