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.

50 lines
1.3 KiB

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