Sha256: 8ef9dc9a8b430353652f3c6ee24a9db6b9fc28c10846ecd79a9a3fbca7bb3609
Contents?: true
Size: 1.17 KB
Versions: 340
Compression:
Stored size: 1.17 KB
Contents
SRC := $(wildcard draft-*.adoc) TXT := $(patsubst %.adoc,%.txt,$(SRC)) XML := $(patsubst %.adoc,%.xml,$(SRC)) HTML := $(patsubst %.adoc,%.html,$(SRC)) NITS := $(patsubst %.adoc,%.nits,$(SRC)) SHELL := /bin/bash # Ensure the xml2rfc cache directory exists locally IGNORE := $(shell mkdir -p $(HOME)/.cache/xml2rfc) all: $(TXT) $(HTML) $(XML) $(NITS) clean: rm -f $(TXT) $(HTML) $(XML) %.xml: %.adoc #bundle exec asciidoctor -r ./lib/glob-include-processor.rb -r asciidoctor-rfc -b rfc2 $^ --trace > $@ bundle exec asciidoctor -r ./lib/glob-include-processor.rb -r asciidoctor-rfc -b rfc2 -a flush-biblio=true $^ --trace > $@ %.xml3: %.adoc #bundle exec asciidoctor -r ./lib/glob-include-processor.rb -r asciidoctor-rfc -b rfc2 $^ --trace > $@ bundle exec asciidoctor -r ./lib/glob-include-processor.rb -r asciidoctor-rfc -b rfc3 -a flush-biblio=true $^ --trace > $@ %.txt: %.xml xml2rfc --text $^ $@ %.html: %.xml xml2rfc --html $^ $@ %.nits: %.txt VERSIONED_NAME=`grep :name: $*.adoc | cut -f 2 -d ' '`; \ cp $^ $${VERSIONED_NAME}.txt && \ idnits --verbose $${VERSIONED_NAME}.txt > $@ && \ cp $@ $${VERSIONED_NAME}.nits && \ cat $${VERSIONED_NAME}.nits open: open *.txt
Version data entries
340 entries across 334 versions & 4 rubygems