# HG changeset patch # User atton # Date 1486973710 -32400 # Node ID d731f2d0947dd4a0ecd05cb82509211b4f65adab # Parent 5cca315b0230297e49b5917092c46ed946806ffc Add Makefile diff -r 5cca315b0230 -r d731f2d0947d presentation/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/presentation/Makefile Mon Feb 13 17:15:10 2017 +0900 @@ -0,0 +1,31 @@ +# Settings +TARGET=slide +CONVERT=pdf2svg + +vpath pdf images +IMAGES=$(wildcard images/*.pdf) +IMAGES_FOR_SLIDE=$(subst .pdf,.svg,$(IMAGES)) + + +# dependencies +$(TARGET).html : $(TARGET).md $(IMAGES_FOR_SLIDE) + slideshow build -t s6cr $< + +%.svg: %.pdf + $(CONVERT) $< $@ + + +# commands +.PHONY : clean all open remake + +clean: + rm -rf *.html s6 scripts + +all: $(TARGET).html + +open: $(TARGET).html + open $(TARGET).html + +remake: + make clean + make all diff -r 5cca315b0230 -r d731f2d0947d presentation/slide.html --- a/presentation/slide.html Mon Feb 13 16:01:38 2017 +0900 +++ b/presentation/slide.html Mon Feb 13 17:15:10 2017 +0900 @@ -86,7 +86,7 @@ @@ -338,7 +338,7 @@
  • ノーマルレベルのコードを検証用に変更せず検証可能
  • -

    akashaPut

    +

    akashaPut

    @@ -477,19 +477,18 @@ +
    main : ds1
    +main = goto cs0 (record {a = 100 ; b = 50})
    +
    +
    main : Meta
    +main = gotoMeta push cs0 (record {context = (record {a = 100 ; b = 50 ; c = 70}) ; c' = 0 ; next = (N.cs id)})
    +
    +
    diff -r 5cca315b0230 -r d731f2d0947d presentation/slide.pdf.html --- a/presentation/slide.pdf.html Mon Feb 13 16:01:38 2017 +0900 +++ b/presentation/slide.pdf.html Mon Feb 13 17:15:10 2017 +0900 @@ -70,7 +70,7 @@ @@ -322,7 +322,7 @@
  • ノーマルレベルのコードを検証用に変更せず検証可能
  • -

    akashaPut

    +

    akashaPut

    @@ -461,19 +461,18 @@ +
    main : ds1
    +main = goto cs0 (record {a = 100 ; b = 50})
    +
    +
    main : Meta
    +main = gotoMeta push cs0 (record {context = (record {a = 100 ; b = 50 ; c = 70}) ; c' = 0 ; next = (N.cs id)})
    +
    +