|
| 1 | +SOURCES= menu.pdf.md menu.md folders.md Nsteps.md arch.md meta_input.md layer.md patching_kernel.md building_kernel.md contribute.mb |
| 2 | + |
| 3 | +DEST=menu.html folders.html Nsteps.html arch.html meta_input.html layer.html patching_kernel.html building_kernel.html contribute.html menu.pdf folders.pdf Nsteps.pdf arch.pdf meta_input.pdf yocto_tutorial.pdf layer.pdf patching_kernel.pdf building_kernel.pdf contribute.pdf |
| 4 | + |
| 5 | +all: $(DEST) |
| 6 | + |
| 7 | +menu.html: menu.md |
| 8 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 9 | + |
| 10 | +folders.html: folders.md |
| 11 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 12 | + |
| 13 | +Nsteps.html: Nsteps.md |
| 14 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 15 | + |
| 16 | +arch.html: arch.md |
| 17 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 18 | + |
| 19 | +meta_input.html: meta_input.md |
| 20 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 21 | + |
| 22 | +layer.html: layer.md |
| 23 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 24 | + |
| 25 | +patching_kernel.html: patching_kernel.md |
| 26 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 27 | + |
| 28 | +building_kernel.html: building_kernel.md |
| 29 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 30 | + |
| 31 | +contribute.html: contribute.md |
| 32 | + pandoc --self-contained -s -t slidy -o $@ $< |
| 33 | + |
| 34 | +menu.pdf: menu.pdf.md |
| 35 | + pandoc --self-contained -s -o $@ $< |
| 36 | + |
| 37 | +folders.pdf: folders.md |
| 38 | + pandoc --self-contained -s -o $@ $< |
| 39 | + |
| 40 | +Nsteps.pdf: Nsteps.md |
| 41 | + pandoc --self-contained -s -o $@ $< |
| 42 | + |
| 43 | +arch.pdf: arch.md |
| 44 | + pandoc --self-contained -s -o $@ $< |
| 45 | + |
| 46 | +meta_input.pdf: meta_input.md |
| 47 | + pandoc --self-contained -s -o $@ $< |
| 48 | + |
| 49 | +layer.pdf: layer.md |
| 50 | + pandoc --self-contained -s -o $@ $< |
| 51 | + |
| 52 | +patching_kernel.pdf: patching_kernel.md |
| 53 | + pandoc --self-contained -s -o $@ $< |
| 54 | + |
| 55 | +building_kernel.pdf: building_kernel.md |
| 56 | + pandoc --self-contained -s -o $@ $< |
| 57 | + |
| 58 | +contribute.pdf: contribute.md |
| 59 | + pandoc --self-contained -s -o $@ $< |
| 60 | + |
| 61 | +yocto_tutorial.pdf: menu.pdf folders.pdf Nsteps.pdf arch.pdf meta_input.pdf layer.pdf patching_kernel.pdf building_kernel.pdf contribute.pdf |
| 62 | + gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$@ menu.pdf Nsteps.pdf folders.pdf arch.pdf meta_input.pdf layer.pdf patching_kernel.pdf building_kernel.pdf contribute.pdf |
| 63 | + |
| 64 | +clean: |
| 65 | + rm -f *.html *.pdf |
0 commit comments