Makefile 425 B

1234567891011121314151617
  1. # Produce sensys-abstract compliant PDFs from all Markdown files in a directory
  2. # Manuel Moraga | [email protected]
  3. # List files to be made
  4. PDFS := $(patsubst %.md,%.pdf,$(wildcard *.md))
  5. all : $(PDFS)
  6. # Accepts PDF target with markdown syntax, makes them using pandoc
  7. %.pdf : %.md
  8. pandoc $< -o $@ --template=shortpaper.latex --filter pandoc-citeproc --csl=acm-sig-proceedings.csl
  9. clean :
  10. rm $(PDFS)
  11. rebuild: clean all