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.

Makefile 244B

12345678910111213
  1. .DEFAULT_GOAL := current
  2. DATE := `date +'%m-%d-%Y'`
  3. HEADER := ./header.yml
  4. MD_IN := "./md/$(DATE).md"
  5. PDF_OUT := "./pdfs/$(DATE).pdf"
  6. new:
  7. touch $(MD_IN)
  8. current:
  9. cat $(HEADER) $(MD_IN) | pandoc -o $(PDF_OUT)
  10. @echo "$(PDF_OUT) created."