From adc1bd4dad9e36372c5d2a16ed6db5463d60d60c Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Thu, 19 Jul 2018 16:20:10 +0200 Subject: [PATCH] More cosmetics for FUN --- module1/ressources/Makefile | 5 +++-- module2/ressources/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/module1/ressources/Makefile b/module1/ressources/Makefile index 20cfeee..41df172 100644 --- a/module1/ressources/Makefile +++ b/module1/ressources/Makefile @@ -5,8 +5,9 @@ NLINES=10000000 %.html: %.org emacs -batch $^ --funcall org-html-export-to-html - sed -i 's/
/
  • /g' $@ + sed -i -e 's/
    /
  • /g' \ + -e 's/
      /
        /g' $@ mv $@ $@.bak cat $@.bak | grep -A $(NLINES) -e '' | grep -B $(NLINES) -e '
        ' | grep -v -e '' -e '
        ' > $@ rm $@.bak diff --git a/module2/ressources/Makefile b/module2/ressources/Makefile index 0044ba9..94965fe 100644 --- a/module2/ressources/Makefile +++ b/module2/ressources/Makefile @@ -4,8 +4,9 @@ NLINES=10000000 %.html: %.org emacs -batch $^ --funcall org-html-export-to-html - sed -i 's/
        /
      • /g' $@ + sed -i -e 's/
        /
      • /g' \ + -e 's/
          /
            /g' $@ mv $@ $@.bak cat $@.bak | grep -A $(NLINES) -e '' | grep -B $(NLINES) -e '
            ' | grep -v -e '' -e '
            ' > $@ rm $@.bak -- 2.18.1