Presentation: explain how to display it.
parent
9d69afe3ae
commit
c394c854f4
|
@ -1,7 +1,9 @@
|
|||
## Before starting
|
||||
|
||||
This file is a presentation.
|
||||
Better get the point tools here: https://git.baguette.netlib.re/Baguette/pointtools
|
||||
This file is a presentation based on the point tools:
|
||||
https://git.baguette.netlib.re/Baguette/pointtools
|
||||
|
||||
To see it, type 'make'.
|
||||
|
||||
TODO: Explain the problem
|
||||
TODO: Explain the solution
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
all: get-point-tools clean generate display
|
||||
|
||||
BAGUETTE=https://git.baguette.netlib.re/Baguette
|
||||
get-point-tools:
|
||||
@test -d catpoint || (git clone $(BAGUETTE)/catpoint.git && cd catpoint && make)
|
||||
@test -d pointtools || (git clone $(BAGUETTE)/pointtools.git && cd pointtools && make)
|
||||
|
||||
CATPOINT = $(PWD)/catpoint/catpoint
|
||||
MD2POINT = $(PWD)/pointtools/bin/md2point
|
||||
PRESENTATION = $(PWD)/libipc.md
|
||||
|
||||
BDIR=tmp
|
||||
clean:
|
||||
@-rm $(BDIR)/*.txt 2>/dev/null || true
|
||||
|
||||
generate:
|
||||
@cd $(BDIR) && (cat $(PRESENTATION) | $(MD2POINT))
|
||||
|
||||
display:
|
||||
@cd $(BDIR) && $(CATPOINT) *.txt
|
||||
|
||||
help:
|
||||
@echo "get-point-tools: get all relevant point tools (catpoint and md2point)"
|
||||
@echo
|
||||
@echo "generate: convert markdown into 'point' documents"
|
||||
@echo "display: run catpoint on all 'point' document"
|
||||
@echo "clean: remove all 'point' files"
|
||||
@echo
|
||||
@echo "By default: get point tools, generate then display the presentation"
|
|
@ -1,10 +0,0 @@
|
|||
all: clean generate display
|
||||
|
||||
clean:
|
||||
-rm ./*.txt 2>/dev/null || true
|
||||
|
||||
generate:
|
||||
cat ../libipc.md | md2point
|
||||
|
||||
display:
|
||||
catpoint *.txt
|
Reference in New Issue