X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=Makefile;h=121bb74d666a903dc01611fb3ab8566fae084357;hb=HEAD;hp=eb0b95f79ef59f90571d72a102a7e45abef1d148;hpb=499f996ae29359b7fd5179cad7e6cb367023354d;p=chaz%2Ftalk-introduction-to-psgi diff --git a/Makefile b/Makefile index eb0b95f..121bb74 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,12 @@ SLIDES = introduction-to-psgi BROWSER = chrome DOT = dot +PLACKUP = plackup dotfiles = $(shell find . -iname '*.dot') svgfiles = $(patsubst %.dot,%.svg,$(dotfiles)) -all: $(svgfiles) +all: offline clean: rm -f slides-offline.html remark.min.js $(SLIDES).pdf $(svgfiles) @@ -18,6 +19,9 @@ pdf: $(SLIDES).pdf run: $(svgfiles) $(BROWSER) slides.html +run-app: offline + $(PLACKUP) + run-offline: offline $(BROWSER) slides-offline.html @@ -34,5 +38,5 @@ slides-offline.html: slides.html remark.min.js: curl -Lo $@ https://gnab.github.io/remark/downloads/remark-latest.min.js -.PHONY: all clean offline pdf run run-offline +.PHONY: all clean offline pdf run run-app run-offline