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.

67 lines
1.8 KiB

  1. #!/usr/bin/make -f
  2. NAME := draft-pep-email
  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/hernani_marques.mkd \
  10. ../shared/references/isoc-btn.mkd \
  11. ../shared/references/implementation-status.mkd \
  12. ../shared/ascii-arts/basic-msg-flow.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. artwork/msg-diagram-1.mkd \
  22. artwork/msg-diagram-2.mkd \
  23. artwork/msg-diagram-3.mkd \
  24. artwork/msg-rendering.mkd \
  25. examples/msg-part-decrypted-compat.mkd \
  26. examples/msg-part-decrypted-pef-2-0.mkd \
  27. examples/msg-part-decrypted-pef-2-1_compat-2-0.mkd \
  28. examples/msg-part-decrypted-pef-2-1.mkd \
  29. examples/pef-0.mkd \
  30. examples/pef-1-0_old.mkd \
  31. examples/pef-1-0-text-payload.mkd \
  32. examples/pef-2-1.mkd \
  33. examples/pef-2-0.mkd \
  34. # ../shared/author_tags/bernie_hoeneisen.mkd \
  35. # ../shared/author_tags/volker_birk.mkd \
  36. #../shared/author_tags/claudio_luck.mkd \
  37. # ../shared/ascii-arts/pep_id_system.mkd \
  38. # to match backslash at the end of the previous line
  39. kramdown-rfc2629 $(NAME).mkd > $(DRAFT).xml
  40. $(DRAFT).txt: $(DRAFT).xml
  41. xml2rfc $(DRAFT).xml
  42. $(DRAFT).html: $(DRAFT).xml
  43. xml2rfc --html $(DRAFT).xml
  44. # copy files to review folder
  45. review: distclean $(DRAFT).txt $(DRAFT).html
  46. mkdir -p review ; \
  47. cp -p $(DRAFT).txt review/$(DRAFT)-$(DATE).txt ; \
  48. cp -p $(DRAFT).html review/$(DRAFT)-$(DATE).html
  49. publish:
  50. ../misc/scripts/housekeeping.sh
  51. clean:
  52. rm -f $(OUTPUTS)
  53. distclean:
  54. rm -f -r $(NAME)-* .refcache
  55. .PHONY: clean all