p≡p I-Ds (IETF Internet-Drafts)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

53 lines
1.4 KiB

#!/usr/bin/make -f
NAME := draft-marques-pep-keyreset
REV := 00
DRAFT := $(NAME)-$(REV)
OUTPUTS = $(DRAFT).xml $(DRAFT).txt $(DRAFT).html
DATE := $(shell date +%Y%m%d)
all: $(OUTPUTS)
$(DRAFT).xml: $(NAME).mkd \
../shared/author_tags/hernani_marques.mkd \
../shared/references/isoc-btn.mkd \
../shared/references/implementation-status.mkd \
../shared/text-blocks/key-words-rfc2119.mkd \
../shared/text-blocks/terms-intro.mkd \
../shared/text-blocks/handshake.mkd \
../shared/text-blocks/trustwords.mkd \
../shared/text-blocks/tofu.mkd \
../shared/text-blocks/mitm.mkd \
../shared/text-blocks/implementation-status.mkd \
# ../shared/ascii-arts/basic-msg-flow.mkd \
# ../shared/author_tags/claudio_luck.mkd \
# ../shared/author_tags/bernie_hoeneisen.mkd \
# ../shared/author_tags/volker_birk.mkd \
# ../shared/ascii-arts/pep_id_system.mkd \
# to match backslash at the end of the previous line
kramdown-rfc2629 $(NAME).mkd > $(DRAFT).xml
$(DRAFT).txt: $(DRAFT).xml
xml2rfc $(DRAFT).xml
$(DRAFT).html: $(DRAFT).xml
xml2rfc --html $(DRAFT).xml
# copy files to review folder
review: distclean $(DRAFT).txt $(DRAFT).html
mkdir -p review ; \
cp -p $(DRAFT).txt review/$(DRAFT)-pre$(DATE).txt ; \
cp -p $(DRAFT).html review/$(DRAFT)-pre$(DATE).html
publish:
../misc/scripts/housekeeping.sh
clean:
rm -f $(OUTPUTS)
distclean:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all