From 81cf462e10b50b202fbbf8bc464d5e49d498b999 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 5 Feb 2023 07:07:35 +0100 Subject: [PATCH] Presentation: compile the presentation in a build directory. --- docs/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/makefile b/docs/makefile index 19cbd25..17f5d6b 100644 --- a/docs/makefile +++ b/docs/makefile @@ -9,11 +9,12 @@ CATPOINT = $(PWD)/catpoint/catpoint MD2POINT = $(PWD)/pointtools/bin/md2point PRESENTATION = $(PWD)/libipc.md -BDIR=tmp +BDIR=build clean: - @-rm $(BDIR)/*.txt 2>/dev/null || true + @-rm -r $(BDIR) 2>/dev/null || true generate: + @test -d $(BDIR) || mkdir $(BDIR) @cd $(BDIR) && (cat $(PRESENTATION) | $(MD2POINT)) display: