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.

51 lines
1.4 KiB

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