Skip to content

Commit

Permalink
Add Make task to regenerate PDF files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis committed Jul 3, 2017
1 parent 9932116 commit e792226
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pdfs := $(wildcard tmp/*.pdf)

all: $(pdfs)

%.pdf: %.out
@gropdf -d < $^ > $@

watch:; @watchman -- trigger . _ 'tmp/*.out' -- make all
unwatch:; @watchman -- watch-del .

.PHONY: watch unwatch

0 comments on commit e792226

Please sign in to comment.