]> Dogcows Code - chaz/talk-introduction-to-psgi/blobdiff - Makefile
fix up for presentation
[chaz/talk-introduction-to-psgi] / Makefile
index eb0b95f79ef59f90571d72a102a7e45abef1d148..121bb74d666a903dc01611fb3ab8566fae084357 100644 (file)
--- 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
 
This page took 0.021561 seconds and 4 git commands to generate.