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.

57 lines
1.7 KiB

3 years ago
  1. #!/usr/bin/make -f
  2. NAME := draft-hoeneisen-pep-keysync
  3. REV := 00
  4. DRAFT := $(NAME)-$(REV)
  5. OUTPUTS = $(DRAFT).xml $(DRAFT).txt $(DRAFT).html
  6. DATE := $(shell date +%Y%m%d)
  7. all: $(OUTPUTS)
  8. $(DRAFT).xml: $(NAME).mkd \
  9. ../shared/author_tags/bernie_hoeneisen.mkd \
  10. ../shared/author_tags/hernani_marques.mkd \
  11. ../shared/references/isoc-btn.mkd \
  12. ../shared/references/implementation-status.mkd \
  13. ../shared/text-blocks/key-words-rfc2119.mkd \
  14. ../shared/text-blocks/terms-intro.mkd \
  15. ../shared/text-blocks/handshake.mkd \
  16. ../shared/text-blocks/trustwords.mkd \
  17. ../shared/text-blocks/tofu.mkd \
  18. ../shared/text-blocks/mitm.mkd \
  19. ../shared/text-blocks/implementation-status.mkd \
  20. ../shared/fence-line.mkd \
  21. ../shared/ascii-arts/sync/form-device-group.atxt \
  22. ../shared/ascii-arts/sync/form-device-group_reject.atxt \
  23. ../shared/ascii-arts/sync/form-device-group_cancel.atxt \
  24. ../shared/ascii-arts/sync/join-device-group_reject.atxt \
  25. ../shared/ascii-arts/sync/join-device-group_cancel.atxt \
  26. ../shared/ascii-arts/sync/join-device-group.atxt \
  27. ../shared/text-blocks/more-info-following-code.mkd \
  28. # ../shared/author_tags/claudio_luck.mkd \
  29. # ../shared/ascii-arts/basic-msg-flow.mkd \
  30. # ../shared/ascii-arts/pep_id_system.mkd \
  31. # to match backslash at the end of the previous line
  32. kramdown-rfc2629 $(NAME).mkd > $(DRAFT).xml
  33. $(DRAFT).txt: $(DRAFT).xml
  34. xml2rfc $(DRAFT).xml
  35. $(DRAFT).html: $(DRAFT).xml
  36. xml2rfc --html $(DRAFT).xml
  37. # copy files to review folder
  38. review: distclean $(DRAFT).txt $(DRAFT).html
  39. mkdir -p review ; \
  40. cp -p $(DRAFT).txt review/$(DRAFT)-pre$(DATE).txt ; \
  41. cp -p $(DRAFT).html review/$(DRAFT)-pre$(DATE).html
  42. clean:
  43. rm -f $(OUTPUTS)
  44. distclean:
  45. rm -f -r $(NAME)-* .refcache
  46. .PHONY: clean all