From d2038635794ad921a81ef58af269a6469d1e111d Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Thu, 19 Jul 2018 16:06:17 +0200 Subject: [PATCH] Update Makefile to ease Laurence's life --- module1/ressources/Makefile | 5 +++++ module2/ressources/Makefile | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/module1/ressources/Makefile b/module1/ressources/Makefile index 08aa5bd..0484f78 100644 --- a/module1/ressources/Makefile +++ b/module1/ressources/Makefile @@ -1,5 +1,10 @@ all: introduction_to_markdown.html + +NLINES=10000000 + %.html: %.org emacs -batch $^ --funcall org-html-export-to-html sed -i 's/
' | grep -B $(NLINES) -e '
' | grep -v -e '' -e '
' > $@ diff --git a/module2/ressources/Makefile b/module2/ressources/Makefile index 8a577cb..2e246eb 100644 --- a/module2/ressources/Makefile +++ b/module2/ressources/Makefile @@ -1,5 +1,9 @@ all: emacs_orgmode.html jupyter.html rstudio.html +NLINES=10000000 + %.html: %.org emacs -batch $^ --funcall org-html-export-to-html sed -i 's/
' | grep -B $(NLINES) -e '
' | grep -v -e '' -e '
' > $@ -- 2.18.1