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.

47 lines
1.2 KiB

  1. #!/usr/bin/make -f
  2. NAME := draft-symeonidis-medup-requirements
  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/iraklis_symeonidis.mkd \
  10. ../shared/text-blocks/key-words-rfc2119.mkd \
  11. ../shared/text-blocks/terms-intro.mkd \
  12. ../shared/text-blocks/handshake.mkd \
  13. ../shared/text-blocks/trustwords.mkd \
  14. ../shared/text-blocks/tofu.mkd \
  15. ../shared/text-blocks/mitm.mkd \
  16. ../shared/ascii-arts/basic-msg-flow.mkd \
  17. # ../shared/references/isoc-btn.mkd \
  18. # ../shared/references/implementation-status.mkd \
  19. # ../shared/text-blocks/implementation-status.mkd \
  20. # ../shared/ascii-arts/pep_id_system.mkd \
  21. # to match backslash at the end of the previous line
  22. kramdown-rfc2629 $(NAME).mkd > $(DRAFT).xml
  23. $(DRAFT).txt: $(DRAFT).xml
  24. xml2rfc $(DRAFT).xml
  25. $(DRAFT).html: $(DRAFT).xml
  26. xml2rfc --html $(DRAFT).xml
  27. # copy files to review folder
  28. review: distclean $(DRAFT).txt $(DRAFT).html
  29. mkdir -p review ; \
  30. cp -p $(DRAFT).txt review/$(DRAFT)-pre$(DATE).txt ; \
  31. cp -p $(DRAFT).html review/$(DRAFT)-pre$(DATE).html
  32. clean:
  33. rm -f $(OUTPUTS)
  34. distclean:
  35. rm -f -r $(NAME)-* .refcache
  36. .PHONY: clean all