THEME = debian INCDIR = ui EXT = s5.html .PHONY: all all: slides.$(EXT) @chmod -R a+rX,og-w $(PWD) %.$(EXT): %.rst rst2s5 --stylesheet=$(INCDIR)/docutils.css --link-stylesheet \ --theme-url=$(INCDIR)/$(THEME) --current-slide $< \ | sed -e '/
© Martin F. Krafft
' \ -e 's,$(INCDIR)/$(THEME)/\(slides.js\|\(opera\|outline\|print\)\.css\),$(INCDIR)/base/\1,' \ > $@ .PHONY: clean clean: rm -f $(wildcard *.$(EXT)) rm -f $(wildcard *~) .PHONY: view view: slides.$(EXT) sensible-browser $(PWD)/$<