X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftalk-introduction-to-psgi;a=blobdiff_plain;f=Makefile;h=0f98a52f0386ff2e4468647f24a33639a6298fca;hp=eb0b95f79ef59f90571d72a102a7e45abef1d148;hb=c3702aa22054180570f09c504f29b7a3b183225b;hpb=499f996ae29359b7fd5179cad7e6cb367023354d diff --git a/Makefile b/Makefile index eb0b95f..0f98a52 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ SLIDES = introduction-to-psgi BROWSER = chrome DOT = dot +PLACKUP = plackup dotfiles = $(shell find . -iname '*.dot') svgfiles = $(patsubst %.dot,%.svg,$(dotfiles)) @@ -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